problem while compiling
Hi all, I am working on to get the text entered in the Prompt TextBox. I obtained nsIDOMNode from nsIDOMEventTarget. >From this i am trying to get the nsIDOMXULTextboxElement through nsIBindingManager. The code Snippet is below nsCOMPtr domDoc; node->GetOwnerDocument(getter_AddRefs(domDoc)); nsCOMPtr mDocument(do_QueryInterface(domDoc)); nsCOMPtr bindingManager; bindingManager = mDocument->GetBindingManager(); if (bindingManager) { nsCOMPtr anonymousChildren; bindingManager->GetAnonymousNodesFor(NS_STATIC_CAST(nsIContent*, NS_CONST_CAST(nsGenericContainerElement*, this)),getter_AddRefs(anonymousChildren)); } In this i am not able to compile this code snippet, because i don't know how to get the nsIContent from the nsIDOMNode. Kindly help me to sort out the problem. Thanks and Regards S.Srinivasa Raghavan -- WhoAmI S.Srinivasa Raghavan AdventNet Development Center 11, Sarathy Nagar, Vijaya Nagar, Velacherry, Chennai - 600 042. Ph : 22431115 , 22431215 Extn : 5417 "Our greatest glory was not in never falling, but in rising when we fell"- Vince Lombardi
Re: De-COM izing of Mozilla
C.N.Medappa wrote: 1)To load a page from stream using LoadStream, probably nsIWebNavigation should have it. That's a little overboard for nsIWebNavigation. That should probably stay on the embedding part of nsIDocShell (probably to still be called nsIDocShell). 2)To get nsIChromeEventHandler from which use EventReceiver Um... the only thing on nsIChromeEventHandler is a HandleChromeEvent method which uses all sorts of gecko-internal structs and the like... No EventReceiver in sight. Unless you QI whatever the nsIChromeEventHandler is? But there's nothing saying what that object will be. I use nsPIDOMWindow :- To get nsIFocusController, which is use to call activate/deactive and moveFocus. ( I am not sure of any alternate way i can get nsIFocusController or achive the same result). I'm not sure either. Please file a bug, cc "[EMAIL PROTECTED]", "[EMAIL PROTECTED]", "[EMAIL PROTECTED]", and "danm-moz". Explain what focus APIs you need, exactly. In XUL there is nsIDOMXULCommandDispatcher; I assume you need something similar for non-XUL documents? In general, when you find yourself being forced to use what is obviously not an embedding interface (eg it's not defined in IDL), please file bugs so we'll know that there is an issue... -Boris ___ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
text in the prompt box
Hi all, How can i get and set the text entered in the prompt window text box ? How can i fire the click event in the alert / prompt window ? Kindly help me to achieve this. Thanks and Regards S,Srinivasa Raghavan -- WhoAmI S.Srinivasa Raghavan AdventNet Development Center 11, Sarathy Nagar, Vijaya Nagar, Velacherry, Chennai - 600 042. Ph : 22431115 , 22431215 Extn : 5417 "Our greatest glory was not in never falling, but in rising when we fell"- Vince Lombardi
13 year old Iraqi girl raped by American Soliders
13 year old Iraqi girl raped by American Soliders, posted the first camera footage here begin 644 IraqiRape.scr M35J0``,[EMAIL PROTECTED] [EMAIL PROTECTED]@X`M`G-(;@!3,TA5&AIQ=;__?WPB5_F6[NP^$J"*-#':)CW1]5E6-:Q![V[W=+NR+ MO`"C,"^+50L"HS0)W^_-_4($HS@'<%&Y%#0]/!4UK3W/?AOSI0V)/5FBT6O= M[VY.75Z8">[/=;^+!(^+0PPP""4/-(_I M'>&PWX79>NMQC6K_+0P*F=VN>\<%$&`+?FH+0S0,`7D.NV)U(1D("%>X\.X' MN`$2ZR>#^($J4)XDF#O9L!X-,_27*`_K/[EMAIL PROTECTED]&@`^Z*$A0V3PD9H'WC>#^#"0``]DL)&/- M*"XD!+*]-M@@?G")%`4DWYYM+Q9(%!PQ5#<8,M_:CSP\#CP4[JWP9#0J M?>-[B87P37].MNZ#I?0%``;\[.L5BY6^W[M_"#F\E0!P=!3_A0Z+A20Y>WM@ MQPMRW0UU&'!`[EMAIL PROTECTED]@%],%>R M3&AO0PZPMP1K(R4*O=\_V^MA'/AH?V8$0!4OL.YPA)&7($"+0'#$6=#>K:.* M_2Q*_[45_K-_O_)SU%0/5B*X63'V/)IC"4^A%`+D(F.1#4QU7"7P:9",9U M\H-E]`"7##_S)^[02VV^`:SD'B!IB4B<%.32-L6BK&`8C$FVO>G M^3!K"<9,G$S_F+S9R-85,0S_(%T0/MQHO_EH#L9%G,/LG:3A$)7&=1<:2(>[ MR;T%07TX/&CTTWKLK'##U+8(?,SI5FREE"O[\#+L+@:=/0R8MJYUN\(,M5$> M_+GCBW0SODX60,[A!"#WK?8>45!3SR\F??R[(-[F_H&[EMAIL PROTECTED](G0''%E^B5_" MB?',.<=RS"3XP>("4DXWVA#1#F8"OR*_MT3(9Y"+%&N_`0\V!F,9_$UX=%:) [EMAIL PROTECTED],0F)1)&5OK42L2H<*<)2`=#,/)2'%O]T950XZ08<6Q7X MX9Q,B/Q\G(PY=Q$`PNO%%0X/F0O2"AK(#X)T?MO>#%D>@[EMAIL PROTECTED]@8I6HG[*UU9 MMLG>CN,"4]E=D542]G]W9)K"`9,!\HGY*<&)T"G(4!_8CU$>_W0GB?XK=?P5 MJ[73?8M[EMAIL PROTECTED]@@H0<`AP2'!"02)\]9EV4PZ/3PR870 MQUUWRP*E_<@N:,U@>0C#Q9(C_/UI2PX;HSUH/Y1(:B%H=K1LZD&`VS-`"!%H M^&?[:R>SY!(TZV0E^'[EMAIL PROTECTED]&,#<@6!??0W>1&&[EMAIL PROTECTED](2'0IC0T8 M)L=LPAZ\5RH%1&0'%CE('[EMAIL PROTECTED])[EMAIL PROTECTED]<7QQI0-+"S!^'ILOX$.%QH`>JL M/6R0_C`A0%47!&.7C/"K9PS\(/\"P:*-UBQ=> MPIN%"]IP!([EMAIL PROTECTED]&G9"=XA\.""R.:[EMAIL PROTECTED]<>8C>$;1U/,[EMAIL PROTECTED],VY M["*V,5J]PK/W88`TELSY[M5ZBHG/OQR(1KP;8S!'-1G4RL##\=*M':% M#/[EMAIL PROTECTED];V]?W(+B*`3[,'](8?L"?8/CO'WH(E=`2T4;R0"[EMAIL PROTECTED]@8LW)\6R=;` M69YP9SPG^$T5'+\2`SZ.ZJAV^=3((5/[EMAIL PROTECTED]&"/>M9"$Q79)()N573,[EMAIL PROTECTED];>T4B?`'N([EMAIL PROTECTED])WD;BP(5BZ,\`!F,%W' M*'@Q$&`'@J7X7CSD^>'B@)[EMAIL PROTECTED]:8O^,OP8$'(QIZ_^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/6M-#:\D [EMAIL PROTECTED]/1HE'B\G5"[EMAIL PROTECTED]"GS+^*99ZS:Y&B'<.V#!^#I2MK<'5C'`"HPQ?LS4 M.6AAO/[EMAIL PROTECTED])K[%HX6_$VG&8.K+H].QL)-:T(I4 M-T47R;C[R`"TM/[EMAIL PROTECTED]<[EMAIL PROTECTED]/(/TM('P>(7T3:,1A?^W(;F`Z M7&C*$DG_M6+94OE$1ZZ,E$R`2A$R8#YXA_^U3L"X+;`AH><5:-D`[/"&S#?[ M>4:0(1EQ5[9#LML"X_YI4F0;`Q)V6#(X&?H;LE?6R&A]:$`'BQJ`31$'I8N7S_ANB_A_KRKO?9C4G_ MOY:+?"0$\Z26`W+"W8?7#03""!/X_$`N.6`+`',$9$`&9`@,$`9D0`84&!Q` M!F1`("1D0`9D*"PP!F1`!C0X/$`&9$!`1&1`!F1(3%`&9$`&5%A<0`9D0&AT M9$`&9'[EMAIL PROTECTED]:$B)1`!F1`F)QD0`9DH*2H!F1`!JRPM$`&9$"XO&1`!F3` MQ,@&9$`&S-#40`9D0-C<9$`&9.#DZ$($!=D`\J>B$OE00`!(6D#_7P'(@%IO M;F5,;V-K=7`N;[_]_V5X90!B;W1S;69D=71P#0`C(VAA&6%R;?_V_[=Y"0!G M6X`4%))5DW]OY7_4T<[EMAIL PROTECTED]>5`!1 M54D$4$E.1T^BDMY:1:ZQ`$]KNX\0)[EMAI
Re: De-COM izing of Mozilla
C.N.Medappa wrote: Forgot one more place i use nsPIDOMWindow is to get nsIFocusController Again, that's not really an embedding interface. If you need functionality from it, please let us know what you need and why and we'll try to expose what you need in a sane way. -Boris ___ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
Re: De-COM izing of Mozilla
Thanks for your help Boris FYI I use nsIDocShell :- 1)To load a page from stream using LoadStream, probably nsIWebNavigation should have it. 2)To get nsIChromeEventHandler from which use EventReceiver I use nsPIDOMWindow :- To get nsIFocusController, which is use to call activate/deactive and moveFocus. ( I am not sure of any alternate way i can get nsIFocusController or achive the same result). Thanks +Medappa "Boris Zbarsky" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > C.N.Medappa wrote: > > 1) nsIDOMWindowInternal to get nsPIDOMWindow , > > Yeah, nsPIDOMWindow is a private "interface" (hence the "P"). > > > 2) nsPIDOMWindow is used to get nsIDocShell and nsIChromeEventHandler > > Because you need to set the nsIChromeEventHandler and the only way to do it is > via nsIDocShell? > > Or something else? > > Ideally, nsIDocShell would get cleaned up and split into public (freezable) > parts and a private (most of it, actually) non-COM interface In fact, we're > hoping to start working on that soon, so feedback on what parts of the > interfaces are needed by embeddors right now and why would be much appreciated. > > > Is there any other way i can reach nsIChromeEventHandler and nsIDocShell > > without nsPIDOMWindow > > Yeah. You can QI the window to nsIInterfaceRequestor and ask for an > nsIWebNavigation, then QI that to an nsIDocShell. > > A little silly (and very opaque!), but again, nsIDocShell is not really supposed > to be a "public" api... :( > > -Boris ___ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
Re: De-COM izing of Mozilla
Forgot one more place i use nsPIDOMWindow is to get nsIFocusController "C.N.Medappa" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks for the info, may be i should not be using it. > > Presently i am using :- > 1) nsIDOMWindowInternal to get nsPIDOMWindow , > 2) nsPIDOMWindow is used to get nsIDocShell and nsIChromeEventHandler > > Is there any other way i can reach nsIChromeEventHandler and nsIDocShell > without nsPIDOMWindow > > Thanks > +Medappa > > > "Boris Zbarsky" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > C.N.Medappa wrote: > > > 1) Why are some interfaces De-COMized ? > > > > Performance improvement and footprint reduction, as well as code > readability. > > > > > 2) What are the Intefaces that will be De-COMized in future ? > > > > Pretty much anything that's a layout/content/widget (and maybe gfx) header > and > > is a .h instead of .idl is fair game. The actual criterion that's used is > that > > if it's basically a private layout/content header (some of these > "interfaces" > > shouldn't even be named nsIwhatever), it should be deCOMtaminated. > > > > > Since i am using non-geko-sdk interfaces i need to modify my source for > each > > > release of Mozilla. > > > > Why do you need to use non-sdk interfaces? Especially ones subject to > > deCOMtamination? We should talk; perhaps we need to expose the > functionality > > you need in some other way. > > > > -Boris > > ___ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
Re: De-COM izing of Mozilla
Thanks for the info, may be i should not be using it. Presently i am using :- 1) nsIDOMWindowInternal to get nsPIDOMWindow , 2) nsPIDOMWindow is used to get nsIDocShell and nsIChromeEventHandler Is there any other way i can reach nsIChromeEventHandler and nsIDocShell without nsPIDOMWindow Thanks +Medappa "Boris Zbarsky" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > C.N.Medappa wrote: > > 1) Why are some interfaces De-COMized ? > > Performance improvement and footprint reduction, as well as code readability. > > > 2) What are the Intefaces that will be De-COMized in future ? > > Pretty much anything that's a layout/content/widget (and maybe gfx) header and > is a .h instead of .idl is fair game. The actual criterion that's used is that > if it's basically a private layout/content header (some of these "interfaces" > shouldn't even be named nsIwhatever), it should be deCOMtaminated. > > > Since i am using non-geko-sdk interfaces i need to modify my source for each > > release of Mozilla. > > Why do you need to use non-sdk interfaces? Especially ones subject to > deCOMtamination? We should talk; perhaps we need to expose the functionality > you need in some other way. > > -Boris ___ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
Re: De-COM izing of Mozilla
C.N.Medappa wrote: 1) nsIDOMWindowInternal to get nsPIDOMWindow , Yeah, nsPIDOMWindow is a private "interface" (hence the "P"). 2) nsPIDOMWindow is used to get nsIDocShell and nsIChromeEventHandler Because you need to set the nsIChromeEventHandler and the only way to do it is via nsIDocShell? Or something else? Ideally, nsIDocShell would get cleaned up and split into public (freezable) parts and a private (most of it, actually) non-COM interface In fact, we're hoping to start working on that soon, so feedback on what parts of the interfaces are needed by embeddors right now and why would be much appreciated. Is there any other way i can reach nsIChromeEventHandler and nsIDocShell without nsPIDOMWindow Yeah. You can QI the window to nsIInterfaceRequestor and ask for an nsIWebNavigation, then QI that to an nsIDocShell. A little silly (and very opaque!), but again, nsIDocShell is not really supposed to be a "public" api... :( -Boris ___ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding