2 * Copyright 2005-2007 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 * This file is not a typical idl file. Interfaces in this file are XPCOM
22 * interfaces (NOT MSCOM!), but we generate the header file with WIDL
23 * compatible with XPCOM, usable in C code.
26 cpp_quote
("#define GECKO_VERSION \"0.1.0\"")
27 cpp_quote
("#define GECKO_VERSION_STRING \"Wine Gecko \" GECKO_VERSION")
31 typedef HRESULT nsresult
;
32 typedef ULONG nsrefcnt
;
37 typedef REFIID nsIIDRef
;
38 typedef nsIIDRef nsCIDRef
;
40 typedef void** nsQIResult
;
41 typedef WCHAR PRUnichar
;
42 typedef ULONG PRUint32
;
44 typedef WORD PRUint16
;
45 typedef INT16 PRInt16
;
48 typedef LARGE_INTEGER PRInt64
;
49 typedef ULARGE_INTEGER PRUint64
;
50 typedef PRUint64 DOMTimeStamp
;
51 typedef PRUint32 nsLoadFlags
;
67 typedef nsCStringContainer nsACString
;
68 typedef nsStringContainer nsAString
;
70 interface nsIWebBrowserChrome
;
71 interface nsILoadGroup
;
73 interface nsIDOMDocument
;
74 interface nsIDOMEvent
;
76 interface nsISelectionController
;
77 interface nsITransactionManager
;
78 interface nsITransaction
;
79 interface nsIInlineSpellChecker
;
80 interface nsIOutputStream
;
81 interface nsIEditorObserver
;
82 interface nsIEditActionListener
;
83 interface nsIDocumentStateListener
;
84 interface nsIDOMCSSStyleSheet
;
90 uuid(00000000-0000-0000-c000
-000000000046),
95 nsresult QueryInterface
(nsIIDRef riid
, nsQIResult result
);
100 /* Currently we don't need a full declaration of these interfaces */
101 typedef nsISupports nsISHistory
;
102 typedef nsISupports nsIWidget
;
103 typedef nsISupports nsIDOMAbstractView
;
104 typedef nsISupports nsIHttpHeaderVisitor
;
105 typedef nsISupports nsIDOMBarProp
;
106 typedef nsISupports nsIDOMWindowCollection
;
107 typedef nsISupports nsIPrompt
;
108 typedef nsISupports nsIAuthPrompt
;
109 typedef nsISupports nsIDOMNamedNodeMap
;
110 typedef nsISupports nsIDOMAttr
;
111 typedef nsISupports nsIDOMDocumentType
;
112 typedef nsISupports nsIDOMDOMImplementation
;
113 typedef nsISupports nsIDOMCDATASection
;
114 typedef nsISupports nsIDOMProcessingInstruction
;
115 typedef nsISupports nsIDOMEntityReference
;
116 typedef nsISupports nsIDOMHTMLFormElement
;
117 typedef nsISupports nsIDOMHTMLOptionsCollection
;
118 typedef nsISupports nsIWebProgressListener
;
119 typedef nsISupports nsIDOMCSSValue
;
120 typedef nsISupports nsIPrintSession
;
121 typedef nsISupports nsIControllerCommandTable
;
122 typedef nsISupports nsIPrincipal
;
123 typedef nsISupports nsIAtom
;
124 typedef nsISupports nsISupportsArray
;
125 typedef nsISupports nsIContentFilter
;
126 typedef nsISupports nsIDOMMediaList
;
127 typedef nsISupports nsIDOMHTMLTableCaptionElement
;
128 typedef nsISupports nsIDOMHTMLTableSectionElement
;
132 uuid(8bb35ed9
-e332
-462d
-9155-4a002ab5c958
),
136 interface nsIServiceManager
: nsISupports
138 nsresult GetService
(nsCIDRef aClass
, nsIIDRef aIID
, void **result
);
139 nsresult GetServiceByContractID
(const char *aContractID
, nsIIDRef aIID
, void **result
);
140 nsresult IsServiceInstantiated
(nsCIDRef aClass
, nsIIDRef aIID
, BOOL
*_retval
);
141 nsresult IsServiceInstantiatedByContractID
(const char *aContractID
, nsIIDRef aIID
, BOOL
*_retval
);
146 uuid(00000001-0000-0000-c000
-000000000046),
150 interface nsIFactory
: nsISupports
152 nsresult CreateInstance
(nsISupports
*aOuter
, const nsIID
*iid
, void **result
);
153 nsresult LockFactory
(PRBool lock
);
158 uuid(db242e01
-e4d9
-11d2
-9dde
-000064657374),
162 interface nsIObserver
: nsISupports
164 nsresult Observe
(nsISupports
*aSubject
, const char *aTopic
, const PRUnichar
*aData
);
169 uuid(a88e5a60
-205a
-4bb1
-94e1
-2628daf51eae
),
173 interface nsIComponentManager
: nsISupports
175 nsresult GetClassObject
(nsCIDRef aClass
, nsIIDRef aIID
, nsQIResult result
);
176 nsresult GetClassObjectByContractID
(const char *aContractID
, nsIIDRef aIID
, nsQIResult result
);
177 nsresult CreateInstance
(nsCIDRef aClass
, nsISupports
*aDelegate
, nsIIDRef aIID
,
179 nsresult CreateInstanceByContractID
(const char *aContractID
, nsISupports
*aDelegate
,
180 nsIIDRef aIID
, nsQIResult result
);
185 uuid(59e7e77a
-38e4
-11d4
-8cf5
-0060b0fc14a3
),
189 interface nsIMemory
: nsISupports
191 void *Alloc
(/*size_t*/ int size
);
192 void *Realloc
(void *_ptr
, /*size_t*/ int newSize
);
193 void Free
(void *_ptr
);
194 nsresult HeapMinimize
(PRBool immediate
);
195 nsresult IsLowMemory
(PRBool
*_retval
);
200 uuid(9188bc85
-f92e
-11d2
-81ef
-0060083a0bcf
),
204 interface nsIWeakReference
: nsISupports
206 nsresult QueryReferent
(const nsIID
*riid
, void **result
);
211 uuid(9188bc86
-f92e
-11d2
-81ef
-0060083a0bcf
),
215 interface nsISupportsWeakReference
: nsISupports
217 nsresult GetWeakReference
(nsIWeakReference
**_retval
);
222 uuid(033a1470
-8b2a
-11d3
-af88
-00a024ffc08c
),
226 interface nsIInterfaceRequestor
: nsISupports
228 nsresult GetInterface
(const nsIID
*riid
, void **result
);
233 uuid(d1899240
-f9d2
-11d2
-bdd6
-000064657374),
237 interface nsISimpleEnumerator
: nsISupports
239 nsresult HasMoreElements
(PRBool
*_retval
);
240 nsresult GetNext
(nsISupports
**_retval
);
245 uuid(114744d9
-c369
-456e
-b55a
-52fe52880d2d
),
249 interface nsIArray
: nsISupports
251 nsresult GetLength
(PRUint32
*aLength
);
252 nsresult QueryElementAt
(PRUint32 index
, const nsIID
*uuid, void **result
);
253 nsresult IndexOf
(PRUint32 startIndex
, nsISupports
*element
, PRUint32
*_retval
);
254 nsresult Enumerate
(nsISimpleEnumerator
**_retval
);
259 uuid(af059da0
-c85b
-40ec
-af07
-ae4bfdc192cc
),
263 interface nsIMutableArray
: nsIArray
265 nsresult AppendElement
(nsISupports
*element
, PRBool weak
);
266 nsresult RemoveElementAt
(PRUint32 index
);
267 nsresult InsertElementAt
(nsISupports
*element
, PRUint32 index
, PRBool weak
);
273 uuid(4d12e540
-83d7
-11d5
-90ed
-0010a4e73d9a
),
277 interface nsIVariant
: nsISupports
302 TYPE_WSTRING_SIZE_IS
,
310 nsresult GetDataType
(PRUint16
*aDataType
);
311 nsresult GetAsInt8
(PRUint8
*_retval
);
312 nsresult GetAsInt16
(PRInt16
*_retval
);
313 nsresult GetAsInt32
(PRInt32
*_retval
);
314 nsresult GetAsInt64
(PRInt64
*_retval
);
315 nsresult GetAsUint8
(PRUint8
*_retval
);
316 nsresult GetAsUint16
(PRUint16
*_retval
);
317 nsresult GetAsUint32
(PRUint32
*_retval
);
318 nsresult GetAsUint64
(PRUint64
*_retval
);
319 nsresult GetAsFloat
(float *_retval
);
320 nsresult GetAsDouble
(double *_retval
);
321 nsresult GetAsBool
(PRBool
*_retval
);
322 nsresult GetAsChar
(char *_retval
);
323 nsresult GetAsWChar
(PRUnichar
*_retval
);
324 nsresult GetAsID
(nsID
*retval);
325 nsresult GetAsAString
(nsAString
*_retval
);
326 nsresult GetAsDOMString
(nsAString
*_retval
);
327 nsresult GetAsACString
(nsACString
*_retval
);
328 nsresult GetAsAUTF8String
(nsACString
*_retval
);
329 nsresult GetAsString
(char **_retval
);
330 nsresult GetAsWString
(PRUnichar
**_retval
);
331 nsresult GetAsISupports
(nsISupports
**_retval
);
332 nsresult GetAsInterface
(nsIID
* *iid
, void **iface
);
333 nsresult GetAsArray
(PRUint16
*type
, nsIID
*iid
, PRUint32
*count
, void **ptr);
334 nsresult GetAsStringWithSize
(PRUint32
*size
, char **str
);
335 nsresult GetAsWStringWithSize
(PRUint32
*size
, PRUnichar
**str
);
340 uuid(5586a590
-8c82
-11d5
-90f3
-0010a4e73d9a
),
344 interface nsIWritableVariant
: nsIVariant
346 nsresult GetWritable
(PRBool
*aWritable
);
347 nsresult SetWritable
(PRBool aWritable
);
348 nsresult SetAsInt8
(PRUint8 aValue
);
349 nsresult SetAsInt16
(PRInt16 aValue
);
350 nsresult SetAsInt32
(PRInt32 aValue
);
351 nsresult SetAsInt64
(PRInt64 aValue
);
352 nsresult SetAsUint8
(PRUint8 aValue
);
353 nsresult SetAsUint16
(PRUint16 aValue
);
354 nsresult SetAsUint32
(PRUint32 aValue
);
355 nsresult SetAsUint64
(PRUint64 aValue
);
356 nsresult SetAsFloat
(float aValue
);
357 nsresult SetAsDouble
(double aValue
);
358 nsresult SetAsBool
(PRBool aValue
);
359 nsresult SetAsChar
(char aValue
);
360 nsresult SetAsWChar
(PRUnichar aValue
);
361 nsresult SetAsID
(const nsID
*aValue
);
362 nsresult SetAsAString
(const nsAString
*aValue
);
363 nsresult SetAsDOMString
(const nsAString
*aValue
);
364 nsresult SetAsACString
(const nsACString
*aValue
);
365 nsresult SetAsAUTF8String
(const nsACString
*aValue
);
366 nsresult SetAsString
(const char *aValue
);
367 nsresult SetAsWString
(const PRUnichar
*aValue
);
368 nsresult SetAsISupports
(nsISupports
*aValue
);
369 nsresult SetAsInterface
(const nsIID
*iid
, void *iface
);
370 nsresult SetAsArray
(PRUint16 type
, const nsIID
*iid
, PRUint32 count
, void *ptr);
371 nsresult SetAsStringWithSize
(PRUint32 size
, const char *str
);
372 nsresult SetAsWStringWithSize
(PRUint32 size
, const PRUnichar
*str
);
373 nsresult SetAsVoid
();
374 nsresult SetAsEmpty
();
375 nsresult SetAsEmptyArray
();
376 nsresult SetFromVariant
(nsIVariant
*aValue
);
381 uuid(fa9c7f6c
-61b3
-11d4
-9877-00c04fa0cf4a
),
385 interface nsIInputStream
: nsISupports
388 nsresult Available
(PRUint32
*_retval
);
389 nsresult Read
(char *aBuf
, PRUint32 aCount
, PRUint32
*_retval
);
390 nsresult ReadSegments
(nsresult
(*aWriter
)(nsIInputStream
*aInStream
,
391 void *aClosure
, const char *aFromSegment
, PRUint32 aToOffset
,
392 PRUint32 aCount
, PRUint32
*aWriteCount
),
393 void *aClosure
, PRUint32 aCount
, PRUint32
*_retval
);
394 nsresult IsNonBlocking
(PRBool
*_retval
);
399 uuid(450cd2d4
-f0fd
-424d
-b365
-b1251f80fd53
),
403 interface nsIStringInputStream
: nsIInputStream
405 nsresult SetData
(const char *data
, PRInt32 dataLen
);
406 nsresult AdoptData
(char *data
, PRInt32 dataLen
);
407 nsresult ShareData
(const char *data
, PRInt32 dataLen
);
412 uuid(07a22cc0
-0ce5
-11d3
-9331-00104ba0fd40
),
416 interface nsIURI
: nsISupports
418 nsresult GetSpec
(nsACString
*aSpec
);
419 nsresult SetSpec
(const nsACString
*aSpec
);
420 nsresult GetPrePath
(nsACString
*aPrePath
);
421 nsresult GetScheme
(nsACString
*aScheme
);
422 nsresult SetScheme
(const nsACString
*aScheme
);
423 nsresult GetUserPass
(nsACString
*aUserPass
);
424 nsresult SetUserPass
(const nsACString
*aUserPass
);
425 nsresult GetUsername
(nsACString
*aUsername
);
426 nsresult SetUsername
(const nsACString
*aUsername
);
427 nsresult GetPassword
(nsACString
*aPassword
);
428 nsresult SetPassword
(const nsACString
*aPassword
);
429 nsresult GetHostPort
(nsACString
*aHostPort
);
430 nsresult SetHostPort
(const nsACString
*aHostPort
);
431 nsresult GetHost
(nsACString
*aHost
);
432 nsresult SetHost
(const nsACString
*aHost
);
433 nsresult GetPort
(PRInt32
*aPort
);
434 nsresult SetPort
(PRInt32 aPort
);
435 nsresult GetPath
(nsACString
*aPath
);
436 nsresult SetPath
(const nsACString
*aPath
);
437 nsresult Equals
(nsIURI
*other
, PRBool
*_retval
);
438 nsresult SchemeIs
(const char *scheme
, PRBool
*_retval
);
439 nsresult Clone
(nsIURI
**_retval
);
440 nsresult Resolve
(const nsACString
*relativePath
, nsACString
*_retval
);
441 nsresult GetAsciiSpec
(nsACString
*aAsciiSpec
);
442 nsresult GetAsciiHost
(nsACString
*aAsciiHost
);
443 nsresult GetOriginCharset
(nsACString
*aOriginCharset
);
448 uuid(ef6bfbd2
-fd46
-48d8
-96b7
-9f8f0fd387fe
),
452 interface nsIRequest
: nsISupports
454 nsresult GetName
(nsACString
*aName
);
455 nsresult IsPending
(PRBool
*_retval
);
456 nsresult GetStatus
(nsresult
*aStatus
);
457 nsresult Cancel
(nsresult aStatus
);
460 nsresult GetLoadGroup
(nsILoadGroup
**aLoadGroup
);
461 nsresult SetLoadGroup
(nsILoadGroup
*aLoadGroup
);
462 nsresult GetLoadFlags
(nsLoadFlags
*aLoadFlags
);
463 nsresult SetLoadFlags
(nsLoadFlags aLoadFlags
);
468 uuid(fd91e2e0
-1481-11d3
-9333-00104ba0fd40
),
472 interface nsIRequestObserver
: nsISupports
474 nsresult OnStartRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
);
475 nsresult OnStopRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
, nsresult aStatusCode
);
480 uuid(1a637020
-1482-11d3
-9333-00104ba0fd40
),
484 interface nsIStreamListener
: nsIRequestObserver
486 nsresult OnDataAvailable
(nsIRequest
*aRequest
, nsISupports
*aContext
,
487 nsIInputStream
*aInputStream
, PRUint32 aOffset
, PRUint32 aCount
);
492 uuid(3de0a31c
-feaf
-400f
-9f1e
-4ef71f8b20cc
),
496 interface nsILoadGroup
: nsIRequest
498 nsresult GetGroupObserver
(nsIRequestObserver
**aGroupObserver
);
499 nsresult SetGroupObserver
(nsIRequestObserver
*aGroupObserver
);
500 nsresult GetDefaultLoadRequest
(nsIRequest
**aDefaultLoadRequest
);
501 nsresult SetDefaultLoadRequest
(nsIRequest
*aDefaultLoadRequest
);
502 nsresult AddRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
);
503 nsresult RemoveRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
, nsresult aStatus
);
504 nsresult GetRequests
(nsISimpleEnumerator
**aRequests
);
505 nsresult GetActiveCount
(PRUint32
*aActiveCount
);
506 nsresult GetNotificationCallbacks
(nsIInterfaceRequestor
**aNotificationCallbacks
);
507 nsresult SetNotificationCallbacks
(nsIInterfaceRequestor
*aNotificationCallbacks
);
512 uuid(c63a055a
-a676
-4e71
-bf3c
-6cfa11082018
),
516 interface nsIChannel
: nsIRequest
518 nsresult GetOriginalURI
(nsIURI
**aOriginalURI
);
519 nsresult SetOriginalURI
(nsIURI
*aOriginalURI
);
520 nsresult GetURI
(nsIURI
**aURI
);
521 nsresult GetOwner
(nsISupports
**aOwner
);
522 nsresult SetOwner
(nsISupports
*aOwner
);
523 nsresult GetNotificationCallbacks
(nsIInterfaceRequestor
**aNotificationCallbacks
);
524 nsresult SetNotificationCallbacks
(nsIInterfaceRequestor
*aNotificationCallbacks
);
525 nsresult GetSecurityInfo
(nsISupports
**aSecurityInfo
);
526 nsresult GetContentType
(nsACString
*aContentType
);
527 nsresult SetContentType
(const nsACString
*aContentType
);
528 nsresult GetContentCharset
(nsACString
*aContentCharset
);
529 nsresult SetContentCharset
(const nsACString
*aContentCharset
);
530 nsresult GetContentLength
(PRInt32
*aContentLength
);
531 nsresult SetContentLength
(PRInt32 aContentLength
);
532 nsresult Open
(nsIInputStream
**_retval
);
533 nsresult AsyncOpen
(nsIStreamListener
*aListener
, nsISupports
*aContext
);
538 uuid(9277fe09
-f0cc
-4cd9
-bbce
-581dd94b0260
),
542 interface nsIHttpChannel
: nsIChannel
544 nsresult GetRequestMethod
(nsACString
*aRequestMethod
);
545 nsresult SetRequestMethod
(const nsACString
*aRequestMethod
);
546 nsresult GetReferrer
(nsIURI
**aReferrer
);
547 nsresult SetReferrer
(nsIURI
*aReferrer
);
548 nsresult GetRequestHeader
(const nsACString
*aHeader
, nsACString
*_retval
);
549 nsresult SetRequestHeader
(const nsACString
*aHeader
, const nsACString
*aValue
, PRBool aMerge
);
550 nsresult VisitRequestHeaders
(nsIHttpHeaderVisitor
*aVisitor
);
551 nsresult GetAllowPipelining
(PRBool
*aAllowPipelining
);
552 nsresult SetAllowPipelining
(PRBool aAllowPipelining
);
553 nsresult GetRedirectionLimit
(PRUint32
*aRedirectionLimit
);
554 nsresult SetRedirectionLimit
(PRUint32 aRedirectionLimit
);
555 nsresult GetResponseStatus
(PRUint32
*aResponseStatus
);
556 nsresult GetResponseStatusText
(nsACString
*aResponseStatusText
);
557 nsresult GetRequestSucceeded
(PRBool
*aRequestSucceeded
);
558 nsresult GetResponseHeader
(const nsACString
*header
, nsACString
*_retval
);
559 nsresult SetResponseHeader
(const nsACString
*header
, const nsACString
*value
, PRBool merge
);
560 nsresult VisitResponseHeaders
(nsIHttpHeaderVisitor
*aVisitor
);
561 nsresult IsNoStoreResponse
(PRBool
*_retval
);
562 nsresult IsNoCacheResponse
(PRBool
*_retval
);
567 uuid(ddf633d8
-e9a4
-439d
-ad88
-de636fd9bb75
),
571 interface nsIUploadChannel
: nsISupports
573 nsresult SetUploadStream
(nsIInputStream
*aStream
, const nsACString
*aContentType
,
574 PRInt32 aContentLength
);
575 nsresult GetUploadStream
(nsIInputStream
**aUploadStream
);
580 uuid(a6cf90c1
-15b3
-11d2
-932e-00805f8add32
),
584 interface nsIDOMCSSRule
: nsISupports
586 nsresult GetType
(PRUint16
*aType
);
587 nsresult GetCssText
(nsAString
*aCssText
);
588 nsresult SetCssText
(const nsAString
*aCssText
);
589 nsresult GetParentStyleSheet
(nsIDOMCSSStyleSheet
**aParentStyleSheet
);
590 nsresult GetParentRule
(nsIDOMCSSRule
**aParentRule
);
595 uuid(a6cf90be
-15b3
-11d2
-932e-00805f8add32
),
599 interface nsIDOMCSSStyleDeclaration
: nsISupports
601 nsresult GetCssText
(nsAString
*aCssText
);
602 nsresult SetCssText
(const nsAString
*aCssText
);
603 nsresult GetPropertyValue
(const nsAString
*propertyName
, nsAString
*_retval
);
604 nsresult GetPropertyCSSValue
(const nsAString
*propertyName
, nsIDOMCSSValue
**_retval
);
605 nsresult RemoveProperty
(const nsAString
*propertyName
, nsAString
*_retval
);
606 nsresult GetPropertyPriority
(const nsAString
*propertyName
, nsAString
*_retval
);
607 nsresult SetProperty
(const nsAString
*propertyName
, const nsAString
*value
,
608 const nsAString
*priority
);
609 nsresult GetLength
(PRUint32
*aLength
);
610 nsresult Item
(PRUint32 index
, nsAString
*_retval
);
611 nsresult GetParentRule
(nsIDOMCSSRule
**aParentRule
);
616 uuid(a6cf90c0
-15b3
-11d2
-932e-00805f8add32
),
620 interface nsIDOMCSSRuleList
: nsISupports
622 nsresult GetLength
(PRUint32
*aLength
);
623 nsresult Item
(PRUint32 index
, nsIDOMCSSRule
**_retval
);
628 uuid(a6cf9080
-15b3
-11d2
-932e-00805f8add32
),
632 interface nsIDOMStyleSheet
: nsISupports
634 nsresult GetType
(nsAString
*aType
);
635 nsresult GetDisabled
(PRBool
*aDisabled
);
636 nsresult SetDisabled
(PRBool aDisabled
);
637 nsresult GetOwnerNode
(nsIDOMNode
**aOwnerNode
);
638 nsresult GetParentStyleSheet
(nsIDOMStyleSheet
**aParentStyleSheet
);
639 nsresult GetHref
(nsAString
*aHref
);
640 nsresult GetTitle
(nsAString
*aTitle
);
641 nsresult GetMedia
(nsIDOMMediaList
**aMedia
);
646 uuid(a6cf90c2
-15b3
-11d2
-932e-00805f8add32
),
650 interface nsIDOMCSSStyleSheet
: nsIDOMStyleSheet
652 nsresult GetOwnerRule
(nsIDOMCSSRule
**aOwnerRule
);
653 nsresult GetCssRules
(nsIDOMCSSRuleList
**aCssRules
);
654 nsresult InsertRule
(const nsAString
*rule
, PRUint32 index
, PRUint32
*_retval
);
655 nsresult DeleteRule
(PRUint32 index
);
660 uuid(a6cf9081
-15b3
-11d2
-932e-00805f8add32
),
664 interface nsIDOMStyleSheetList
: nsISupports
666 nsresult GetLength
(PRUint32
*aLength
);
667 nsresult Item
(PRUint32 index
, nsIDOMStyleSheet
**_retval
);
672 uuid(a6cf907d
-15b3
-11d2
-932e-00805f8add32
),
676 interface nsIDOMNodeList
: nsISupports
678 nsresult Item
(PRUint32 index
, nsIDOMNode
**_retval
);
679 nsresult GetLength
(PRUint32
*aLength
);
684 uuid(a6cf907c
-15b3
-11d2
-932e-00805f8add32
),
688 interface nsIDOMNode
: nsISupports
694 CDATA_SELECTION_NODE
= 4,
695 ENTITY_REFERENCE_NODE
= 5,
697 PROCESSING_INSTRUCTION_NODE
= 7,
700 DOCUMENT_TYPE_NODE
= 10,
701 DOCUMENT_FRAGMENT_NODE
= 11,
705 nsresult GetNodeName
(nsAString
*aNodeName
);
706 nsresult GetNodeValue
(nsAString
*aNodeValue
);
707 nsresult SetNodeValue
(const nsAString
*aNodeValue
);
708 nsresult GetNodeType
(PRUint16
*aNodeType
);
709 nsresult GetParentNode
(nsIDOMNode
**aParentNode
);
710 nsresult GetChildNodes
(nsIDOMNodeList
**aChildNodes
);
711 nsresult GetFirstChild
(nsIDOMNode
**aFirstChild
);
712 nsresult GetLastChild
(nsIDOMNode
**aLastChild
);
713 nsresult GetPreviousSibling
(nsIDOMNode
**aPreviousSibling
);
714 nsresult GetNextSibling
(nsIDOMNode
**aNextSibling
);
715 nsresult GetAttributes
(nsIDOMNamedNodeMap
**aAttributes
);
716 nsresult GetOwnerDocument
(nsIDOMDocument
**aOwnerDocument
);
717 nsresult InsertBefore
(nsIDOMNode
*newChild
, nsIDOMNode
*refChild
, nsIDOMNode
**_retval
);
718 nsresult ReplaceChild
(nsIDOMNode
*newChild
, nsIDOMNode
*oldChild
, nsIDOMNode
**_retval
);
719 nsresult RemoveChild
(nsIDOMNode
*oldChild
, nsIDOMNode
**_retval
);
720 nsresult AppendChild
(nsIDOMNode
*newChild
, nsIDOMNode
**_retval
);
721 nsresult HasChildNodes
(PRBool
*_retval
);
722 nsresult CloneNode
(PRBool deep
, nsIDOMNode
**_retval
);
723 nsresult Normalize
();
724 nsresult IsSupported
(const nsAString
*feature
, const nsAString
*version, PRBool
*_retval
);
725 nsresult GetNamespaceURI
(nsAString
*aNamespaceURI
);
726 nsresult GetPrefix
(nsAString
*aPrefix
);
727 nsresult SetPrefix
(const nsAString
*aPrefix
);
728 nsresult GetLocalName
(nsAString
*aLocalName
);
729 nsresult HasAttributes
(PRBool
*_retval
);
734 uuid(a6cf9078
-15b3
-11d2
-932e-00805f8add32
),
738 interface nsIDOMElement
: nsIDOMNode
740 nsresult GetTagName
(nsAString
*aTagName
);
741 nsresult GetAttribute
(const nsAString
*name
, nsAString
*_retval
);
742 nsresult SetAttribute
(const nsAString
*name
, const nsAString
*value
);
743 nsresult RemoveAttribute
(const nsAString
*name
);
744 nsresult GetAttributeNode
(const nsAString
*name
, nsIDOMAttr
**_retval
);
745 nsresult SetAttributeNode
(nsIDOMAttr
*newAttr
, nsIDOMAttr
**_retval
);
746 nsresult RemoveAttributeNode
(nsIDOMAttr
*oldAttr
, nsIDOMAttr
**_retval
);
747 nsresult GetElementsByTagName
(const nsAString
*name
, nsIDOMNodeList
**_retval
);
748 nsresult GetAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
,
750 nsresult SetAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*qualifiedName
,
751 const nsAString
*value
);
752 nsresult RemoveAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
);
753 nsresult GetAttributeNodeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
,
754 nsIDOMAttr
**_retval
);
755 nsresult SetAttributeNodeNS
(nsIDOMAttr
*newAttr
, nsIDOMAttr
**_retval
);
756 nsresult GetElementsByTagNameNS
(const nsAString
*namespaceURI
, const nsAString
*localName
,
757 nsIDOMNodeList
**_retval
);
758 nsresult HasAttribute
(const nsAString
*name
, PRBool
*_retval
);
759 nsresult HasAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
,
765 uuid(99715845-95fc
-4a56
-aa53
-214b65c26e22
),
769 interface nsIDOMElementCSSInlineStyle
: nsISupports
771 nsresult GetStyle
(nsIDOMCSSStyleDeclaration
**aStyle
);
774 cpp_quote
("#undef GetClassName")
778 uuid(a6cf9085
-15b3
-11d2
-932e-00805f8add32
),
782 interface nsIDOMHTMLElement
: nsIDOMElement
784 nsresult GetId
(nsAString
*aId
);
785 nsresult SetId
(const nsAString
*aId
);
786 nsresult GetTitle
(nsAString
*aTitle
);
787 nsresult SetTitle
(const nsAString
*aTitle
);
788 nsresult GetLang
(nsAString
*aLang
);
789 nsresult SetLang
(const nsAString
*aLang
);
790 nsresult GetDir
(nsAString
*aDir
);
791 nsresult SetDir
(const nsAString
*aDir
);
792 nsresult GetClassName
(nsAString
*aClassName
);
793 nsresult SetClassName
(const nsAString
*aClassName
);
798 uuid(da83b2ec
-8264-4410-8496-ada3acd2ae42
),
802 interface nsIDOMNSHTMLElement
: nsISupports
804 nsresult GetOffsetTop
(PRInt32
*aOffsetTop
);
805 nsresult GetOffsetLeft
(PRInt32
*aOffsetLeft
);
806 nsresult GetOffsetWidth
(PRInt32
*aOffsetWidth
);
807 nsresult GetOffsetHeight
(PRInt32
*aOffsetHeight
);
808 nsresult GetOffsetParent
(nsIDOMElement
**aOffsetParent
);
809 nsresult GetInnerHTML
(nsAString
*aInnerHTML
);
810 nsresult SetInnerHTML
(const nsAString
*aInnerHTML
);
811 nsresult GetScrollTop
(PRInt32
*aScrollTop
);
812 nsresult SetScrollTop
(PRInt32 aScrollTop
);
813 nsresult GetScrollLeft
(PRInt32
*aScrollLeft
);
814 nsresult SetScrollLeft
(PRInt32 aScrollLeft
);
815 nsresult GetScrollHeight
(PRInt32
*aScrollHeight
);
816 nsresult GetScrollWidth
(PRInt32
*aScrollWidth
);
817 nsresult GetClientHeight
(PRInt32
*aClientHeight
);
818 nsresult GetClientWidth
(PRInt32
*aClientWidth
);
819 nsresult GetTabIndex
(PRInt32
*aTabIndex
);
820 nsresult SetTabIndex
(PRInt32 aTabIndex
);
823 nsresult ScrollIntoView
(PRBool top
);
828 uuid(a6cf9083
-15b3
-11d2
-932e-00805f8add32
),
832 interface nsIDOMHTMLCollection
: nsISupports
834 nsresult GetLength
(PRUint32
*aLength
);
835 nsresult Item
(PRUint32 index
, nsIDOMNode
**_retval
);
836 nsresult NamedItem
(const nsAString
*name
, nsIDOMNode
**_retval
);
841 uuid(a6cf9072
-15b3
-11d2
-932e-00805f8add32
),
845 interface nsIDOMCharacterData
: nsIDOMNode
847 nsresult GetData
(nsAString
*aData
);
848 nsresult SetData
(const nsAString
*aData
);
849 nsresult GetLength
(PRUint32
*aLength
);
850 nsresult SubstringData
(PRUint32 offset
, PRUint32 count
, nsAString
*_retval
);
851 nsresult AppendData
(const nsAString
*arg
);
852 nsresult InsertData
(PRUint32 offset
, const nsAString
*arg
);
853 nsresult DeleteData
(PRUint32 offset
, PRUint32 count
);
854 nsresult ReplaceData
(PRUint32 offset
, PRUint32 count
, const nsAString
*arg
);
859 uuid(a6cf9082
-15b3
-11d2
-932e-00805f8add32
),
863 interface nsIDOMText
: nsIDOMCharacterData
865 nsresult SplitText
(PRUint32 offset
, nsIDOMText
**_retval
);
870 uuid(a6cf9073
-15b3
-11d2
-932e-00805f8add32
),
874 interface nsIDOMComment
: nsIDOMCharacterData
880 uuid(a6cf9076
-15b3
-11d2
-932e-00805f8add32
),
884 interface nsIDOMDocumentFragment
: nsIDOMNode
890 uuid(a6cf9075
-15b3
-11d2
-932e-00805f8add32
),
894 interface nsIDOMDocument
: nsIDOMNode
896 nsresult GetDoctype
(nsIDOMDocumentType
**aDoctype
);
897 nsresult GetImplementation
(nsIDOMDOMImplementation
**aImplementation
);
898 nsresult GetDocumentElement
(nsIDOMElement
**aDocumentElement
);
899 nsresult CreateElement
(const nsAString
*tagName
, nsIDOMElement
**_retval
);
900 nsresult CreateDocumentFragment
(nsIDOMDocumentFragment
**_retval
);
901 nsresult CreateTextNode
(const nsAString
*data
, nsIDOMText
**_retval
);
902 nsresult CreateComment
(const nsAString
*data
, nsIDOMComment
**_retval
);
903 nsresult CreateCDATASection
(const nsAString
*data
, nsIDOMCDATASection
**_retval
);
904 nsresult CreateProcessingInstruction
(const nsAString
*target
, const nsAString
*data
,
905 nsIDOMProcessingInstruction
**_retval
);
906 nsresult CreateAttribute
(const nsAString
*name
, nsIDOMAttr
**_retval
);
907 nsresult CreateEntityReference
(const nsAString
*name
, nsIDOMEntityReference
**_retval
);
908 nsresult GetElementsByTagName
(const nsAString
*tagname
, nsIDOMNodeList
**_retval
);
909 nsresult ImportNode
(nsIDOMNode
*importedNode
, PRBool deep
, nsIDOMNode
**_retval
);
910 nsresult CreateElementNS
(const nsAString
*namespaceURI
, const nsAString
*qualifiedName
,
911 nsIDOMElement
**_retval
);
912 nsresult CreateAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*qualifiedName
,
913 nsIDOMAttr
**_retval
);
914 nsresult GetElementsByTagNameNS
(const nsAString
*namespaceURI
, const nsAString
*localName
,
915 nsIDOMNodeList
**_retval
);
916 nsresult GetElementById
(const nsAString
*elementId
, nsIDOMElement
**_retval
);
921 uuid(a6cf9084
-15b3
-11d2
-932e-00805f8add32
),
925 interface nsIDOMHTMLDocument
: nsIDOMDocument
927 nsresult GetTitle
(nsAString
*aTitle
);
928 nsresult SetTitle
(const nsAString
*aTitle
);
929 nsresult GetReferrer
(nsAString
*aReferrer
);
930 nsresult GetDomain
(nsAString
*aDomain
);
931 nsresult GetURL
(nsAString
*aURL
);
932 nsresult GetBody
(nsIDOMHTMLElement
**aBody
);
933 nsresult SetBody
(nsIDOMHTMLElement
*aBody
);
934 nsresult GetImages
(nsIDOMHTMLCollection
**aImages
);
935 nsresult GetApplets
(nsIDOMHTMLCollection
**aApplets
);
936 nsresult GetLinks
(nsIDOMHTMLCollection
**aLinks
);
937 nsresult GetForms
(nsIDOMHTMLCollection
**aForms
);
938 nsresult GetAnchors
(nsIDOMHTMLCollection
**aAnchors
);
939 nsresult GetCookie
(nsAString
*aCookie
);
940 nsresult SetCookie
(const nsAString
*aCookie
);
943 nsresult Write
(const nsAString
*text
);
944 nsresult Writeln
(const nsAString
*text
);
945 nsresult GetElementsByName
(const nsAString
*elementName
, nsIDOMNodeList
**_retval
);
950 uuid(79beb289
-3644-4b54
-9432-9fb993945629
),
954 interface nsIDOMNSHTMLDocument
: nsISupports
956 nsresult GetWidth
(PRInt32
*aWidth
);
957 nsresult GetHeight
(PRInt32
*aHeight
);
958 nsresult GetAlinkColor
(nsAString
*aAlinkColor
);
959 nsresult SetAlinkColor
(const nsAString
*aAlinkColor
);
960 nsresult GetLinkColor
(nsAString
*aLinkColor
);
961 nsresult SetLinkColor
(const nsAString
*aLinkColor
);
962 nsresult GetVlinkColor
(nsAString
*aVlinkColor
);
963 nsresult SetVlinkColor
(const nsAString
*aVlinkColor
);
964 nsresult GetBgColor
(nsAString
*aBgColor
);
965 nsresult SetBgColor
(const nsAString
*aBgColor
);
966 nsresult GetFgColor
(nsAString
*aFgColor
);
967 nsresult SetFgColor
(const nsAString
*aFgColor
);
968 nsresult GetDomain
(nsAString
*aDomain
);
969 nsresult SetDomain
(const nsAString
*aDomain
);
970 nsresult GetEmbeds
(nsIDOMHTMLCollection
**aEmbeds
);
971 nsresult GetSelection
(nsAString
*_retval
);
972 nsresult Open
(nsIDOMDocument
**_retval
);
976 nsresult CaptureEvents
(PRInt32 eventFlags
);
977 nsresult ReleaseEvents
(PRInt32 eventFlags
);
978 nsresult RouteEvent
(nsIDOMEvent
*evt
);
979 nsresult GetCompatMode
(nsAString
*aCompatMode
);
980 nsresult GetPlugins
(nsIDOMHTMLCollection
**aPlugins
);
981 nsresult GetDesignMode
(nsAString
*aDesignMode
);
982 nsresult SetDesignMode
(const nsAString
*aDesignMode
);
983 nsresult ExecCommand
(const nsAString
*commandID
, PRBool doShowUI
, const nsAString
*value
, PRBool
*_retval
);
984 nsresult ExecCommandShowHelp
(const nsAString
*commandID
, PRBool
*_retval
);
985 nsresult QueryCommandEnabled
(const nsAString
*commandID
, PRBool
*_retval
);
986 nsresult QueryCommandIndeterm
(const nsAString
*commandID
, PRBool
*_retval
);
987 nsresult QueryCommandState
(const nsAString
*commandID
, PRBool
*_retval
);
988 nsresult QueryCommandSupported
(const nsAString
*commandID
, PRBool
*_retval
);
989 nsresult QueryCommandText
(const nsAString
*commandID
, nsAString
*_retval
);
990 nsresult QueryCommandValue
(const nsAString
*commandID
, nsAString
*_retval
);
995 uuid(3d9f4973
-dd2e
-48f5
-b5f7
-2634e09eadd9
),
999 interface nsIDOMDocumentStyle
: nsISupports
1001 nsresult GetStyleSheets
(nsIDOMStyleSheetList
**aStyleSheets
);
1006 uuid(a6cf90ce
-15b3
-11d2
-932e-00805f8add32
),
1010 interface nsIDOMRange
: nsISupports
1019 nsresult GetStartContainer
(nsIDOMNode
**aStartContainer
);
1020 nsresult GetStartOffset
(PRInt32
*aStartOffset
);
1021 nsresult GetEndContainer
(nsIDOMNode
**aEndContainer
);
1022 nsresult GetEndOffset
(PRInt32
*aEndOffset
);
1023 nsresult GetCollapsed
(PRBool
*aCollapsed
);
1024 nsresult GetCommonAncestorContainer
(nsIDOMNode
**aCommonAncestorContainer
);
1025 nsresult SetStart
(nsIDOMNode
*refNode
, PRInt32 offset
);
1026 nsresult SetEnd
(nsIDOMNode
*refNode
, PRInt32 offset
);
1027 nsresult SetStartBefore
(nsIDOMNode
*refNode
);
1028 nsresult SetStartAfter
(nsIDOMNode
*refNode
);
1029 nsresult SetEndBefore
(nsIDOMNode
*refNode
);
1030 nsresult SetEndAfter
(nsIDOMNode
*refNode
);
1031 nsresult Collapse
(PRBool toStart
);
1032 nsresult SelectNode
(nsIDOMNode
*refNode
);
1033 nsresult SelectNodeContents
(nsIDOMNode
*refNode
);
1034 nsresult CompareBoundaryPoints
(PRUint16 how
, nsIDOMRange
*sourceRange
, PRInt16
*_retval
);
1035 nsresult DeleteContents
();
1036 nsresult ExtractContents
(nsIDOMDocumentFragment
**_retval
);
1037 nsresult CloneContents
(nsIDOMDocumentFragment
**_retval
);
1038 nsresult InsertNode
(nsIDOMNode
*newNode
);
1039 nsresult SurroundContents
(nsIDOMNode
*newParent
);
1040 nsresult CloneRange
(nsIDOMRange
**_retval
);
1041 nsresult ToString
(nsAString
*_retval
);
1047 uuid(a6cf90f2
-15b3
-11d2
-932e-00805f8add32
),
1050 interface nsIDOMNSRange
: nsISupports
1052 nsresult CreateContextualFragment
([in] const nsAString
*fragment
, [out] nsIDOMDocumentFragment
**_retval
);
1053 nsresult IsPointInRange
([in] nsIDOMNode
*parent
, [in] PRInt32 offset
, [out] PRBool
*_retval
);
1054 nsresult ComparePoint
([in] nsIDOMNode
*parent
, [in] PRInt32 offset
, [out] PRInt16
*_retval
);
1055 nsresult IntersectsNode
([in] nsIDOMNode
*n
, [out] PRBool
*_retval
);
1056 nsresult CompareNode
([in] nsIDOMNode
*n
, [out] PRUint16
*_retval
);
1057 nsresult nSDetach
();
1063 uuid(7b9badc6
-c9bc
-447a
-8670-dbd195aed24b
),
1067 interface nsIDOMDocumentRange
: nsISupports
1069 nsresult CreateRange
(nsIDOMRange
**_retval
);
1074 uuid(b2c7ed59
-8634-4352-9e37
-5484c8b6e4e1
),
1078 interface nsISelection
: nsISupports
1080 nsresult GetAnchorNode
(nsIDOMNode
**aAnchorNode
);
1081 nsresult GetAnchorOffset
(PRInt32
*aAnchorOffset
);
1082 nsresult GetFocusNode
(nsIDOMNode
**aFocusNode
);
1083 nsresult GetFocusOffset
(PRInt32
*aFocusOffset
);
1084 nsresult GetIsCollapsed
(PRBool
*aIsCollapsed
);
1085 nsresult GetRangeCount
(PRInt32
*aRangeCount
);
1086 nsresult GetRangeAt
(PRInt32 index
, nsIDOMRange
**_retval
);
1087 nsresult Collapse
(nsIDOMNode
*parentNode
, PRInt32 offset
);
1088 nsresult Extend
(nsIDOMNode
*parentNode
, PRInt32 offset
);
1089 nsresult CollapseToStart
();
1090 nsresult CollapseToEnd
();
1091 nsresult ContainsNode
(nsIDOMNode
*node
, PRBool entirelyContained
, PRBool
*_retval
);
1092 nsresult SelectAllChildren
(nsIDOMNode
*parentNode
);
1093 nsresult AddRange
(nsIDOMRange
*range);
1094 nsresult RemoveRange
(nsIDOMRange
*range);
1095 nsresult RemoveAllRanges
();
1096 nsresult DeleteFromDocument
();
1097 nsresult SelectionLanguageChange
(PRBool langRTL
);
1098 nsresult ToString
(PRUnichar
**_retval
);
1103 uuid(a6cf906b
-15b3
-11d2
-932e-00805f8add32
),
1107 interface nsIDOMWindow
: nsISupports
1109 nsresult GetDocument
(nsIDOMDocument
**aDocument
);
1110 nsresult GetParent
(nsIDOMWindow
**aParent
);
1111 nsresult GetTop
(nsIDOMWindow
**aTop
);
1112 nsresult GetScrollbars
(nsIDOMBarProp
**aScrollbars
);
1113 nsresult GetFrames
(nsIDOMWindowCollection
**aFrames
);
1114 nsresult GetName
(nsAString
*aName
);
1115 nsresult SetName
(const nsAString
*aName
);
1116 nsresult GetTextZoom
(float *aTextZoom
);
1117 nsresult SetTextZoom
(float aTextZoom
);
1118 nsresult GetScrollX
(PRInt32
*aScrollX
);
1119 nsresult GetScrollY
(PRInt32
*aScrollY
);
1120 nsresult ScrollTo
(PRInt32 xScroll
, PRInt32 yScroll
);
1121 nsresult ScrollBy
(PRInt32 xScrollDif
, PRInt32 yScrollDif
);
1122 nsresult GetSelection
(nsISelection
**_retval
);
1123 nsresult ScrollByLines
(PRInt32 numLines
);
1124 nsresult ScrollByPages
(PRInt32 numPages
);
1125 nsresult SizeToContent
();
1130 uuid(a6cf908e
-15b3
-11d2
-932e-00805f8add32
),
1134 interface nsIDOMHTMLBodyElement
: nsIDOMHTMLElement
1136 nsresult GetALink
(nsAString
*aALink
);
1137 nsresult SetALink
(const nsAString
*aALink
);
1138 nsresult GetBackground
(nsAString
*aBackground
);
1139 nsresult SetBackground
(const nsAString
*aBackground
);
1140 nsresult GetBgColor
(nsAString
*aBgColor
);
1141 nsresult SetBgColor
(const nsAString
*aBgColor
);
1142 nsresult GetLink
(nsAString
*aLink
);
1143 nsresult SetLink
(const nsAString
*aLink
);
1144 nsresult GetText
(nsAString
*aText
);
1145 nsresult SetText
(const nsAString
*aText
);
1146 nsresult GetVLink
(nsAString
*aVLink
);
1147 nsresult SetVLink
(const nsAString
*aVLink
);
1152 uuid(a6cf9093
-15b3
-11d2
-932e-00805f8add32
),
1156 interface nsIDOMHTMLInputElement
: nsIDOMHTMLElement
1158 nsresult GetDefaultValue
(nsAString
*aDefaultValue
);
1159 nsresult SetDefaultValue
(const nsAString
*aDefaultValue
);
1160 nsresult GetDefaultChecked
(PRBool
*aDefaultChecked
);
1161 nsresult SetDefaultChecked
(PRBool aDefaultChecked
);
1162 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1163 nsresult GetAccept
(nsAString
*aAccept
);
1164 nsresult SetAccept
(const nsAString
*aAccept
);
1165 nsresult GetAccessKey
(nsAString
*aAccessKey
);
1166 nsresult SetAccessKey
(const nsAString
*aAccessKey
);
1167 nsresult GetAlign
(nsAString
*aAlign
);
1168 nsresult SetAlign
(const nsAString
*aAlign
);
1169 nsresult GetAlt
(nsAString
*aAlt
);
1170 nsresult SetAlt
(const nsAString
*aAlt
);
1171 nsresult GetChecked
(PRBool
*aChecked
);
1172 nsresult SetChecked
(PRBool aChecked
);
1173 nsresult GetDisabled
(PRBool
*aDisabled
);
1174 nsresult SetDisabled
(PRBool aDisabled
);
1175 nsresult GetMaxLength
(PRInt32
*aMaxLength
);
1176 nsresult SetMaxLength
(PRInt32 aMaxLength
);
1177 nsresult GetName
(nsAString
*aName
);
1178 nsresult SetName
(const nsAString
*aName
);
1179 nsresult GetReadOnly
(PRBool
*aReadOnly
);
1180 nsresult SetReadOnly
(PRBool aReadOnly
);
1181 nsresult GetSize
(PRUint32
*aSize
);
1182 nsresult SetSize
(PRUint32 aSize
);
1183 nsresult GetSrc
(nsAString
*aSrc
);
1184 nsresult SetSrc
(const nsAString
*aSrc
);
1185 nsresult GetTabIndex
(PRInt32
*aTabIndex
);
1186 nsresult SetTabIndex
(PRInt32 aTabIndex
);
1187 nsresult GetType
(nsAString
*aType
);
1188 nsresult SetType
(const nsAString
*aType
);
1189 nsresult GetUseMap
(nsAString
*aUseMap
);
1190 nsresult SetUseMap
(const nsAString
*aUseMap
);
1191 nsresult GetValue
(nsAString
*aValue
);
1192 nsresult SetValue
(const nsAString
*aValue
);
1201 uuid(a6cf9092
-15b3
-11d2
-932e-00805f8add32
),
1205 interface nsIDOMHTMLOptionElement
: nsIDOMHTMLElement
1207 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1208 nsresult GetDefaultSelected
(PRBool
*aDefaultSelected
);
1209 nsresult SetDefaultSelected
(PRBool aDefaultSelected
);
1210 nsresult GetText
(nsAString
*aText
);
1211 nsresult GetIndex
(PRInt32
*aIndex
);
1212 nsresult GetDisabled
(PRBool
*aDisabled
);
1213 nsresult SetDisabled
(PRBool aDisabled
);
1214 nsresult GetLabel
(nsAString
*aLabel
);
1215 nsresult SetLabel
(const nsAString
*aLabel
);
1216 nsresult GetSelected
(PRBool
*aSelected
);
1217 nsresult SetSelected
(PRBool aSelected
);
1218 nsresult GetValue
(nsAString
*aValue
);
1219 nsresult SetValue
(const nsAString
*aValue
);
1224 uuid(a6cf9090
-15b3
-11d2
-932e-00805f8add32
),
1228 interface nsIDOMHTMLSelectElement
: nsIDOMHTMLElement
1230 nsresult GetType
(nsAString
*aType
);
1231 nsresult GetSelectedIndex
(PRInt32
*aSelectedIndex
);
1232 nsresult SetSelectedIndex
(PRInt32 aSelectedIndex
);
1233 nsresult GetValue
(nsAString
*aValue
);
1234 nsresult SetValue
(const nsAString
*aValue
);
1235 nsresult GetLength
(PRUint32
*aLength
);
1236 nsresult SetLength
(PRUint32 aLength
);
1237 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1238 nsresult GetOptions
(nsIDOMHTMLOptionsCollection
**aOptions
);
1239 nsresult GetDisabled
(PRBool
*aDisabled
);
1240 nsresult SetDisabled
(PRBool aDisabled
);
1241 nsresult GetMultiple
(PRBool
*aMultiple
);
1242 nsresult SetMultiple
(PRBool aMultiple
);
1243 nsresult GetName
(nsAString
*aName
);
1244 nsresult SetName
(const nsAString
*aName
);
1245 nsresult GetSize
(PRInt32
*aSize
);
1246 nsresult SetSize
(PRInt32 aSize
);
1247 nsresult GetTabIndex
(PRInt32
*aTabIndex
);
1248 nsresult SetTabIndex
(PRInt32 aTabIndex
);
1249 nsresult Add
(nsIDOMHTMLElement
*element
, nsIDOMHTMLElement
*before
);
1250 nsresult Remove
(PRInt32 index
);
1257 uuid(a6cf9094
-15b3
-11d2
-932e-00805f8add32
),
1261 interface nsIDOMHTMLTextAreaElement
: nsIDOMHTMLElement
1263 nsresult GetDefaultValue
(nsAString
*aDefaultValue
);
1264 nsresult SetDefaultValue
(const nsAString
*aDefaultValue
);
1265 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1266 nsresult GetAccessKey
(nsAString
*aAccessKey
);
1267 nsresult SetAccessKey
(const nsAString
*aAccessKey
);
1268 nsresult GetCols
(PRInt32
*aCols
);
1269 nsresult SetCols
(PRInt32 aCols
);
1270 nsresult GetDisabled
(PRBool
*aDisabled
);
1271 nsresult SetDisabled
(PRBool aDisabled
);
1272 nsresult GetName
(nsAString
*aName
);
1273 nsresult SetName
(const nsAString
*aName
);
1274 nsresult GetReadOnly
(PRBool
*aReadOnly
);
1275 nsresult SetReadOnly
(PRBool aReadOnly
);
1276 nsresult GetRows
(PRInt32
*aRows
);
1277 nsresult SetRows
(PRInt32 aRows
);
1278 nsresult GetTabIndex
(PRInt32
*aTabIndex
);
1279 nsresult SetTabIndex
(PRInt32 aTabIndex
);
1280 nsresult GetType
(nsAString
*aType
);
1281 nsresult GetValue
(nsAString
*aValue
);
1282 nsresult SetValue
(const nsAString
*aValue
);
1290 uuid(a6cf90b1
-15b3
-11d2
-932e-00805f8add32
),
1294 interface nsIDOMHTMLScriptElement
: nsIDOMHTMLElement
1296 nsresult GetText
(nsAString
*aText
);
1297 nsresult SetText
(const nsAString
*aText
);
1298 nsresult GetHtmlFor
(nsAString
*aHtmlFor
);
1299 nsresult SetHtmlFor
(const nsAString
*aHtmlFor
);
1300 nsresult GetEvent
(nsAString
*aEvent
);
1301 nsresult SetEvent
(const nsAString
*aEvent
);
1302 nsresult GetCharset
(nsAString
*aCharset
);
1303 nsresult SetCharset
(const nsAString
*aCharset
);
1304 nsresult GetDefer
(PRBool
*aDefer
);
1305 nsresult SetDefer
(PRBool aDefer
);
1306 nsresult GetSrc
(nsAString
*aSrc
);
1307 nsresult SetSrc
(const nsAString
*aSrc
);
1308 nsresult GetType
(nsAString
*aType
);
1309 nsresult SetType
(const nsAString
*aType
);
1314 uuid(a6cf90ab
-15b3
-11d2
-932e-00805f8add32
),
1318 interface nsIDOMHTMLImageElement
: nsIDOMHTMLElement
1320 nsresult GetName
(nsAString
*aName
);
1321 nsresult SetName
(const nsAString
*aName
);
1322 nsresult GetAlign
(nsAString
*aAlign
);
1323 nsresult SetAlign
(const nsAString
*aAlign
);
1324 nsresult GetAlt
(nsAString
*aAlt
);
1325 nsresult SetAlt
(const nsAString
*aAlt
);
1326 nsresult GetBorder
(nsAString
*aBorder
);
1327 nsresult SetBorder
(const nsAString
*aBorder
);
1328 nsresult GetHeight
(PRInt32
*aHeight
);
1329 nsresult SetHeight
(PRInt32 aHeight
);
1330 nsresult GetHspace
(PRInt32
*aHspace
);
1331 nsresult SetHspace
(PRInt32 aHspace
);
1332 nsresult GetIsMap
(PRBool
*aIsMap
);
1333 nsresult SetIsMap
(PRBool aIsMap
);
1334 nsresult GetLongDesc
(nsAString
*aLongDesc
);
1335 nsresult SetLongDesc
(const nsAString
*aLongDesc
);
1336 nsresult GetSrc
(nsAString
*aSrc
);
1337 nsresult SetSrc
(const nsAString
*aSrc
);
1338 nsresult GetUseMap
(nsAString
*aUseMap
);
1339 nsresult SetUseMap
(const nsAString
*aUseMap
);
1340 nsresult GetVspace
(PRInt32
*aVspace
);
1341 nsresult SetVspace
(PRInt32 aVspace
);
1342 nsresult GetWidth
(PRInt32
*aWidth
);
1343 nsresult SetWidth
(PRInt32 aWidth
);
1348 uuid(a6cf90b2
-15b3
-11d2
-932e-00805f8add32
),
1352 interface nsIDOMHTMLTableElement
: nsIDOMHTMLElement
1354 nsresult GetCaption
(nsIDOMHTMLTableCaptionElement
**aCaption
);
1355 nsresult SetCaption
(nsIDOMHTMLTableCaptionElement
*aCaption
);
1356 nsresult GetTHead
(nsIDOMHTMLTableSectionElement
**aTHead
);
1357 nsresult SetTHead
(nsIDOMHTMLTableSectionElement
*aTHead
);
1358 nsresult GetTFoot
(nsIDOMHTMLTableSectionElement
**aTFoot
);
1359 nsresult SetTFoot
(nsIDOMHTMLTableSectionElement
*aTFoot
);
1360 nsresult GetRows
(nsIDOMHTMLCollection
**aRows
);
1361 nsresult GetTBodies
(nsIDOMHTMLCollection
**aTBodies
);
1362 nsresult GetAlign
(nsAString
*aAlign
);
1363 nsresult SetAlign
(const nsAString
*aAlign
);
1364 nsresult GetBgColor
(nsAString
*aBgColor
);
1365 nsresult SetBgColor
(const nsAString
*aBgColor
);
1366 nsresult GetBorder
(nsAString
*aBorder
);
1367 nsresult SetBorder
(const nsAString
*aBorder
);
1368 nsresult GetCellPadding
(nsAString
*aCellPadding
);
1369 nsresult SetCellPadding
(const nsAString
*aCellPadding
);
1370 nsresult GetCellSpacing
(nsAString
*aCellSpacing
);
1371 nsresult SetCellSpacing
(const nsAString
*aCellSpacing
);
1372 nsresult GetFrame
(nsAString
*aFrame
);
1373 nsresult SetFrame
(const nsAString
*aFrame
);
1374 nsresult GetRules
(nsAString
*aRules
);
1375 nsresult SetRules
(const nsAString
*aRules
);
1376 nsresult GetSummary
(nsAString
*aSummary
);
1377 nsresult SetSummary
(const nsAString
*aSummary
);
1378 nsresult GetWidth
(nsAString
*aWidth
);
1379 nsresult SetWidth
(const nsAString
*aWidth
);
1380 nsresult CreateTHead
(nsIDOMHTMLElement
**_retval
);
1381 nsresult DeleteTHead
();
1382 nsresult CreateTFoot
(nsIDOMHTMLElement
**_retval
);
1383 nsresult DeleteTFoot
();
1384 nsresult CreateCaption
(nsIDOMHTMLElement
**_retval
);
1385 nsresult DeleteCaption
();
1386 nsresult InsertRow
(PRInt32 index
, nsIDOMHTMLElement
**_retval
);
1387 nsresult DeleteRow
(PRInt32 index
);
1392 uuid(a6cf90b6
-15b3
-11d2
-932e-00805f8add32
),
1396 interface nsIDOMHTMLTableRowElement
: nsIDOMHTMLElement
1398 nsresult GetRowIndex
(PRInt32
*aRowIndex
);
1399 nsresult GetSectionRowIndex
(PRInt32
*aSectionRowIndex
);
1400 nsresult GetCells
(nsIDOMHTMLCollection
**aCells
);
1401 nsresult GetAlign
(nsAString
*aAlign
);
1402 nsresult SetAlign
(const nsAString
*aAlign
);
1403 nsresult GetBgColor
(nsAString
*aBgColor
);
1404 nsresult SetBgColor
(const nsAString
*aBgColor
);
1405 nsresult GetCh
(nsAString
*aCh
);
1406 nsresult SetCh
(const nsAString
*aCh
);
1407 nsresult GetChOff
(nsAString
*aChOff
);
1408 nsresult SetChOff
(const nsAString
*aChOff
);
1409 nsresult GetVAlign
(nsAString
*aVAlign
);
1410 nsresult SetVAlign
(const nsAString
*aVAlign
);
1411 nsresult InsertCell
(PRInt32 index
, nsIDOMHTMLElement
**_retval
);
1412 nsresult DeleteCell
(PRInt32 index
);
1417 uuid(94928ab3
-8b63
-11d3
-989d
-001083010e9b
),
1421 interface nsIURIContentListener
: nsISupports
1423 nsresult OnStartURIOpen
(nsIURI
*aURI
, PRBool
*_retval
);
1424 nsresult DoContent
(const char *aContentType
, PRBool aIsContentPreferred
, nsIRequest
*aRequest
,
1425 nsIStreamListener
**aContentHandler
, PRBool
*_retval
);
1426 nsresult IsPreferred
(const char *aContentType
, char **aDesiredContentType
, PRBool
*_retval
);
1427 nsresult CanHandleContent
(const char *aContentType
, PRBool aIsContentPreferred
,
1428 char **aDesiredContentType
, PRBool
*_retval
);
1429 nsresult GetLoadCookie
(nsISupports
**aLoadCookie
);
1430 nsresult SetLoadCookie
(nsISupports
*aLoadCookie
);
1431 nsresult GetParentContentListener
(nsIURIContentListener
**aParentContentListener
);
1432 nsresult SetParentContentListener
(nsIURIContentListener
*aParentContentListener
);
1437 uuid(44b78386
-1dd2
-11b2
-9ad2
-e4eee2ca1916
),
1441 interface nsITooltipListener
: nsISupports
1443 nsresult OnShowTooltip
(PRInt32 aXCoords
, PRInt32 aYCoords
, const PRUnichar
*aTipText
);
1444 nsresult OnHideTooltip
();
1449 uuid(69e5df00
-7b8b
-11d3
-af61
-00a024ffc08c
),
1453 interface nsIWebBrowser
: nsISupports
1455 nsresult AddWebBrowserListener
(nsIWeakReference
*aListener
, const nsIID
*aIID
);
1456 nsresult RemoveWebBrowserListener
(nsIWeakReference
*aListener
, const nsIID
*aIID
);
1457 nsresult GetContainerWindow
(nsIWebBrowserChrome
**aContainerWindow
);
1458 nsresult SetContainerWindow
(nsIWebBrowserChrome
*aContainerWindow
);
1459 nsresult GetParentURIContentListener
(nsIURIContentListener
**aParentURIContentListener
);
1460 nsresult SetParentURIContentListener
(nsIURIContentListener
*aParentURIContentListener
);
1461 nsresult GetContentDOMWindow
(nsIDOMWindow
**aContentDOMWindow
);
1464 cpp_quote
("#define SETUP_ALLOW_JAVASCRIPT 2")
1465 cpp_quote
("#define SETUP_IS_CHROME_WRAPPER 7")
1469 uuid(f15398a0
-8018-11d3
-af70
-00a024ffc08c
),
1473 interface nsIWebBrowserSetup
: nsISupports
1475 nsresult SetProperty
(PRUint32 aId
, PRUint32 aValue
);
1478 typedef void* nativeWindow
;
1482 uuid(046bc8a0
-8015-11d3
-af70
-00a024ffc08c
),
1486 interface nsIBaseWindow
: nsISupports
1488 nsresult InitWindow
(nativeWindow parentNativeWindow
, nsIWidget
*parentWidget
, PRInt32 x
,
1489 PRInt32 y
, PRInt32 cx
, PRInt32 cy
);
1492 nsresult SetPosition
(PRInt32 x
, PRInt32 y
);
1493 nsresult GetPosition
(PRInt32
*x
, PRInt32
*y
);
1494 nsresult SetSize
(PRInt32 cx
, PRInt32 cy
, PRBool fRepaint
);
1495 nsresult GetSize
(PRInt32
*cx
, PRInt32
*cy
);
1496 nsresult SetPositionAndSize
(PRInt32 x
, PRInt32 y
, PRInt32 cx
, PRInt32 cy
, PRBool fRepaint
);
1497 nsresult GetPositionAndSize
(PRInt32
*x
, PRInt32
*y
, PRInt32
*cx
, PRInt32
*cy
);
1498 nsresult Repaint
(PRBool force
);
1499 nsresult GetParentWidget
(nsIWidget
**aParentWidget
);
1500 nsresult SetParentWidget
(nsIWidget
*aParentWidget
);
1501 nsresult GetParentNativeWindow
(nativeWindow
*aParentNativeWindow
);
1502 nsresult SetParentNativeWindow
(nativeWindow aParentNativeWindow
);
1503 nsresult GetVisibility
(PRBool
*aVisibility
);
1504 nsresult SetVisibility
(PRBool aVisibility
);
1505 nsresult GetEnabled
(PRBool
*aEnabled
);
1506 nsresult SetEnabled
(PRBool aEnabled
);
1507 nsresult GetBlurSuppression
(PRBool
*aBlurSuppression
);
1508 nsresult SetBlurSuppression
(PRBool aBlurSuppression
);
1509 nsresult GetMainWidget
(nsIWidget
**aMainWidget
);
1510 nsresult SetFocus
();
1511 nsresult GetTitle
(PRUnichar
**aTitle
);
1512 nsresult SetTitle
(const PRUnichar
*aTitle
);
1515 cpp_quote
("#define LOAD_FLAGS_NONE 0")
1519 uuid(f5d9e7b0
-d930
-11d3
-b057
-00a024ffc08c
),
1523 interface nsIWebNavigation
: nsISupports
1525 nsresult GetCanGoBack
(PRBool
*aCanGoBack
);
1526 nsresult GetCanGoForward
(PRBool
*aCanGoForward
);
1528 nsresult GoForward
();
1529 nsresult GotoIndex
(PRInt32 index
);
1530 nsresult LoadURI
(const PRUnichar
*aURI
, PRUint32 aLoadFlags
, nsIURI
*aReferrer
,
1531 nsIInputStream
*aPostData
, nsIInputStream
*aHeaders
);
1532 nsresult Reload
(PRUint32 aReloadFlags
);
1533 nsresult Stop
(PRUint32 aStopFlags
);
1534 nsresult GetDocument
(nsIDOMDocument
**aDocument
);
1535 nsresult GetCurrentURI
(nsIURI
**aCurrentURI
);
1536 nsresult GetReferringURI
(nsIURI
**aReferringURI
);
1537 nsresult GetSessionHistory
(nsISHistory
**aSessionHistory
);
1538 nsresult SetSessionHistory
(nsISHistory
*aSessionHistory
);
1543 uuid(f1094df6
-ce0e
-42c9
-9847-2f663172c38d
),
1547 interface nsIPrintSettings
: nsISupports
1549 typedef struct { char dummy
; } nsMargin
;
1551 nsresult SetPrintOptions
(PRInt32 aType
, PRBool aTurnOnOff
);
1552 nsresult GetPrintOptions
(PRInt32 aType
, PRBool
*_retval
);
1553 nsresult GetPrintOptionsBits
(PRInt32
*_retval
);
1554 nsresult GetPageSizeInTwips
(PRInt32
*aWidth
, PRInt32
*aHeight
);
1555 nsresult Clone
(nsIPrintSettings
**_retval
);
1556 nsresult Assign
(nsIPrintSettings
*aPS
);
1557 nsresult GetPrintSession
(nsIPrintSession
**aPrintSession
);
1558 nsresult SetPrintSession
(nsIPrintSession
*aPrintSession
);
1559 nsresult GetStartPageRange
(PRInt32
*aStartPageRange
);
1560 nsresult SetStartPageRange
(PRInt32 aStartPageRange
);
1561 nsresult GetEndPageRange
(PRInt32
*aEndPageRange
);
1562 nsresult SetEndPageRange
(PRInt32 aEndPageRange
);
1563 nsresult GetMarginTop
(double *aMarginTop
);
1564 nsresult SetMarginTop
(double aMarginTop
);
1565 nsresult GetMarginLeft
(double *aMarginLeft
);
1566 nsresult SetMarginLeft
(double aMarginLeft
);
1567 nsresult GetMarginBottom
(double *aMarginBottom
);
1568 nsresult SetMarginBottom
(double aMarginBottom
);
1569 nsresult GetMarginRight
(double *aMarginRight
);
1570 nsresult SetMarginRight
(double aMarginRight
);
1571 nsresult GetScaling
(double *aScaling
);
1572 nsresult SetScaling
(double aScaling
);
1573 nsresult GetPrintBGColors
(PRBool
*aPrintBGColors
);
1574 nsresult SetPrintBGColors
(PRBool aPrintBGColors
);
1575 nsresult GetPrintBGImages
(PRBool
*aPrintBGImages
);
1576 nsresult SetPrintBGImages
(PRBool aPrintBGImages
);
1577 nsresult GetPrintRange
(PRInt16
*aPrintRange
);
1578 nsresult SetPrintRange
(PRInt16 aPrintRange
);
1579 nsresult GetTitle
(PRUnichar
**aTitle
);
1580 nsresult SetTitle
(const PRUnichar
*aTitle
);
1581 nsresult GetDocURL
(PRUnichar
**aDocURL
);
1582 nsresult SetDocURL
(const PRUnichar
*aDocURL
);
1583 nsresult GetHeaderStrLeft
(PRUnichar
**aHeaderStrLeft
);
1584 nsresult SetHeaderStrLeft
(const PRUnichar
*aHeaderStrLeft
);
1585 nsresult GetHeaderStrCenter
(PRUnichar
**aHeaderStrCenter
);
1586 nsresult SetHeaderStrCenter
(const PRUnichar
*aHeaderStrCenter
);
1587 nsresult GetHeaderStrRight
(PRUnichar
**aHeaderStrRight
);
1588 nsresult SetHeaderStrRight
(const PRUnichar
*aHeaderStrRight
);
1589 nsresult GetFooterStrLeft
(PRUnichar
**aFooterStrLeft
);
1590 nsresult SetFooterStrLeft
(const PRUnichar
*aFooterStrLeft
);
1591 nsresult GetFooterStrCenter
(PRUnichar
**aFooterStrCenter
);
1592 nsresult SetFooterStrCenter
(const PRUnichar
*aFooterStrCenter
);
1593 nsresult GetFooterStrRight
(PRUnichar
**aFooterStrRight
);
1594 nsresult SetFooterStrRight
(const PRUnichar
*aFooterStrRight
);
1595 nsresult GetHowToEnableFrameUI
(PRInt16
*aHowToEnableFrameUI
);
1596 nsresult SetHowToEnableFrameUI
(PRInt16 aHowToEnableFrameUI
);
1597 nsresult GetIsCancelled
(PRBool
*aIsCancelled
);
1598 nsresult SetIsCancelled
(PRBool aIsCancelled
);
1599 nsresult GetPrintFrameTypeUsage
(PRInt16
*aPrintFrameTypeUsage
);
1600 nsresult SetPrintFrameTypeUsage
(PRInt16 aPrintFrameTypeUsage
);
1601 nsresult GetPrintFrameType
(PRInt16
*aPrintFrameType
);
1602 nsresult SetPrintFrameType
(PRInt16 aPrintFrameType
);
1603 nsresult GetPrintSilent
(PRBool
*aPrintSilent
);
1604 nsresult SetPrintSilent
(PRBool aPrintSilent
);
1605 nsresult GetShrinkToFit
(PRBool
*aShrinkToFit
);
1606 nsresult SetShrinkToFit
(PRBool aShrinkToFit
);
1607 nsresult GetShowPrintProgress
(PRBool
*aShowPrintProgress
);
1608 nsresult SetShowPrintProgress
(PRBool aShowPrintProgress
);
1609 nsresult GetPaperName
(PRUnichar
**aPaperName
);
1610 nsresult SetPaperName
(const PRUnichar
*aPaperName
);
1611 nsresult GetPaperSizeType
(PRInt16
*aPaperSizeType
);
1612 nsresult SetPaperSizeType
(PRInt16 aPaperSizeType
);
1613 nsresult GetPaperData
(PRInt16
*aPaperData
);
1614 nsresult SetPaperData
(PRInt16 aPaperData
);
1615 nsresult GetPaperWidth
(double *aPaperWidth
);
1616 nsresult SetPaperWidth
(double aPaperWidth
);
1617 nsresult GetPaperHeight
(double *aPaperHeight
);
1618 nsresult SetPaperHeight
(double aPaperHeight
);
1619 nsresult GetPaperSizeUnit
(PRInt16
*aPaperSizeUnit
);
1620 nsresult SetPaperSizeUnit
(PRInt16 aPaperSizeUnit
);
1621 nsresult GetPlexName
(PRUnichar
**aPlexName
);
1622 nsresult SetPlexName
(const PRUnichar
*aPlexName
);
1623 nsresult GetColorspace
(PRUnichar
**aColorspace
);
1624 nsresult SetColorspace
(const PRUnichar
*aColorspace
);
1625 nsresult GetResolutionName
(PRUnichar
**aResolutionName
);
1626 nsresult SetResolutionName
(const PRUnichar aResolutionName
);
1627 nsresult GetDownloadFonts
(PRBool
*aDownloadFonts
);
1628 nsresult SetDownloadFonts
(PRBool aDownloadFonts
);
1629 nsresult GetPrintReversed
(PRBool
*aPrintReversed
);
1630 nsresult SetPrintReversed
(PRBool aPrintReversed
);
1631 nsresult GetPrintInColor
(PRBool
*aPrintInColor
);
1632 nsresult SetPrintInColor
(PRBool aPrintInColor
);
1633 nsresult GetPaperSize
(PRInt32
*aPaperSize
);
1634 nsresult SetPaperSize
(PRInt32 aPaperSize
);
1635 nsresult GetOrientation
(PRInt32
*aOrientation
);
1636 nsresult SetOrientation
(PRInt32 aOrientation
);
1637 nsresult GetPrintCommand
(PRUnichar
**aPrintCommand
);
1638 nsresult SetPrintCommand
(const PRUnichar
*aPrintCommand
);
1639 nsresult GetNumCopies
(PRInt32
*aNumCopies
);
1640 nsresult SetNumCopies
(PRInt32 aNumCopies
);
1641 nsresult GetPrinterName
(PRUnichar
**aPrinterName
);
1642 nsresult SetPrinterName
(const PRUnichar
*aPrinterName
);
1643 nsresult GetPrintToFile
(PRBool
*aPrintToFile
);
1644 nsresult SetPrintToFile
(PRBool aPrintToFile
);
1645 nsresult GetToFileName
(PRUnichar
**aToFileName
);
1646 nsresult SetToFileName
(const PRUnichar
*aToFileName
);
1647 nsresult GetPrintPageDelay
(PRInt32
*aPrintPageDelay
);
1648 nsresult SetPrintPageDelay
(PRInt32 aPrintPageDelay
);
1649 nsresult GetIsInitializedFromPrinter
(PRBool
*aIsInitializedFromPrinter
);
1650 nsresult SetIsInitializedFromPrinter
(PRBool aIsInitializedFromPrinter
);
1651 nsresult GetIsInitializedFromPrefs
(PRBool
*aIsInitializedFromPrefs
);
1652 nsresult SetIsInitializedFromPrefs
(PRBool aIsInitializedFromPrefs
);
1653 nsresult SetMarginInTwips
(nsMargin
*aMargin
);
1654 nsresult GetMarginInTwips
(nsMargin
*aMargin
);
1659 uuid(9a7ca4b0
-fbba
-11d4
-a869
-00105a183419
),
1663 interface nsIWebBrowserPrint
: nsISupports
1665 nsresult GetGlobalPrintSettings
(nsIPrintSettings
**aGlobalPrintSettings
);
1666 nsresult GetCurrentPrintSettings
(nsIPrintSettings
**aCurrentPrintSettings
);
1667 nsresult GetCurrentChildDOMWindow
(nsIDOMWindow
**aCurrentChildDOMWindow
);
1668 nsresult GetDoingPrint
(PRBool
*aDoingPrint
);
1669 nsresult GetDoingPrintPreview
(PRBool
*aDoingPrintPreview
);
1670 nsresult GetIsFramesetDocument
(PRBool
*aIsFramesetDocument
);
1671 nsresult GetIsFramesetFrameSelected
(PRBool
*aIsFramesetFrameSelected
);
1672 nsresult GetIsIFrameSelected
(PRBool
*aIsIFrameSelected
);
1673 nsresult GetIsRangeSelection
(PRBool
*aIsRangeSelection
);
1674 nsresult GetPrintPreviewNumPages
(PRInt32
*aPrintPreviewNumPages
);
1675 nsresult Print
(nsIPrintSettings
*aThePrintSettings
, nsIWebProgressListener
*aWPListener
);
1676 nsresult PrintPreview
(nsIPrintSettings
*aThePrintSettings
, nsIDOMWindow
*aChildDOMWin
,
1677 nsIWebProgressListener
*aWPListener
);
1678 nsresult PrintPreviewNavigate
(PRInt16 aNavType
, PRInt32 aPageNum
);
1680 nsresult EnumerateDocumentNames
(PRUint32
*aCount
, PRUnichar
***aResult
);
1681 nsresult ExitPrintPreview
();
1686 uuid(919e792a
-6490-40b8
-bba5
-f9e9ad5640c8
),
1690 interface nsIScrollable
: nsISupports
1693 ScrollOrientation_X
= 1,
1694 ScrollOrientation_Y
= 2
1699 Scrollbar_Never
= 2,
1700 Scrollbar_Always
= 3
1703 nsresult GetCurScrollPos
(PRInt32 scrollOrientation
, PRInt32
*curPos
);
1704 nsresult SetCurScrollPos
(PRInt32 scrollOrientation
, PRInt32 curPos
);
1705 nsresult SetCurScrollPosEx
(PRInt32 curHorizontalPos
, PRInt32 curVerticalPos
);
1706 nsresult GetScrollRange
(PRInt32 scrollOrientation
, PRInt32
*minPos
, PRInt32
*maxPos
);
1707 nsresult SetScrollRange
(PRInt32 scrollOrientation
, PRInt32 minPos
, PRInt32 maxPos
);
1708 nsresult SetScrollRangeEx
(PRInt32 minHorizontalPos
, PRInt32 maxHorizontalPos
,
1709 PRInt32 minVerticalPos
, PRInt32 maxVerticalPos
);
1710 nsresult GetDefaultScrollbarPreferences
(PRInt32 scrollOrientation
, PRInt32
*scrollbarPref
);
1711 nsresult SetDefaultScrollbarPreferences
(PRInt32 scrollOrientation
, PRInt32 scrollbarPref
);
1712 nsresult GetScrollbarVisibility
(PRBool
*verticalVisible
, PRBool
*horizontalVisible
);
1717 uuid(c8c0a080
-0868-11d3
-915f
-d9d889d48e3c
),
1721 interface nsIFile
: nsISupports
1723 nsresult Append
(const nsAString
*node
);
1724 nsresult AppendNative
(const nsAString
*node
);
1725 nsresult Normalize
();
1726 nsresult Create
(PRUint32 type
, PRUint32 permission
);
1727 nsresult GetLeafName
(nsAString
*aLeafName
);
1728 nsresult SetLeafName
(const nsAString
*aLeafName
);
1729 nsresult GetNativeLeafName
(nsAString
*aLeafName
);
1730 nsresult SetNativeLeafName
(const nsAString
*aLeafName
);
1731 nsresult CopyTo
(nsIFile
*newParentDir
, const nsAString
*newName
);
1732 nsresult CopyToNative
(nsIFile
*newParentDir
, const nsAString
*newName
);
1733 nsresult CopyToFollowingLinks
(nsIFile
*newParentDir
, const nsAString
*newName
);
1734 nsresult CopyToFollowingLinksNative
(nsIFile
*newParentDir
, const nsAString
*newName
);
1735 nsresult MoveTo
(nsIFile
*newParentDir
, const nsAString
*newName
);
1736 nsresult MoveToNative
(nsIFile
*newParentDir
, const nsAString
*newName
);
1737 nsresult Remove
(PRBool recursive
);
1738 nsresult GetPermissions
(PRUint32
*aPermissions
);
1739 nsresult SetPermissions
(PRUint32 pPermissions
);
1740 nsresult GetPermissionsOfLink
(PRUint32
*aPermissions
);
1741 nsresult SetPermissionsOfLink
(PRUint32 pPermissions
);
1742 nsresult GetLastModifiedTime
(PRInt64
*aLastModifiedTime
);
1743 nsresult SetLastModifiedTime
(PRInt64 aLastModifiedTime
);
1744 nsresult GetFileSize
(PRInt64
*aFileSize
);
1745 nsresult SetFileSize
(PRInt64 aFileSize
);
1746 nsresult GetFileSizeOfLink
(PRInt64
*aFileSizeOfLink
);
1747 nsresult GetTarget
(nsAString
*aTarget
);
1748 nsresult GetNativeTarget
(nsACString
*aNativeTarget
);
1749 nsresult GetPath
(nsAString
*aPath
);
1750 nsresult GetNativePath
(nsACString
*aNativePath
);
1751 nsresult Exists
(PRBool
*_retval
);
1752 nsresult IsWritable
(PRBool
*_retval
);
1753 nsresult IsReadable
(PRBool
*_retval
);
1754 nsresult IsExecutable
(PRBool
*_retval
);
1755 nsresult IsHidden
(PRBool
*_retval
);
1756 nsresult IsDirectory
(PRBool
*_retval
);
1757 nsresult IsFile
(PRBool
*_retval
);
1758 nsresult IsSymlink
(PRBool
*_retval
);
1759 nsresult IsSpecial
(PRBool
*_retval
);
1760 nsresult CreateUnique
(PRUint32 type
, PRUint32 permission
);
1761 nsresult Clone
(nsIFile
**_retval
);
1762 nsresult Equals
(nsIFile
*inFile
, PRBool
*_retval
);
1763 nsresult Contains
(nsIFile
*inFile
, PRBool recir
, PRBool
*_retval
);
1764 nsresult GetParent
(nsIFile
**aParent
);
1765 nsresult GetDirectoryEntries
(nsISimpleEnumerator
**aDirectoryEntries
);
1770 uuid(56c35506
-f14b
-11d3
-99d3
-ddbfac2ccf65
),
1774 interface nsIPrefBranch
: nsISupports
1776 nsresult GetRoot
(char **aRoot
);
1777 nsresult GetPrefType
(const char *aPrefName
, PRInt32
*_retval
);
1778 nsresult GetBoolPref
(const char *aPrefName
, PRBool
*_retval
);
1779 nsresult SetBoolPref
(const char *aPrefName
, PRInt32 aValue
);
1780 nsresult GetCharPref
(const char *aPrefName
, char **_retval
);
1781 nsresult SetCharPref
(const char *aPrefName
, const char *aValue
);
1782 nsresult GetIntPref
(const char *aPrefName
, PRInt32
*_retval
);
1783 nsresult SetIntPref
(const char *aPrefName
, PRInt32 aValue
);
1784 nsresult GetComplexValue
(const char *aPrefName
, const nsIID
*aType
, void **aValue
);
1785 nsresult SetComplexValue
(const char *aPrefName
, const nsIID
*aType
, nsISupports
*aValue
);
1786 nsresult ClearUserPref
(const char *aPrefName
);
1787 nsresult LockPref
(const char *aPrefName
);
1788 nsresult PrefHasUserValue
(const char *aPrefName
, PRBool
*_retval
);
1789 nsresult PrefIsLocked
(const char *aPrefName
, PRBool
*_retval
);
1790 nsresult UnlockPref
(const char *aPrefName
);
1791 nsresult DeleteBranch
(const char *aStartingAt
);
1792 nsresult GetChildList
(const char *aStartingAt
, PRUint32
*aCount
, char ***aChildArray
);
1793 nsresult ResetBranch
(const char *aStartingAt
);
1798 uuid(15fd6940
-8ea7
-11d3
-93ad
-00104ba0fd40
),
1802 interface nsIProtocolHandler
: nsISupports
1804 nsresult GetScheme
(nsACString
*aScheme
);
1805 nsresult GetDefaultPort
(PRInt32
*aDefaultPort
);
1806 nsresult GetProtocolFlags
(PRUint32
*aProtocolFlags
);
1807 nsresult NewURI
(const nsACString
*aSpec
, const char *aOriginCharset
,
1808 nsIURI
*aBaseURI
, nsIURI
**_retval
);
1809 nsresult NewChannel
(nsIURI
*aURI
, nsIChannel
**_retval
);
1810 nsresult AllowPort
(PRInt32 port
, const char *scheme
, PRBool
*_retval
);
1815 uuid(0e61f3b2
-34d7
-4c79
-bfdc
-4860bc7341b7
),
1819 interface nsIExternalProtocolHandler
: nsIProtocolHandler
1821 nsresult ExternalAppExistsForScheme
(const nsACString
*scheme
, PRBool
*_retval
);
1826 uuid(bddeda3f
-9020-4d12
-8c70
-984ee9f7935e
),
1830 interface nsIIOService
: nsISupports
1832 nsresult GetProtocolHandler
(const char *aScheme
, nsIProtocolHandler
**_retval
);
1833 nsresult GetProtocolFlags
(const char *aScheme
, PRUint32
*_retval
);
1834 nsresult NewURI
(const nsACString
*aSpec
, const char *aOriginCharset
, nsIURI
*aBaseURI
,
1836 nsresult NewFileURI
(nsIFile
*aFile
, nsIURI
**_retval
);
1837 nsresult NewChannelFromURI
(nsIURI
*aURI
, nsIChannel
**_retval
);
1838 nsresult NewChannel
(const nsACString
*aSpec
, const char *aOriginCharset
, nsIURI
*aBaseURI
,
1839 nsIChannel
**_retval
);
1840 nsresult GetOffline
(PRBool
*aOffline
);
1841 nsresult SetOffline
(PRBool aOffline
);
1842 nsresult AllowPort
(PRInt32 aPort
, const char *aScheme
, PRBool
*_retval
);
1843 nsresult ExtractScheme
(const nsACString
*urlString
, nsACString
* _retval
);
1848 uuid(f0c5dddb
-4713-4603-af2d
-bf671838996b
),
1852 interface nsINetUtil
: nsISupports
1854 nsresult ParseContentType
(const nsACString
*aTypeHeader
, nsACString
*aCharset
,
1855 PRBool
*aHadCharset
, nsACString
*aContentType
);
1860 uuid(9c5d3c58
-1dd1
-11b2
-a1c9
-f3699284657a
),
1864 interface nsIWebBrowserFocus
: nsISupports
1866 nsresult Activate
();
1867 nsresult Deactivate
();
1868 nsresult SetFocusAtFirstElement
();
1869 nsresult SetFocusAtLastElement
();
1870 nsresult GetFocusedWindow
(nsIDOMWindow
**aFocusedWindow
);
1871 nsresult SetFocusedWindow
(nsIDOMWindow
*aFocusedWindow
);
1872 nsresult GetFocusedElement
(nsIDOMElement
**aFocusedElement
);
1873 nsresult SetFocusedElement
(nsIDOMElement
*aFocusedElement
);
1878 uuid(ba434c60
-9d52
-11d3
-afb0
-00a024ffc08c
),
1882 interface nsIWebBrowserChrome
: nsISupports
1884 nsresult SetStatus
(PRUint32 statusType
, const PRUnichar
*status
);
1885 nsresult GetWebBrowser
(nsIWebBrowser
**aWebBrowser
);
1886 nsresult SetWebBrowser
(nsIWebBrowser
*aWebBrowser
);
1887 nsresult GetChromeFlags
(PRUint32
*aChromeFlags
);
1888 nsresult SetChromeFlags
(PRUint32 aChromeFlags
);
1889 nsresult DestroyBrowserWindow
();
1890 nsresult SizeBrowserTo
(PRInt32 aCX
, PRInt32 aCY
);
1891 nsresult ShowAsModal
();
1892 nsresult IsWindowModal
(PRBool
*_retval
);
1893 nsresult ExitModalEventLoop
(nsresult aStatus
);
1898 uuid(df31c120
-ded6
-11d1
-bd85
-00805f8ae3f4
),
1902 interface nsIDOMEventListener
: nsISupports
1904 nsresult HandleEvent
(nsIDOMEvent
*event
);
1909 uuid(1c773b30
-d1cf
-11d2
-bd95
-00805f8ae3f4
),
1913 interface nsIDOMEventTarget
: nsISupports
1915 nsresult AddEventListener
(const nsAString
*type
, nsIDOMEventListener
*listener
, PRBool useCapture
);
1916 nsresult RemoveEventListener
(const nsAString
*type
, nsIDOMEventListener
*listener
, PRBool useCapture
);
1917 nsresult DispatchEvent
(nsIDOMEvent
*evt
, PRBool
*_retval
);
1922 uuid(a66b7b80
-ff46
-bd97
-0080-5f8ae38add32
),
1926 interface nsIDOMEvent
: nsISupports
1928 nsresult GetType
(nsAString
*aType
);
1929 nsresult GetTarget
(nsIDOMEventTarget
**aTarget
);
1930 nsresult GetCurrentTarget
(nsIDOMEventTarget
**aCurrentTarget
);
1931 nsresult GetEventPhase
(PRUint16
*aEventPhase
);
1932 nsresult GetBubbles
(PRBool
*aBubbles
);
1933 nsresult GetCancelable
(PRBool
*aCancelable
);
1934 nsresult GetTimeStamp
(DOMTimeStamp
*aTimeStamp
);
1935 nsresult StopPropagation
();
1936 nsresult PreventDefault
();
1937 nsresult InitEvent
(const nsAString
*eventTypeArg
, PRBool canBubbleArg
, PRBool cancelableArg
);
1940 cpp_quote
("#define CONTEXT_NONE 0x00")
1941 cpp_quote
("#define CONTEXT_LINK 0x01")
1942 cpp_quote
("#define CONTEXT_IMAGE 0x02")
1943 cpp_quote
("#define CONTEXT_DOCUMENT 0x04")
1944 cpp_quote
("#define CONTEXT_TEXT 0x08")
1945 cpp_quote
("#define CONTEXT_INPUT 0x10")
1946 cpp_quote
("#define CONTEXT_BACKGROUND_IMAGE 0x20")
1950 uuid(3478b6b0
-3875-11d4
-94ef
-0020183bf181
),
1954 interface nsIContextMenuListener
: nsISupports
1956 nsresult OnShowContextMenu
(PRUint32 aContextFlags
, nsIDOMEvent
*aEvent
, nsIDOMNode
*aNode
);
1961 uuid(a6cf90c3
-15b3
-11d2
-932e-00805f8add32
),
1965 interface nsIDOMUIEvent
: nsIDOMEvent
1967 nsresult GetView
(nsIDOMAbstractView
**aView
);
1968 nsresult GetDetail
(PRInt32
*aDetail
);
1969 nsresult InitUIEvent
(const nsAString
*typeArg
, PRBool canBubbleArg
, PRBool cancelableArg
,
1970 nsIDOMAbstractView
*viewArg
, PRInt32 detailArg
);
1975 uuid(ff751edc
-8b02
-aae7
-0010-8301838a3123
),
1979 interface nsIDOMMouseEvent
: nsIDOMUIEvent
1981 nsresult GetScreenX
(PRInt32
*aScreenX
);
1982 nsresult GetScreenY
(PRInt32
*aScreenY
);
1983 nsresult GetClientX
(PRInt32
*aClientX
);
1984 nsresult GetClientY
(PRInt32
*aClientY
);
1985 nsresult GetCtrlKey
(PRBool
*aCtrlKey
);
1986 nsresult GetShiftKey
(PRBool
*aShiftKey
);
1987 nsresult GetAltKey
(PRBool
*aAltKey
);
1988 nsresult GetMetaKey
(PRBool
*aMetaKey
);
1989 nsresult GetButton
(PRUint16
*aButton
);
1990 nsresult GetRelatedTarget
(nsIDOMEventTarget
* *aRelatedTarget
);
1991 nsresult InitMouseEvent
(const nsAString
*typeArg
, PRBool canBubbleArg
, PRBool cancelableArg
,
1992 nsIDOMAbstractView
*viewArg
, PRInt32 detailArg
, PRInt32 screenXArg
, PRInt32 screenYArg
,
1993 PRInt32 clientXArg
, PRInt32 clientYArg
, PRBool ctrlKeyArg
, PRBool altKeyArg
,
1994 PRBool shiftKeyArg
, PRBool metaKeyArg
, PRUint16 buttonArg
,
1995 nsIDOMEventTarget
*relatedTargetArg
);
2000 uuid(028e0e6e
-8b01
-11d3
-aae7
-0010838a3123
),
2004 interface nsIDOMKeyEvent
: nsIDOMUIEvent
2006 nsresult GetCharCode
(PRUint32
*aCharCode
);
2007 nsresult GetKeyCode
(PRUint32
*aKeyCode
);
2008 nsresult GetAltKey
(PRBool
*aAltKey
);
2009 nsresult GetCtrlKey
(PRBool
*aCtrlKey
);
2010 nsresult GetShiftKey
(PRBool
*aShiftKey
);
2011 nsresult GetMetaKey
(PRBool
*aMetaKey
);
2012 nsresult InitKeyEvent
(const nsAString
*typeArg
, PRBool canBubbleArg
,
2013 PRBool cancelableArg
, nsIDOMAbstractView
*viewArg
, PRBool ctrlKeyArg
,
2014 PRBool altKeyArg
, PRBool shiftKeyArg
, PRBool metaKeyArg
, PRUint32 keyCodeArg
,
2015 PRUint32 charCodeArg
);
2020 uuid(3e5432cd
-9568-4bd1
-8cbe
-d50aba110743
),
2024 interface nsIEmbeddingSiteWindow
: nsISupports
2026 nsresult SetDimensions
(PRUint32 flags
, PRInt32 x
, PRInt32 y
, PRInt32 cx
, PRInt32 cy
);
2027 nsresult GetDimensions
(PRUint32 flags
, PRInt32
*x
, PRInt32
*y
, PRInt32
*cx
, PRInt32
*cy
);
2028 nsresult SetFocus
();
2029 nsresult GetVisibility
(PRBool
*aVisibility
);
2030 nsresult SetVisibility
(PRBool aVisibility
);
2031 nsresult GetTitle
(PRUnichar
**aTitle
);
2032 nsresult SetTitle
(const PRUnichar
*aTitle
);
2033 nsresult GetSiteWindow
(void **aSiteWindow
);
2038 uuid(2417cbfe
-65ad
-48a6
-b4b6
-eb84db174392
),
2042 interface nsIComponentRegistrar
: nsISupports
2044 nsresult AutoRegister
(nsIFile
*aSpec
);
2045 nsresult AutoUnregister
(nsIFile
*aSpec
);
2046 nsresult RegisterFactory
(const nsCID
*aClass
, const char *aClassName
,
2047 const char *aContractID
, nsIFactory
*aFactory
);
2048 nsresult UnregisterFactory
(const nsCID
*aClass
, nsIFactory
*aFactory
);
2049 nsresult RegisterFactoryLocation
(const nsCID
*aClass
, const char *aClassName
,
2050 const char *aContractID
, nsIFile
*aFile
, const char *aLoaderStr
,
2052 nsresult UnregisterFactoryLocation
(const nsCID
*aClass
, nsIFile
*aFile
);
2053 nsresult IsCIDRegistered
(const nsCID
*aClass
, PRBool
*_retval
);
2054 nsresult IsContractIDRegistered
(const char *aContractID
, PRBool
*_retval
);
2055 nsresult EnumerateCIDs
(nsISimpleEnumerator
**_retval
);
2056 nsresult EnumerateContractIDs
(nsISimpleEnumerator
**_retval
);
2057 nsresult CIDToContractID
(const nsCID
*aClass
, char **_retval
);
2058 nsresult ContractIDToCID
(const char *aContractID
, nsCID
**_retval
);
2063 uuid(1630c61a
-325e-49ca
-8759-a31b16c47aa5
),
2067 interface nsIPromptService
: nsISupports
2069 nsresult Alert
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2070 const PRUnichar
*aText
);
2071 nsresult AlertCheck
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2072 const PRUnichar
*aText
, const PRUnichar
*aCheckMsg
, PRBool
*aCheckState
);
2073 nsresult Confirm
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2074 const PRUnichar
*aText
, PRBool
*_retval
);
2075 nsresult ConfirmCheck
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2076 const PRUnichar
*aText
, const PRUnichar
*aCheckMsg
, PRBool
*aCheckState
,
2078 nsresult ConfirmEx
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2079 const PRUnichar
*aText
, PRUint32 aButtonFlags
, const PRUnichar
*aButton0Title
,
2080 const PRUnichar
*aButton1Title
, const PRUnichar
*aButton2Title
,
2081 const PRUnichar
*aCheckMsg
, PRBool
*aCheckState
, PRInt32
*_retval
);
2082 nsresult Prompt
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2083 const PRUnichar
*aText
, PRUnichar
**aValue
, const PRUnichar
*aCheckMsg
,
2084 PRBool
*aCheckState
, PRBool
*_retval
);
2085 nsresult PromptUsernameAndPassword
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2086 const PRUnichar
*aText
, PRUnichar
**aUsername
, PRUnichar
**aPassword
,
2087 const PRUnichar
*aCheckMsg
, PRBool
*aCheckState
, PRBool
*_retval
);
2088 nsresult PromptPassword
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2089 const PRUnichar
*aText
, PRUnichar
**aPassword
, const PRUnichar
*aCheckMsg
,
2090 PRBool
*aCheckState
, PRBool
*_retval
);
2091 nsresult Select
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2092 const PRUnichar
*aText
, PRUint32 aCount
, const PRUnichar
**aSelectList
,
2093 PRInt32
*aOutSelection
, PRBool
*_retval
);
2098 uuid(b128a1e6
-44f3
-4331-8fbe
-5af360ff21ee
),
2102 interface nsITooltipTextProvider
: nsISupports
2104 nsresult GetNodeText
(nsIDOMNode
*aNode
, PRUnichar
**aText
, PRBool
*_retval
);
2109 uuid(02b0625a
-e7f3
-11d2
-9f5a
-006008a6efe9
),
2113 interface nsIProfile
: nsISupports
2115 nsresult GetProfileCount
(PRInt32
*aProfileCount
);
2116 nsresult GetProfileList
(PRUint32
*length
, PRUnichar
***profileNames
);
2117 nsresult ProfileExists
(const PRUnichar
*profileName
, PRBool
*_retval
);
2118 nsresult GetCurrentProfile
(PRUnichar
* *aCurrentProfile
);
2119 nsresult SetCurrentProfile
(const PRUnichar
* aCurrentProfile
);
2120 nsresult ShutDownCurrentProfile
(PRUint32 shutDownType
);
2121 nsresult CreateNewProfile
(const PRUnichar
*profileName
,
2122 const PRUnichar
*nativeProfileDir
, const PRUnichar
*langcode
,
2123 PRBool useExistingDir
);
2124 nsresult RenameProfile
(const PRUnichar
*oldName
, const PRUnichar
*newName
);
2125 nsresult DeleteProfile
(const PRUnichar
*name
, PRBool canDeleteFiles
);
2126 nsresult CloneProfile
(const PRUnichar
*profileName
);
2131 uuid(30465632-a777
-44cc
-90f9
-8145475ef999
),
2135 interface nsIWindowCreator
: nsISupports
2137 nsresult CreateChromeWindow
(nsIWebBrowserChrome
*parent
, PRUint32 chromeFlags
,
2138 nsIWebBrowserChrome
**_retval
);
2143 uuid(f673ec81
-a4b0
-11d6
-964b
-eb5a2bf216fc
),
2147 interface nsIWindowCreator2
: nsIWindowCreator
2149 nsresult CreateChromeWindow2
(nsIWebBrowserChrome
*parent
, PRUint32 chromeFlags
,
2150 PRUint32 contextFlags
, nsIURI
*uri
, PRBool
*cancel
,
2151 nsIWebBrowserChrome
**_retval
);
2156 uuid(002286a8
-494b
-43b3
-8ddd
-49e3fc50622b
),
2160 interface nsIWindowWatcher
: nsISupports
2162 nsresult OpenWindow
(nsIDOMWindow
*aParent
, const char *aUrl
, const char *aName
,
2163 const char *aFeatures
, nsISupports
*aArguments
, nsIDOMWindow
**_retval
);
2164 nsresult RegisterNotification
(nsIObserver
*aObserver
);
2165 nsresult UnregisterNotification
(nsIObserver
*aObserver
);
2166 nsresult GetWindowEnumerator
(nsISimpleEnumerator
**_retval
);
2167 nsresult GetNewPrompter
(nsIDOMWindow
*aParent
, nsIPrompt
**_retval
);
2168 nsresult GetNewAuthPrompter
(nsIDOMWindow
*aParent
, nsIAuthPrompt
**_retval
);
2169 nsresult SetWindowCreator
(nsIWindowCreator
*creator
);
2170 nsresult GetChromeForWindow
(nsIDOMWindow
*aWindow
, nsIWebBrowserChrome
**_retval
);
2171 nsresult GetWindowByName
(const PRUnichar
*aTargetName
, nsIDOMWindow
*aCurrentWindow
,
2172 nsIDOMWindow
**_retval
);
2173 nsresult GetActiveWindow
(nsIDOMWindow
**aActiveWindow
);
2174 nsresult SetActiveWindow
(nsIDOMWindow
*aActiveWindow
);
2179 uuid(d39fd2b4
-3978-45d2
-a4be
-ba448171b61b
),
2183 interface nsIEditingSession
: nsISupports
2185 nsresult GetEditorStatus
(PRUint32
*aEditorStatus
);
2186 nsresult MakeWindowEditable
(nsIDOMWindow
*window
, const char *aEditorType
,
2187 PRBool doAfterUriLoad
);
2188 nsresult WindowIsEditable
(nsIDOMWindow
*window
, PRBool
*_retval
);
2189 nsresult GetEditorForWindow
(nsIDOMWindow
*window
, nsIEditor
**_retval
);
2190 nsresult SetupEditorOnWindow
(nsIDOMWindow
*window
);
2191 nsresult TearDownEditorOnWindow
(nsIDOMWindow
*window
);
2192 nsresult SetEditorOnControllers
(nsIDOMWindow
*aWindow
, nsIEditor
*aEditor
);
2197 uuid(83f892cf
-7ed3
-490e-967a
-62640f3158e1
),
2201 interface nsICommandParams
: nsISupports
2203 nsresult GetValueType
(const char *name
, PRInt16
*_retval
);
2204 nsresult GetBooleanValue
(const char *name
, PRBool
*_retval
);
2205 nsresult GetLongValue
(const char *name
, PRInt32
*_retval
);
2206 nsresult GetDoubleValue
(const char *name
, double *_retval
);
2207 nsresult GetStringValue
(const char *name
, nsAString
*_retval
);
2208 nsresult GetCStringValue
(const char *name
, char **_retval
);
2209 nsresult GetISupportsValue
(const char *name
, nsISupports
**_retval
);
2210 nsresult SetBooleanValue
(const char *name
, PRBool value
);
2211 nsresult SetLongValue
(const char *name
, PRInt32 value
);
2212 nsresult SetDoubleValue
(const char *name
, double value
);
2213 nsresult SetStringValue
(const char *name
, const nsAString
*value
);
2214 nsresult SetCStringValue
(const char *name
, const char *value
);
2215 nsresult SetISupportsValue
(const char *name
, nsISupports
*value
);
2216 nsresult RemoveValue
(const char *name
);
2217 nsresult HasMoreElements
(PRBool
*_retval
);
2219 nsresult GetNext
(char **_retval
);
2224 uuid(080d2001
-f91e
-11d4
-a73c
-f9242928207c
),
2228 interface nsICommandManager
: nsISupports
2230 nsresult AddCommandObserver
(nsIObserver
*aCommandObserver
, const char *aCommandToObserve
);
2231 nsresult RemoveCommandObserver
(nsIObserver
*aCommandObserver
, const char *aCommandObserved
);
2232 nsresult IsCommandSupported
(const char *aCommandName
, nsIDOMWindow
*aTargetWindow
, PRBool
*_retval
);
2233 nsresult IsCommandEnabled
(const char *aCommandName
, nsIDOMWindow
*aTargetWindow
, PRBool
*_retval
);
2234 nsresult GetCommandState
(const char *aCommandName
, nsIDOMWindow
*aTargetWindow
,
2235 nsICommandParams
*aCommandParams
);
2236 nsresult DoCommand
(const char *aCommandName
, nsICommandParams
*aCommandParams
,
2237 nsIDOMWindow
*aTargetWindow
);
2242 uuid(47b82b60
-a36f
-4167-8072-6f421151ed50
),
2246 interface nsIControllerContext
: nsISupports
2248 nsresult Init
(nsIControllerCommandTable
*aCommandTable
);
2249 nsresult SetCommandContext
(nsISupports
*aCommandContext
);
2254 uuid(d5b61b82
-1da4
-11d3
-bf87
-00105a1b0627
),
2258 interface nsIController
: nsISupports
2260 nsresult IsCommandEnabled
(const char *command
, PRBool
*_retval
);
2261 nsresult SupportsCommand
(const char *command
, PRBool
*_retval
);
2262 nsresult DoCommand
(const char *command
);
2263 nsresult OnEvent
(const char *eventName
);
2268 uuid(d650439a
-ca29
-410d
-a906
-b0557fb62fcd
),
2272 interface nsIContentSerializer
: nsISupports
2274 nsresult Init
(PRUint32 flags
, PRUint32 aWrapColumn
, const char* aCharSet
, PRBool aIsCopying
);
2275 nsresult AppendText
(nsIDOMText
*aText
, PRInt32 aStartOffset
, PRInt32 aEndOffset
, nsAString
*aStr
);
2276 nsresult AppendCDATASection
(nsIDOMCDATASection
*aCDATASection
, PRInt32 aStartOffset
,
2277 PRInt32 aEndOffset
, nsAString
*aStr
);
2278 nsresult AppendProcessingInstruction
(nsIDOMProcessingInstruction
* aPI
, PRInt32 aStartOffset
,
2279 PRInt32 aEndOffset
, nsAString
*aStr
);
2280 nsresult AppendComment
(nsIDOMComment
*aComment
, PRInt32 aStartOffset
, PRInt32 aEndOffset
,
2282 nsresult AppendDoctype
(nsIDOMDocumentType
*aDoctype
, nsAString
*aStr
);
2283 nsresult AppendElementStart
(nsIDOMElement
*aElement
, PRBool aHasChildren
, nsAString
*aStr
);
2284 nsresult AppendElementEnd
(nsIDOMElement
*aElement
, nsAString
*aStr
);
2285 nsresult Flush
(nsAString
*aStr
);
2286 nsresult AppendDocumentStart
(nsIDOMDocument
*aDocument
, nsAString
*aStr
);
2291 uuid(68b97c56
-2289-48ac
-a9e1
-72c30fd3dba2
),
2294 interface nsIScriptContainer
: nsISupports
2296 typedef void *JSObject
;
2298 nsresult GetContext
(void **aContext
);
2299 nsresult GetGlobalObject
(void **aGlobalObject
);
2300 nsresult CompileScript
(const PRUnichar
*aText
, PRInt32 aTextLength
, void *aScopeObject
,
2301 nsIPrincipal
*aPrincipal
, const char *aURL
, PRUint32 aLineNo
, PRUint32 aVersion
, void **_retval
);
2302 nsresult ExecuteScript
(void *aScriptObject
, void *aScopeObject
, nsAString
*aRetVal
, PRBool
*aIsUndefined
);
2303 nsresult CompileFunction
(void *aTarget
, const nsACString
*aName
, PRUint32 aArgCount
,
2304 const char **aArgArray
, const nsAString
*aBody
, const char *aURL
, PRInt32 aLineNo
,
2305 PRBool aShared
, void* *_retval
);
2306 nsresult CallFunction
(nsISupports
*aTarget
, void *aScope
, void *aHandler
, nsIArray
*argv
,
2307 nsIVariant
**_retval
);
2308 nsresult BindEventHandler
(nsISupports
*aTarget
, void *aScope
, nsIAtom
*aName
, void *aHandler
);
2309 nsresult HoldScriptObject
(void *aObject
);
2310 nsresult DropScriptObject
(void *aObject
);
2315 uuid(D4882FFB
-E927
-408b
-96BE
-D4391B456FA9
),
2318 interface nsIEditor
: nsISupports
2320 typedef void *nsIPresShellPtr
;
2321 typedef void *nsIContentPtr
;
2323 nsresult GetSelection
([out] nsISelection
*_retval
);
2324 nsresult Init
([in] nsIDOMDocument
*doc
, [in] nsIPresShellPtr shell
, [in] nsIContentPtr aRoot
, [in] nsISelectionController
*aSelCon
, [in] PRUint32 aFlags
);
2325 nsresult SetAttributeOrEquivalent
([in] nsIDOMElement
*element
, [in] const nsAString
*sourceAttrName
, [in] const nsAString
*sourceAttrValue
, [in] PRBool aSuppressTransaction
);
2326 nsresult RemoveAttributeOrEquivalent
([in] nsIDOMElement
*element
, [in] const nsAString
*sourceAttrName
, [in] PRBool aSuppressTransaction
);
2327 nsresult PostCreate
();
2328 nsresult PreDestroy
();
2329 nsresult GetFlags
([out] PRUint32
*_retval
);
2330 nsresult SetFlags
([in] PRUint32 val
);
2331 nsresult GetContentsMIMEType
([out] char **_retval
);
2332 nsresult SetContentsMIMEType
([in] const char *val
);
2333 nsresult GetIsDocumentEditable
([out] PRBool
*_retval
);
2334 nsresult GetDocument
([out] nsIDOMDocument
**_retval
);
2335 nsresult GetRootElement
([out] nsIDOMElement
**_retval
);
2336 nsresult GetSelectionController
([out] nsISelectionController
**_retval
);
2337 nsresult DeleteSelection
([in] PRInt16 action
);
2338 nsresult GetDocumentIsEmpty
([out] PRBool
*_retval
);
2339 nsresult GetDocumentModified
([out] PRBool
*_retval
);
2340 nsresult GetDocumentCharacterSet
([out] nsACString
*_retval
);
2341 nsresult SetDocumentCharacterSet
([in] const nsACString
*val
);
2342 nsresult ResetModificationCount
();
2343 nsresult GetModificationCount
([out] PRInt32
*_retval
);
2344 nsresult IncrementModificationCount
([in] long aModCount
);
2345 nsresult GetTransactionManager
([out] nsITransactionManager
**_retval
);
2346 nsresult DoTransaction
([in] nsITransaction
*txn
);
2347 nsresult EnableUndo
([in] PRBool enable
);
2348 nsresult Undo
([in] PRUint32 count
);
2349 nsresult CanUndo
([out] PRBool
*isEnabled
, [out] PRBool
*canUndo
);
2350 nsresult Redo
([in] PRUint32 count
);
2351 nsresult CanRedo
([out] PRBool
*isEnabled
, [out] PRBool
*canRedo
);
2352 nsresult BeginTransaction
();
2353 nsresult EndTransaction
();
2354 nsresult BeginPlaceHolderTransaction
([in] nsIAtom
*name
);
2355 nsresult EndPlaceHolderTransaction
();
2356 nsresult ShouldTxnSetSelection
([out] PRBool
*_retval
);
2357 nsresult SetShouldTxnSetSelection
([in] PRBool should
);
2358 nsresult GetInlineSpellChecker
([out] nsIInlineSpellChecker
**_retval
);
2360 nsresult CanCut
([out] PRBool
*_retval
);
2362 nsresult CanCopy
([out] PRBool
*_retval
);
2363 nsresult Paste
([in] PRInt32 aSelectionType
);
2364 nsresult CanPaste
([in] PRInt32 aSelectionType
, [out] PRBool
*_retval
);
2365 nsresult SelectAll
();
2366 nsresult BeginningOfDocument
();
2367 nsresult EndOfDocument
();
2368 nsresult CanDrag
([in] nsIDOMEvent
*aEvent
, [out] PRBool
*_retval
);
2369 nsresult DoDrag
([in] nsIDOMEvent
*aEvent
);
2370 nsresult InsertFromDrop
([in] nsIDOMEvent
*aEvent
);
2371 nsresult SetAttribute
([in] nsIDOMElement
*aElement
, [in] const nsAString
*attributestr
, [in] const nsAString
*attvalue
);
2372 nsresult GetAttributeValue
([in] nsIDOMElement
*aElement
, [in] const nsAString
*attributestr
, [out] nsAString
*resultValue
, PRBool
*_retval
);
2373 nsresult RemoveAttribute
([in] nsIDOMElement
*aElement
, [in] const nsAString
*aAttribute
);
2374 nsresult CloneAttribute
([in] const nsAString
*aAttribute
, [in] nsIDOMNode
*aDestNode
, [in] nsIDOMNode
*aSourceNode
);
2375 nsresult CloneAttributes
([in] nsIDOMNode
*destNode
, [in] nsIDOMNode
*sourceNode
);
2376 nsresult CreateNode
([in] const nsAString
*tag
, [in] nsIDOMNode
*parent
, [in] PRInt32 position
, [out] nsIDOMNode
**_retval
);
2377 nsresult InsertNode
([in] nsIDOMNode
*node
, [in] nsIDOMNode
*parent
, [in] PRInt32 aPosition
);
2378 nsresult SplitNode
([in] nsIDOMNode
*existingRightNode
, [in] PRInt32 offset
, [out] nsIDOMNode
**newLeftNode
);
2379 nsresult JoinNodes
([in] nsIDOMNode
*leftNode
, [in] nsIDOMNode
*rightNode
, [in] nsIDOMNode
*parent
);
2380 nsresult DeleteNode
([in] nsIDOMNode
*child
);
2381 nsresult MarkNodeDirty
([in] nsIDOMNode
*node
);
2382 nsresult SwitchTextDirection
();
2383 nsresult OutputToString
([in] nsAString formatType
, [in] PRUint32 flags
, [out] nsAString
*_retval
);
2384 nsresult OutputToStream
([in] nsIOutputStream
*aStream
, [in] nsAString
*formatType
, [in] nsACString
*charsetOverride
, [in] PRUint32 flags
);
2385 nsresult AddEditorObserver
([in] nsIEditorObserver
*observer
);
2386 nsresult RemoveEditorObserver
([in] nsIEditorObserver
*observer
);
2387 nsresult AddEditActionListener
([in] nsIEditActionListener
*listener
);
2388 nsresult RemoveEditActionListener
([in] nsIEditActionListener
*listener
);
2389 nsresult AddDocumentStateListener
([in] nsIDocumentStateListener
*listener
);
2390 nsresult RemoveDocumentStateListener
([in] nsIDocumentStateListener
*listener
);
2391 nsresult DumpContentTree
();
2392 nsresult DebugDumpContent
();
2393 nsresult DebugUnitTests
([out] PRInt32
*outNumTests
, [out] PRInt32
*outNumTestsFailed
);
2398 uuid(afc36593
-5787-4420-93d9
-b2c0ccbf0cad
),
2401 interface nsIHTMLEditor
: nsISupports
2403 nsresult AddDefaultProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
);
2404 nsresult RemoveDefaultProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
);
2405 nsresult RemoveAllDefaultProperties
();
2406 nsresult SetCSSInlineProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
);
2407 nsresult SetInlineProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
);
2408 nsresult GetInlineProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
, [out] PRBool
*aFirst
, [out] PRBool
*aAny
, [out] PRBool
*aAll
);
2409 nsresult GetInlinePropertyWithAttrValue
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
, [out] PRBool
*aFirst
, [out] PRBool
*aAny
, [out] PRBool
*aAll
, [out] nsAString
*_retval
);
2410 nsresult RemoveAllInlineProperties
();
2411 nsresult RemoveInlineProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
);
2412 nsresult IncreaseFontSize
();
2413 nsresult DecreaseFontSize
();
2414 nsresult CanDrag
([in] nsIDOMEvent
*aEvent
, [out] PRBool
*_retval
);
2415 nsresult DoDrag
([in] nsIDOMEvent
*aEvent
);
2416 nsresult InsertFromDrop
([in] nsIDOMEvent
*aEvent
);
2417 nsresult NodeIsBlock
([in] nsIDOMNode
*node
, PRBool
*_retval
);
2418 nsresult InsertHTML
([in] nsAString
*aInputString
);
2419 nsresult PasteNoFormatting
([in] PRInt32 aSelectionType
);
2420 nsresult RebuildDocumentFromSource
([in] nsAString
*aSourceString
);
2421 nsresult InsertHTMLWithContext
([in] nsAString
*aInputString
, [in] nsAString
*aContextStr
, [in] nsAString
*aInfoStr
, [in] nsAString
*aFlavor
, [in] nsIDOMDocument
*aSourceDoc
, [in] nsIDOMNode
*aDestinationNode
, [in] PRInt32 aDestinationOffset
, [in] PRBool aDeleteSelection
);
2422 nsresult InsertElementAtSelection
([in] nsIDOMElement
*aElement
, [in] PRBool aDeleteSelection
);
2423 nsresult SetDocumentTitle
([in] nsAString
*aTitle
);
2424 nsresult UpdateBaseURL
();
2425 nsresult SelectElement
([in] nsIDOMElement
*aElement
);
2426 nsresult SetCaretAfterElement
([in] nsIDOMElement
*aElement
);
2427 nsresult SetParagraphFormat
([in] nsAString
*aParagraphFormat
);
2428 nsresult GetParagraphState
([out] PRBool
*aMixed
, [out] nsAString
*_retval
);
2429 nsresult GetFontFaceState
([out] PRBool
*aMixed
, [out] nsAString
*_retval
);
2430 nsresult GetFontColorState
([out] PRBool
*aMixed
, [out] nsAString
*_retval
);
2431 nsresult GetBackgroundColorState
([out] PRBool
*aMixed
, [out] nsAString
*_retval
);
2432 nsresult GetHighlightColorState
([out] PRBool
*aMixed
, [out] nsAString
*_retval
);
2433 nsresult GetListState
([out] PRBool
*aMixed
, [out] PRBool
*aOL
, [out] PRBool
*aUL
, [out] PRBool
*aDL
);
2434 nsresult GetListItemState
([out] PRBool
*aMixed
, [out] PRBool
*aLI
, [out] PRBool
*aDT
, [out] PRBool
*aDD
);
2435 nsresult GetAlignment
([out] PRBool
*aMixed
, [out] PRInt16
*aAlign
);
2436 nsresult GetIndentState
([out] PRBool
*aCanIndent
, [out] PRBool
*aCanOutdent
);
2437 nsresult MakeOrChangeList
([in] nsAString
*aListType
, [in] PRBool entireList
, [in] nsAString
*aBulletType
);
2438 nsresult RemoveList
([in] nsAString
*aListType
);
2439 nsresult Indent
([in] nsAString
*aIndent
);
2440 nsresult Align
([in] nsAString
*aAlign
);
2441 nsresult GetElementOrParentByTagName
([in] nsAString
*aTagName
, [in] nsIDOMNode
*aNode
, [out] nsIDOMElement
**_retval
);
2442 nsresult GetSelectedElement
([in] nsAString
*aTagName
, [out] nsIDOMElement
**_retval
);
2443 nsresult GetHeadContentsAsHTML
([out] nsAString
*_retval
);
2444 nsresult ReplaceHeadContentsWithHTML
([in] nsAString
*aSourceToInsert
);
2445 nsresult CreateElementWithDefaults
([in] nsAString
*aTagName
, [out] nsIDOMElement
**_retval
);
2446 nsresult InsertLinkAroundSelection
([in] nsIDOMElement
*aAnchorElement
);
2447 nsresult SetBackgroundColor
([in] nsAString
*aColor
);
2448 nsresult SetBodyAttribute
([in] nsAString
*aAttr
, [in] nsAString
*aValue
);
2449 nsresult IgnoreSpuriousDragEvent
([in] PRBool aIgnoreSpuriousDragEvent
);
2450 nsresult GetLinkedObjects
([out] nsISupportsArray
**_retval
);
2451 nsresult GetIsCSSEnabled
([out] PRBool
*_retval
);
2452 nsresult SetIsCSSEnabled
([in] PRBool prb
);
2453 nsresult AddInsertionListener
([in] nsIContentFilter
*inFilter
);
2454 nsresult RemoveInsertionListener
([in] nsIContentFilter
*inFilter
);
2455 nsresult CreateAnonymousElement
([in] nsAString
*aTag
, [in] nsIDOMNode
*aParentNode
, [in] nsAString
*aAnonClass
, [in] PRBool aIsCreatedHidden
, [out] nsIDOMElement
**_retval
);
2456 nsresult GetSelectionContainer
([out] nsIDOMElement
**_retval
);
2457 nsresult CheckSelectionStateForAnonymousButtons
([in] nsISelection
*aSelection
);
2458 nsresult IsAnonymousElement
([in] nsIDOMElement
*aElement
, [out] PRBool
*_retval
);
2459 nsresult GetReturnInParagraphCreatesNewParagraph
([out] PRBool
*_retval
);
2460 nsresult SetReturnInParagraphCreatesNewParagraph
([in] PRBool prb
);
2465 * This is a private Wine interface that is implemented by our implementation
2466 * of nsIURI to store its owner.
2470 uuid(5088272e-900b
-11da
-c687
-000fea57f21a
),
2474 interface nsIWineURI
: nsIURI
2476 typedef struct NSContainer NSContainer
;
2478 nsresult GetNSContainer
(NSContainer
**aNSContainer
);
2479 nsresult SetNSContainer
(NSContainer
*aNSContainer
);
2480 nsresult GetIsDocumentURI
(PRBool
*aIsDocumentURI
);
2481 nsresult SetIsDocumentURI
(PRBool aIsDocumentURI
);
2482 nsresult GetWineURL
(LPCWSTR
*aURL
);
2483 nsresult SetWineURL
(LPCWSTR aURL
);