2 * Copyright 2005-2012 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 \"1.7\"")
27 cpp_quote
("#define GECKO_VERSION_STRING \"Wine Gecko \" GECKO_VERSION")
31 cpp_quote
("#ifdef WINE_NO_UNICODE_MACROS")
32 cpp_quote
("#undef GetForm")
33 cpp_quote
("#undef SetPort")
36 typedef HRESULT nsresult
;
37 typedef ULONG nsrefcnt
;
42 typedef REFIID nsIIDRef
;
43 typedef nsIIDRef nsCIDRef
;
45 typedef WCHAR PRUnichar
;
46 typedef ULONG PRUint32
;
48 typedef WORD PRUint16
;
49 typedef INT16 PRInt16
;
51 typedef LONGLONG PRInt64
;
52 typedef ULONGLONG PRUint64
;
53 typedef PRUint64 DOMTimeStamp
;
54 typedef PRUint32 nsLoadFlags
;
56 typedef unsigned char cpp_bool
;
73 typedef nsCStringContainer nsACString
;
74 typedef nsStringContainer nsAString
;
76 interface nsIWebBrowserChrome
;
77 interface nsILoadGroup
;
79 interface nsIDOMDocument
;
80 interface nsIDOMEvent
;
82 interface nsISelectionController
;
83 interface nsITransactionManager
;
84 interface nsITransaction
;
85 interface nsIInlineSpellChecker
;
86 interface nsIOutputStream
;
87 interface nsIEditorObserver
;
88 interface nsIEditActionListener
;
89 interface nsIDocumentStateListener
;
90 interface nsIDOMCSSStyleSheet
;
91 interface nsIDOMDocumentView
;
92 interface nsIDOMWindow
;
93 interface nsIDOMElement
;
94 interface nsIDOMRange
;
95 interface nsIDOMEventTarget
;
96 interface nsISelection
;
97 interface nsIDOMHTMLSelectElement
;
103 uuid(00000000-0000-0000-c000
-000000000046),
106 interface nsISupports
108 nsresult QueryInterface
(nsIIDRef riid
, void **result
);
113 /* Currently we don't need a full declaration of these interfaces */
114 typedef nsISupports nsISHistory
;
115 typedef nsISupports nsIWidget
;
116 typedef nsISupports nsIDOMBarProp
;
117 typedef nsISupports nsIPrompt
;
118 typedef nsISupports nsIAuthPrompt
;
119 typedef nsISupports nsIDOMDocumentType
;
120 typedef nsISupports nsIDOMDOMImplementation
;
121 typedef nsISupports nsIDOMCDATASection
;
122 typedef nsISupports nsIDOMProcessingInstruction
;
123 typedef nsISupports nsIDOMEntityReference
;
124 typedef nsISupports nsIWebProgressListener
;
125 typedef nsISupports nsIDOMCSSValue
;
126 typedef nsISupports nsIPrintSession
;
127 typedef nsISupports nsIControllerCommandTable
;
128 typedef nsISupports nsIPrincipal
;
129 typedef nsISupports nsIAtom
;
130 typedef nsISupports nsISupportsArray
;
131 typedef nsISupports nsIContentFilter
;
132 typedef nsISupports nsIDOMMediaList
;
133 typedef nsISupports nsIDOMHTMLTableCaptionElement
;
134 typedef nsISupports nsIDOMHTMLTableSectionElement
;
135 typedef nsISupports nsIDOMClientRectList
;
136 typedef nsISupports nsINode
;
137 typedef nsISupports nsIStyleSheet
;
138 typedef nsISupports nsIStyleRule
;
139 typedef nsISupports nsIDOMUserDataHandler
;
140 typedef nsISupports nsIDocShellLoadInfo
;
141 typedef nsISupports nsISHEntry
;
142 typedef nsISupports nsIPresShell
;
143 typedef nsISupports nsIContentViewer
;
144 typedef nsISupports nsIDocumentCharsetInfo
;
145 typedef nsISupports nsILayoutHistoryState
;
146 typedef nsISupports nsISecureBrowserUI
;
147 typedef nsISupports nsIDOMStorage
;
148 typedef nsISupports nsIDOMDOMTokenList
;
149 typedef nsISupports nsITransferable
;
150 typedef nsISupports nsIDOMHTMLHeadElement
;
151 typedef nsISupports nsIDOMFileList
;
152 typedef nsISupports nsIDOMFile
;
153 typedef nsISupports nsIControllers
;
154 typedef nsISupports nsIDOMValidityState
;
155 typedef nsISupports nsIPluginInstanceOwner
;
156 typedef nsISupports nsIPluginStreamListener
;
157 typedef nsISupports nsIContentSink
;
158 typedef nsISupports nsIParserFilter
;
159 typedef nsISupports nsIDTD
;
160 typedef nsISupports nsIObserver
;
161 typedef nsISupports nsIDOMNodeFilter
;
162 typedef nsISupports nsIDOMNodeIterator
;
163 typedef nsISupports nsIDOMTreeWalker
;
164 typedef nsISupports nsIHttpUpgradeListener
;
165 typedef nsISupports nsIDOMDOMStringMap
;
166 typedef nsISupports nsIDOMDOMStringList
;
167 typedef nsISupports nsIDOMOfflineResourceList
;
168 typedef nsISupports nsIDOMHistory
;
169 typedef nsISupports nsIDOMNavigator
;
170 typedef nsISupports nsIDOMMediaQueryList
;
171 typedef nsISupports nsIDOMScreen
;
172 typedef nsISupports nsIDOMCrypto
;
173 typedef nsISupports nsIDOMPkcs11
;
174 typedef nsISupports nsIAnimationFrameListener
;
175 typedef nsISupports nsIDOMMozURLProperty
;
176 typedef nsISupports nsIDOMStorageList
;
177 typedef nsISupports nsILocalFile
;
178 typedef nsISupports nsIDOMHTMLMenuElement
;
179 typedef nsISupports nsIDOMCaretPosition
;
180 typedef nsISupports nsIFrameRequestCallback
;
181 typedef nsISupports nsICycleCollectorListener
;
182 typedef nsISupports nsIDOMHTMLCanvasElement
;
183 typedef nsISupports nsIQueryContentEventResult
;
184 typedef nsISupports nsIDOMBlob
;
186 typedef void *JSContext
;
187 typedef void *JSObject
;
188 typedef PRUint64 jsval
;
192 uuid(8bb35ed9
-e332
-462d
-9155-4a002ab5c958
),
195 interface nsIServiceManager
: nsISupports
197 nsresult GetService
(nsCIDRef aClass
, nsIIDRef aIID
, void **result
);
198 nsresult GetServiceByContractID
(const char *aContractID
, nsIIDRef aIID
, void **result
);
199 nsresult IsServiceInstantiated
(nsCIDRef aClass
, nsIIDRef aIID
, BOOL
*_retval
);
200 nsresult IsServiceInstantiatedByContractID
(const char *aContractID
, nsIIDRef aIID
, BOOL
*_retval
);
205 uuid(00000001-0000-0000-c000
-000000000046),
208 interface nsIFactory
: nsISupports
210 nsresult CreateInstance
(nsISupports
*aOuter
, const nsIID
*iid
, void **result
);
211 nsresult LockFactory
(bool lock
);
216 uuid(1d940426
-5fe5
-42c3
-84ae
-a300f2d9ebd5
),
219 interface nsIComponentManager
: nsISupports
221 nsresult GetClassObject
(nsCIDRef aClass
, nsIIDRef aIID
, void **result
);
222 nsresult GetClassObjectByContractID
(const char *aContractID
, nsIIDRef aIID
, void **result
);
223 nsresult CreateInstance
(nsCIDRef aClass
, nsISupports
*aDelegate
, nsIIDRef aIID
,
225 nsresult CreateInstanceByContractID
(const char *aContractID
, nsISupports
*aDelegate
,
226 nsIIDRef aIID
, void **result
);
227 nsresult AddBootstrappedManifestLocation
(nsILocalFile
*aLocation
);
228 nsresult RemoveBootstrappedManifestLocation
(nsILocalFile
*aLocation
);
233 uuid(59e7e77a
-38e4
-11d4
-8cf5
-0060b0fc14a3
),
236 interface nsIMemory
: nsISupports
238 void *Alloc
(/*size_t*/ int size
);
239 void *Realloc
(void *_ptr
, /*size_t*/ int newSize
);
240 void Free
(void *_ptr
);
241 nsresult HeapMinimize
(bool immediate
);
242 nsresult IsLowMemory
(bool
*_retval
);
247 uuid(9188bc85
-f92e
-11d2
-81ef
-0060083a0bcf
),
250 interface nsIWeakReference
: nsISupports
252 nsresult QueryReferent
(const nsIID
*riid
, void **result
);
257 uuid(9188bc86
-f92e
-11d2
-81ef
-0060083a0bcf
),
260 interface nsISupportsWeakReference
: nsISupports
262 nsresult GetWeakReference
(nsIWeakReference
**_retval
);
267 uuid(033a1470
-8b2a
-11d3
-af88
-00a024ffc08c
),
270 interface nsIInterfaceRequestor
: nsISupports
272 nsresult GetInterface
(const nsIID
*riid
, void **result
);
277 uuid(4a2abaf0
-6886-11d3
-9382-00104ba0fd40
),
280 interface nsIRunnable
: nsISupports
287 uuid(d1899240
-f9d2
-11d2
-bdd6
-000064657374),
290 interface nsISimpleEnumerator
: nsISupports
292 nsresult HasMoreElements
(bool
*_retval
);
293 nsresult GetNext
(nsISupports
**_retval
);
298 uuid(81e4c2de
-acac
-4ad6
-901a
-b5fb1b851a0d
),
301 interface nsIVariant
: nsISupports
303 nsresult GetDataType
(PRUint16
*aDataType
);
304 nsresult GetAsInt8
(PRUint8
*_retval
);
305 nsresult GetAsInt16
(PRInt16
*_retval
);
306 nsresult GetAsInt32
(PRInt32
*_retval
);
307 nsresult GetAsInt64
(PRInt64
*_retval
);
308 nsresult GetAsUint8
(PRUint8
*_retval
);
309 nsresult GetAsUint16
(PRUint16
*_retval
);
310 nsresult GetAsUint32
(PRUint32
*_retval
);
311 nsresult GetAsUint64
(PRUint64
*_retval
);
312 nsresult GetAsFloat
(float *_retval
);
313 nsresult GetAsDouble
(double *_retval
);
314 nsresult GetAsBool
(bool
*_retval
);
315 nsresult GetAsChar
(char *_retval
);
316 nsresult GetAsWChar
(PRUnichar
*_retval
);
317 nsresult GetAsID
(nsID
*retval);
318 nsresult GetAsAString
(nsAString
*_retval
);
319 nsresult GetAsDOMString
(nsAString
*_retval
);
320 nsresult GetAsACString
(nsACString
*_retval
);
321 nsresult GetAsAUTF8String
(nsACString
*_retval
);
322 nsresult GetAsString
(char * *_retval
);
323 nsresult GetAsWString
(PRUnichar
* *_retval
);
324 nsresult GetAsISupports
(nsISupports
* *_retval
);
325 nsresult GetAsJSVal
(long /*jsval*/ *_retval
);
326 nsresult GetAsInterface
(nsIID
**iid
, void **iface
);
327 nsresult GetAsArray
(PRUint16
*type
, nsIID
*iid
, PRUint32
*count
, void **ptr);
328 nsresult GetAsStringWithSize
(PRUint32
*size
, char **str
);
329 nsresult GetAsWStringWithSize
(PRUint32
*size
, PRUnichar
**str
);
334 uuid(5586a590
-8c82
-11d5
-90f3
-0010a4e73d9a
),
337 interface nsIWritableVariant
: nsIVariant
339 nsresult GetWritable
(bool
*aWritable
);
340 nsresult SetWritable
(bool aWritable
);
341 nsresult SetAsInt8
(PRUint8 aValue
);
342 nsresult SetAsInt16
(PRInt16 aValue
);
343 nsresult SetAsInt32
(PRInt32 aValue
);
344 nsresult SetAsInt64
(PRInt64 aValue
);
345 nsresult SetAsUint8
(PRUint8 aValue
);
346 nsresult SetAsUint16
(PRUint16 aValue
);
347 nsresult SetAsUint32
(PRUint32 aValue
);
348 nsresult SetAsUint64
(PRUint64 aValue
);
349 nsresult SetAsFloat
(float aValue
);
350 nsresult SetAsDouble
(double aValue
);
351 nsresult SetAsBool
(bool aValue
);
352 nsresult SetAsChar
(char aValue
);
353 nsresult SetAsWChar
(PRUnichar aValue
);
354 nsresult SetAsID
(const nsID
*aValue
);
355 nsresult SetAsAString
(const nsAString
*aValue
);
356 nsresult SetAsDOMString
(const nsAString
*aValue
);
357 nsresult SetAsACString
(const nsACString
*aValue
);
358 nsresult SetAsAUTF8String
(const nsACString
*aValue
);
359 nsresult SetAsString
(const char * aValue
);
360 nsresult SetAsWString
(const PRUnichar
* aValue
);
361 nsresult SetAsISupports
(nsISupports
*aValue
);
362 nsresult SetAsInterface
(const nsIID
*iid
, void *iface
);
363 nsresult SetAsArray
(PRUint16 type
, const nsIID
*iid
, PRUint32 count
, void *ptr);
364 nsresult SetAsStringWithSize
(PRUint32 size
, const char *str
);
365 nsresult SetAsWStringWithSize
(PRUint32 size
, const PRUnichar
*str
);
366 nsresult SetAsVoid
();
367 nsresult SetAsEmpty
();
368 nsresult SetAsEmptyArray
();
369 nsresult SetFromVariant
(nsIVariant
*aValue
);
374 uuid(fa9c7f6c
-61b3
-11d4
-9877-00c04fa0cf4a
),
377 interface nsIInputStream
: nsISupports
380 nsresult Available
(PRUint32
*_retval
);
381 nsresult Read
(char *aBuf
, PRUint32 aCount
, PRUint32
*_retval
);
382 nsresult ReadSegments
(nsresult
(*aWriter
)(nsIInputStream
*aInStream
,
383 void *aClosure
, const char *aFromSegment
, PRUint32 aToOffset
,
384 PRUint32 aCount
, PRUint32
*aWriteCount
),
385 void *aClosure
, PRUint32 aCount
, PRUint32
*_retval
);
386 nsresult IsNonBlocking
(bool
*_retval
);
391 uuid(395fe045
-7d18
-4adb
-a3fd
-af98c8a1af11
),
394 interface nsIURI
: nsISupports
396 nsresult GetSpec
(nsACString
*aSpec
);
397 nsresult SetSpec
(const nsACString
*aSpec
);
398 nsresult GetPrePath
(nsACString
*aPrePath
);
399 nsresult GetScheme
(nsACString
*aScheme
);
400 nsresult SetScheme
(const nsACString
*aScheme
);
401 nsresult GetUserPass
(nsACString
*aUserPass
);
402 nsresult SetUserPass
(const nsACString
*aUserPass
);
403 nsresult GetUsername
(nsACString
*aUsername
);
404 nsresult SetUsername
(const nsACString
*aUsername
);
405 nsresult GetPassword
(nsACString
*aPassword
);
406 nsresult SetPassword
(const nsACString
*aPassword
);
407 nsresult GetHostPort
(nsACString
*aHostPort
);
408 nsresult SetHostPort
(const nsACString
*aHostPort
);
409 nsresult GetHost
(nsACString
*aHost
);
410 nsresult SetHost
(const nsACString
*aHost
);
411 nsresult GetPort
(PRInt32
*aPort
);
412 nsresult SetPort
(PRInt32 aPort
);
413 nsresult GetPath
(nsACString
*aPath
);
414 nsresult SetPath
(const nsACString
*aPath
);
415 nsresult Equals
(nsIURI
*other
, bool
*_retval
);
416 nsresult SchemeIs
(const char *scheme
, bool
*_retval
);
417 nsresult Clone
(nsIURI
**_retval
);
418 nsresult Resolve
(const nsACString
*relativePath
, nsACString
*_retval
);
419 nsresult GetAsciiSpec
(nsACString
*aAsciiSpec
);
420 nsresult GetAsciiHost
(nsACString
*aAsciiHost
);
421 nsresult GetOriginCharset
(nsACString
*aOriginCharset
);
422 nsresult GetRef
(nsACString
*aRef
);
423 nsresult SetRef
(const nsACString
*aRef
);
424 nsresult EqualsExceptRef
(nsIURI
*other
, bool
*_retval
);
425 nsresult CloneIgnoringRef
(nsIURI
**_retval
);
426 nsresult GetSpecIgnoringRef
(nsACString
*aSpecIgnoringRef
);
427 nsresult GetHasRef
(bool
*aHasRef
);
432 uuid(1419aa16
-f134
-4154-9886-00c7c5147a13
),
435 interface nsIURL
: nsIURI
437 nsresult GetFilePath
(nsACString
*aFilePath
);
438 nsresult SetFilePath
(const nsACString
*aFilePath
);
439 nsresult GetQuery
(nsACString
*aQuery
);
440 nsresult SetQuery
(const nsACString
*aQuery
);
441 nsresult GetDirectory
(nsACString
*aDirectory
);
442 nsresult SetDirectory
(const nsACString
*aDirectory
);
443 nsresult GetFileName
(nsACString
*aFileName
);
444 nsresult SetFileName
(const nsACString
*aFileName
);
445 nsresult GetFileBaseName
(nsACString
*aFileBaseName
);
446 nsresult SetFileBaseName
(const nsACString
*aFileBaseName
);
447 nsresult GetFileExtension
(nsACString
*aFileExtension
);
448 nsresult SetFileExtension
(const nsACString
*aFileExtension
);
449 nsresult GetCommonBaseSpec
(nsIURI
*aURIToCompare
, nsACString
*_retval
);
450 nsresult GetRelativeSpec
(nsIURI
*aURIToCompare
, nsACString
*_retval
);
455 uuid(321578d0
-03c1
-4d95
-8821-021ac612d18d
),
458 interface nsIMutable
: nsISupports
460 nsresult GetMutable
(bool
*aMutable
);
461 nsresult SetMutable
(bool aMutable
);
466 uuid(babd6cca
-ebe7
-4329-967c
-d6b9e33caa81
),
469 interface nsIStandardURL
: nsIMutable
471 nsresult Init
(PRUint32 aUrlType
, PRInt32 aDefaultPort
, const nsACString
*aSpec
, const char *aOriginCharset
, nsIURI
*aBaseURI
);
476 uuid(ef6bfbd2
-fd46
-48d8
-96b7
-9f8f0fd387fe
),
479 interface nsIRequest
: nsISupports
481 nsresult GetName
(nsACString
*aName
);
482 nsresult IsPending
(bool
*_retval
);
483 nsresult GetStatus
(nsresult
*aStatus
);
484 nsresult Cancel
(nsresult aStatus
);
487 nsresult GetLoadGroup
(nsILoadGroup
**aLoadGroup
);
488 nsresult SetLoadGroup
(nsILoadGroup
*aLoadGroup
);
489 nsresult GetLoadFlags
(nsLoadFlags
*aLoadFlags
);
490 nsresult SetLoadFlags
(nsLoadFlags aLoadFlags
);
495 uuid(fd91e2e0
-1481-11d3
-9333-00104ba0fd40
),
498 interface nsIRequestObserver
: nsISupports
500 nsresult OnStartRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
);
501 nsresult OnStopRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
, nsresult aStatusCode
);
506 uuid(1a637020
-1482-11d3
-9333-00104ba0fd40
),
509 interface nsIStreamListener
: nsIRequestObserver
511 nsresult OnDataAvailable
(nsIRequest
*aRequest
, nsISupports
*aContext
,
512 nsIInputStream
*aInputStream
, PRUint32 aOffset
, PRUint32 aCount
);
517 uuid(3de0a31c
-feaf
-400f
-9f1e
-4ef71f8b20cc
),
520 interface nsILoadGroup
: nsIRequest
522 nsresult GetGroupObserver
(nsIRequestObserver
**aGroupObserver
);
523 nsresult SetGroupObserver
(nsIRequestObserver
*aGroupObserver
);
524 nsresult GetDefaultLoadRequest
(nsIRequest
**aDefaultLoadRequest
);
525 nsresult SetDefaultLoadRequest
(nsIRequest
*aDefaultLoadRequest
);
526 nsresult AddRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
);
527 nsresult RemoveRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
, nsresult aStatus
);
528 nsresult GetRequests
(nsISimpleEnumerator
**aRequests
);
529 nsresult GetActiveCount
(PRUint32
*aActiveCount
);
530 nsresult GetNotificationCallbacks
(nsIInterfaceRequestor
**aNotificationCallbacks
);
531 nsresult SetNotificationCallbacks
(nsIInterfaceRequestor
*aNotificationCallbacks
);
536 uuid(06f6ada3
-7729-4e72
-8d3f
-bf8ba630ff9b
),
539 interface nsIChannel
: nsIRequest
541 nsresult GetOriginalURI
(nsIURI
**aOriginalURI
);
542 nsresult SetOriginalURI
(nsIURI
*aOriginalURI
);
543 nsresult GetURI
(nsIURI
**aURI
);
544 nsresult GetOwner
(nsISupports
**aOwner
);
545 nsresult SetOwner
(nsISupports
*aOwner
);
546 nsresult GetNotificationCallbacks
(nsIInterfaceRequestor
**aNotificationCallbacks
);
547 nsresult SetNotificationCallbacks
(nsIInterfaceRequestor
*aNotificationCallbacks
);
548 nsresult GetSecurityInfo
(nsISupports
**aSecurityInfo
);
549 nsresult GetContentType
(nsACString
*aContentType
);
550 nsresult SetContentType
(const nsACString
*aContentType
);
551 nsresult GetContentCharset
(nsACString
*aContentCharset
);
552 nsresult SetContentCharset
(const nsACString
*aContentCharset
);
553 nsresult GetContentLength
(PRInt32
*aContentLength
);
554 nsresult SetContentLength
(PRInt32 aContentLength
);
555 nsresult Open
(nsIInputStream
**_retval
);
556 nsresult AsyncOpen
(nsIStreamListener
*aListener
, nsISupports
*aContext
);
557 nsresult GetContentDisposition
(PRUint32
*aContentDisposition
);
558 nsresult GetContentDispositionFilename
(nsAString
*aContentDispositionFilename
);
559 nsresult GetContentDispositionHeader
(nsACString
*aContentDispositionHeader
);
564 uuid(35412859-b9d9
-423c
-8866-2d4559fdd2be
),
567 interface nsIHttpHeaderVisitor
: nsISupports
569 nsresult VisitHeader
(const nsACString
*aHeader
, const nsACString
*aValue
);
574 uuid(9277fe09
-f0cc
-4cd9
-bbce
-581dd94b0260
),
577 interface nsIHttpChannel
: nsIChannel
579 nsresult GetRequestMethod
(nsACString
*aRequestMethod
);
580 nsresult SetRequestMethod
(const nsACString
*aRequestMethod
);
581 nsresult GetReferrer
(nsIURI
**aReferrer
);
582 nsresult SetReferrer
(nsIURI
*aReferrer
);
583 nsresult GetRequestHeader
(const nsACString
*aHeader
, nsACString
*_retval
);
584 nsresult SetRequestHeader
(const nsACString
*aHeader
, const nsACString
*aValue
, bool aMerge
);
585 nsresult VisitRequestHeaders
(nsIHttpHeaderVisitor
*aVisitor
);
586 nsresult GetAllowPipelining
(bool
*aAllowPipelining
);
587 nsresult SetAllowPipelining
(bool aAllowPipelining
);
588 nsresult GetRedirectionLimit
(PRUint32
*aRedirectionLimit
);
589 nsresult SetRedirectionLimit
(PRUint32 aRedirectionLimit
);
590 nsresult GetResponseStatus
(PRUint32
*aResponseStatus
);
591 nsresult GetResponseStatusText
(nsACString
*aResponseStatusText
);
592 nsresult GetRequestSucceeded
(bool
*aRequestSucceeded
);
593 nsresult GetResponseHeader
(const nsACString
*header
, nsACString
*_retval
);
594 nsresult SetResponseHeader
(const nsACString
*header
, const nsACString
*value
, bool merge
);
595 nsresult VisitResponseHeaders
(nsIHttpHeaderVisitor
*aVisitor
);
596 nsresult IsNoStoreResponse
(bool
*_retval
);
597 nsresult IsNoCacheResponse
(bool
*_retval
);
602 uuid(9363fd96
-af59
-47e8
-bddf
-1d5e91acd336
),
605 interface nsIHttpChannelInternal
: nsISupports
607 nsresult GetDocumentURI
(nsIURI
**aDocumentURI
);
608 nsresult SetDocumentURI
(nsIURI
*aDocumentURI
);
609 nsresult GetRequestVersion
(PRUint32
*major
, PRUint32
*minor
);
610 nsresult GetResponseVersion
(PRUint32
*major
, PRUint32
*minor
);
611 nsresult SetCookie
(const char *aCookieHeader
);
612 nsresult SetupFallbackChannel
(const char *aFallbackKey
);
613 nsresult GetForceAllowThirdPartyCookie
(bool
*aForceAllowThirdPartyCookie
);
614 nsresult SetForceAllowThirdPartyCookie
(bool aForceAllowThirdPartyCookie
);
615 nsresult GetCanceled
(bool
*aCanceled
);
616 nsresult GetChannelIsForDownload
(bool
*aChannelIsForDownload
);
617 nsresult SetChannelIsForDownload
(bool aChannelIsForDownload
);
618 nsresult GetLocalAddress
(nsACString
*aLocalAddress
);
619 nsresult GetLocalPort
(PRInt32
*aLocalPort
);
620 nsresult GetRemoteAddress
(nsACString
*aRemoteAddress
);
621 nsresult GetRemotePort
(PRInt32
*aRemotePort
);
622 nsresult SetCacheKeysRedirectChain
(void /*nsTArray<nsCString>*/ *cacheKeys
);
623 nsresult HTTPUpgrade
(const nsACString
*aProtocolName
, nsIHttpUpgradeListener
*aListener
);
624 nsresult GetAllowSpdy
(bool
*aAllowSpdy
);
625 nsresult SetAllowSpdy
(bool aAllowSpdy
);
630 uuid(ddf633d8
-e9a4
-439d
-ad88
-de636fd9bb75
),
633 interface nsIUploadChannel
: nsISupports
635 nsresult SetUploadStream
(nsIInputStream
*aStream
, const nsACString
*aContentType
,
636 PRInt32 aContentLength
);
637 nsresult GetUploadStream
(nsIInputStream
**aUploadStream
);
642 uuid(8d171460
-a716
-41f1
-92be
-8c659db39b45
),
645 interface nsIAsyncVerifyRedirectCallback
: nsISupports
647 nsresult OnRedirectVerifyCallback
(nsresult result
);
652 uuid(a430d870
-df77
-4502-9570-d46a8de33154
),
655 interface nsIChannelEventSink
: nsISupports
657 cpp_quote
("#define REDIRECT_TEMPORARY 1")
658 cpp_quote
("#define REDIRECT_PERMANENT 2")
659 cpp_quote
("#define REDIRECT_INTERNAL 4")
661 nsresult AsyncOnChannelRedirect
(nsIChannel
*oldChannel
, nsIChannel
*newChannel
, PRUint32 flags
,
662 nsIAsyncVerifyRedirectCallback
*callback);
667 uuid(a6cf906d
-15b3
-11d2
-932e-00805f8add32
),
670 interface nsIDOMLocation
: nsISupports
672 nsresult GetHash
(nsAString
*aHash
);
673 nsresult SetHash
(const nsAString
*aHash
);
674 nsresult GetHost
(nsAString
*aHost
);
675 nsresult SetHost
(const nsAString
*aHost
);
676 nsresult GetHostname
(nsAString
*aHostname
);
677 nsresult SetHostname
(const nsAString
*aHostname
);
678 nsresult GetHref
(nsAString
*aHref
);
679 nsresult SetHref
(const nsAString
*aHref
);
680 nsresult GetPathname
(nsAString
*aPathname
);
681 nsresult SetPathname
(const nsAString
*aPathname
);
682 nsresult GetPort
(nsAString
*aPort
);
683 nsresult SetPort
(const nsAString
*aPort
);
684 nsresult GetProtocol
(nsAString
*aProtocol
);
685 nsresult SetProtocol
(const nsAString
*aProtocol
);
686 nsresult GetSearch
(nsAString
*aSearch
);
687 nsresult SetSearch
(const nsAString
*aSearch
);
688 nsresult Reload
(bool forceget
);
689 nsresult Replace
(const nsAString
*url
);
690 nsresult Assign
(const nsAString
*url
);
691 nsresult ToString
(nsAString
*_retval
);
696 uuid(2938307a
-9d70
-4b63
-8afc
-0197e82318ad
),
699 interface nsIDOMCSSRule
: nsISupports
701 nsresult GetType
(PRUint16
*aType
);
702 nsresult GetCssText
(nsAString
*aCssText
);
703 nsresult SetCssText
(const nsAString
*aCssText
);
704 nsresult GetParentStyleSheet
(nsIDOMCSSStyleSheet
**aParentStyleSheet
);
705 nsresult GetParentRule
(nsIDOMCSSRule
**aParentRule
);
710 uuid(a6cf90be
-15b3
-11d2
-932e-00805f8add32
),
713 interface nsIDOMCSSStyleDeclaration
: nsISupports
715 nsresult GetCssText
(nsAString
*aCssText
);
716 nsresult SetCssText
(const nsAString
*aCssText
);
717 nsresult GetPropertyValue
(const nsAString
*propertyName
, nsAString
*_retval
);
718 nsresult GetPropertyCSSValue
(const nsAString
*propertyName
, nsIDOMCSSValue
**_retval
);
719 nsresult RemoveProperty
(const nsAString
*propertyName
, nsAString
*_retval
);
720 nsresult GetPropertyPriority
(const nsAString
*propertyName
, nsAString
*_retval
);
721 nsresult SetProperty
(const nsAString
*propertyName
, const nsAString
*value
,
722 const nsAString
*priority
);
723 nsresult GetLength
(PRUint32
*aLength
);
724 nsresult Item
(PRUint32 index
, nsAString
*_retval
);
725 nsresult GetParentRule
(nsIDOMCSSRule
**aParentRule
);
730 uuid(a6cf90c0
-15b3
-11d2
-932e-00805f8add32
),
733 interface nsIDOMCSSRuleList
: nsISupports
735 nsresult GetLength
(PRUint32
*aLength
);
736 nsresult Item
(PRUint32 index
, nsIDOMCSSRule
**_retval
);
741 uuid(a6cf9080
-15b3
-11d2
-932e-00805f8add32
),
744 interface nsIDOMStyleSheet
: nsISupports
746 nsresult GetType
(nsAString
*aType
);
747 nsresult GetDisabled
(bool
*aDisabled
);
748 nsresult SetDisabled
(bool aDisabled
);
749 nsresult GetOwnerNode
(nsIDOMNode
**aOwnerNode
);
750 nsresult GetParentStyleSheet
(nsIDOMStyleSheet
**aParentStyleSheet
);
751 nsresult GetHref
(nsAString
*aHref
);
752 nsresult GetTitle
(nsAString
*aTitle
);
753 nsresult GetMedia
(nsIDOMMediaList
**aMedia
);
758 uuid(a6cf90c2
-15b3
-11d2
-932e-00805f8add32
),
761 interface nsIDOMCSSStyleSheet
: nsIDOMStyleSheet
763 nsresult GetOwnerRule
(nsIDOMCSSRule
**aOwnerRule
);
764 nsresult GetCssRules
(nsIDOMCSSRuleList
**aCssRules
);
765 nsresult InsertRule
(const nsAString
*rule
, PRUint32 index
, PRUint32
*_retval
);
766 nsresult DeleteRule
(PRUint32 index
);
771 uuid(a6cf9081
-15b3
-11d2
-932e-00805f8add32
),
774 interface nsIDOMStyleSheetList
: nsISupports
776 nsresult GetLength
(PRUint32
*aLength
);
777 nsresult Item
(PRUint32 index
, nsIDOMStyleSheet
**_retval
);
782 uuid(496852ba
-e48d
-4fa5
-982e
-e0dc1b475bf1
),
785 interface nsIDOMNodeList
: nsISupports
787 nsresult Item
(PRUint32 index
, nsIDOMNode
**_retval
);
788 nsresult GetLength
(PRUint32
*aLength
);
789 /* Followed by semi-internal API that we don't want to use */
794 uuid(a6cf907b
-15b3
-11d2
-932e-00805f8add32
),
797 interface nsIDOMNamedNodeMap
: nsISupports
799 nsresult GetNamedItem
(const nsAString
*name
, nsIDOMNode
**_retval
);
800 nsresult SetNamedItem
(nsIDOMNode
*arg
, nsIDOMNode
**_retval
);
801 nsresult RemoveNamedItem
(const nsAString
*name
, nsIDOMNode
**_retval
);
802 nsresult Item
(PRUint32 index
, nsIDOMNode
**_retval
);
803 nsresult GetLength
(PRUint32
*aLength
);
804 nsresult GetNamedItemNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsIDOMNode
**_retval
);
805 nsresult SetNamedItemNS
(nsIDOMNode
*arg
, nsIDOMNode
**_retval
);
806 nsresult RemoveNamedItemNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsIDOMNode
**_retval
);
811 uuid(5e9bcec9
-5928-4f77
-8a9c
-424ef01c20e1
),
814 interface nsIDOMNode
: nsISupports
820 CDATA_SELECTION_NODE
= 4,
821 ENTITY_REFERENCE_NODE
= 5,
823 PROCESSING_INSTRUCTION_NODE
= 7,
826 DOCUMENT_TYPE_NODE
= 10,
827 DOCUMENT_FRAGMENT_NODE
= 11,
832 DOCUMENT_POSITION_DISCONNECTED
= 1,
833 DOCUMENT_POSITION_PRECEDING
= 2,
834 DOCUMENT_POSITION_FOLLOWING
= 4,
835 DOCUMENT_POSITION_CONTAINS
= 8,
836 DOCUMENT_POSITION_CONTAINED_BY
= 16,
837 DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
= 32
840 nsresult GetNodeName
(nsAString
*aNodeName
);
841 nsresult GetNodeValue
(nsAString
*aNodeValue
);
842 nsresult SetNodeValue
(const nsAString
*aNodeValue
);
843 nsresult GetNodeType
(PRUint16
*aNodeType
);
844 nsresult GetParentNode
(nsIDOMNode
**aParentNode
);
845 nsresult GetParentElement
(nsIDOMElement
**aParentElement
);
846 nsresult GetChildNodes
(nsIDOMNodeList
**aChildNodes
);
847 nsresult GetFirstChild
(nsIDOMNode
**aFirstChild
);
848 nsresult GetLastChild
(nsIDOMNode
**aLastChild
);
849 nsresult GetPreviousSibling
(nsIDOMNode
**aPreviousSibling
);
850 nsresult GetNextSibling
(nsIDOMNode
**aNextSibling
);
851 nsresult GetAttributes
(nsIDOMNamedNodeMap
**aAttributes
);
852 nsresult GetOwnerDocument
(nsIDOMDocument
**aOwnerDocument
);
853 nsresult InsertBefore
(nsIDOMNode
*newChild
, nsIDOMNode
*refChild
, nsIDOMNode
**_retval
);
854 nsresult ReplaceChild
(nsIDOMNode
*newChild
, nsIDOMNode
*oldChild
, nsIDOMNode
**_retval
);
855 nsresult RemoveChild
(nsIDOMNode
*oldChild
, nsIDOMNode
**_retval
);
856 nsresult AppendChild
(nsIDOMNode
*newChild
, nsIDOMNode
**_retval
);
857 nsresult HasChildNodes
(bool
*_retval
);
858 nsresult CloneNode
(bool deep
, PRUint8 _argc
, nsIDOMNode
**_retval
);
859 nsresult Normalize
();
860 nsresult IsSupported
(const nsAString
*feature
, const nsAString
*version, bool
*_retval
);
861 nsresult GetNamespaceURI
(nsAString
*aNamespaceURI
);
862 nsresult GetPrefix
(nsAString
*aPrefix
);
863 nsresult GetLocalName
(nsAString
*aLocalName
);
864 nsresult HasAttributes
(bool
*_retval
);
865 nsresult GetDOMBaseURI
(nsAString
*aBaseURI
);
866 nsresult CompareDocumentPosition
(nsIDOMNode
*other
, PRUint16
*_retval
);
867 nsresult GetTextContent
(nsAString
*aTextContent
);
868 nsresult SetTextContent
(const nsAString
*aTextContent
);
869 nsresult LookupPrefix
(const nsAString
*namespaceURI
, nsAString
*_retval
);
870 nsresult IsDefaultNamespace
(const nsAString
*namespaceURI
, bool
*_retval
);
871 nsresult LookupNamespaceURI
(const nsAString
*prefix
, nsAString
*_retval
);
872 nsresult IsEqualNode
(nsIDOMNode
*arg
, bool
*_retval
);
873 nsresult SetUserData
(const nsAString
*key
, nsIVariant
*data
, nsIDOMUserDataHandler
*handler
, nsIVariant
**_retval
);
874 nsresult GetUserData
(const nsAString
*key
, nsIVariant
**_retval
);
875 nsresult Contains
(nsIDOMNode
*aOther
, bool
*_retval
);
877 nsresult GetMshtmlNode
(nsISupports
**aMshtmlNode
);
878 nsresult SetMshtmlNode
(nsISupports
*aMshtmlNode
);
883 uuid(03da4bc9
-1b9a
-41dc
-a1a4
-32414d48d704
),
886 interface nsIDOMAttr
: nsIDOMNode
888 nsresult GetName
(nsAString
*aName
);
889 nsresult GetSpecified
(bool
*aSpecified
);
890 nsresult GetValue
(nsAString
*aValue
);
891 nsresult SetValue
(const nsAString
*aValue
);
892 nsresult GetOwnerElement
(nsIDOMElement
**aOwnerElement
);
893 nsresult GetIsId
(bool
*aIsId
);
898 uuid(b2f824c4
-d9d3
-499b
-8d3b
-45c8245497c6
),
901 interface nsIDOMClientRect
: nsISupports
903 nsresult GetLeft
(float *aLeft
);
904 nsresult GetTop
(float *aTop
);
905 nsresult GetRight
(float *aRight
);
906 nsresult GetBottom
(float *aBottom
);
907 nsresult GetWidth
(float *aWidth
);
908 nsresult GetHeight
(float *aHeight
);
913 uuid(69d44ce2
-b544
-49a8
-bb5f
-87804b971ee4
),
916 interface nsIDOMElement
: nsIDOMNode
918 nsresult GetTagName
(nsAString
*aTagName
);
919 nsresult GetClassList
(nsIDOMDOMTokenList
**aClassList
);
920 nsresult GetAttribute
(const nsAString
*name
, nsAString
*_retval
);
921 nsresult GetAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsAString
*_retval
);
922 nsresult SetAttribute
(const nsAString
*name
, const nsAString
*value
);
923 nsresult SetAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*qualifiedName
, const nsAString
*value
);
924 nsresult RemoveAttribute
(const nsAString
*name
);
925 nsresult RemoveAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
);
926 nsresult HasAttribute
(const nsAString
*name
, bool
*_retval
);
927 nsresult HasAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, bool
*_retval
);
928 nsresult GetAttributeNode
(const nsAString
*name
, nsIDOMAttr
**_retval
);
929 nsresult SetAttributeNode
(nsIDOMAttr
*newAttr
, nsIDOMAttr
**_retval
);
930 nsresult RemoveAttributeNode
(nsIDOMAttr
*oldAttr
, nsIDOMAttr
**_retval
);
931 nsresult GetAttributeNodeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsIDOMAttr
**_retval
);
932 nsresult SetAttributeNodeNS
(nsIDOMAttr
*newAttr
, nsIDOMAttr
**_retval
);
933 nsresult GetElementsByTagName
(const nsAString
*name
, nsIDOMNodeList
**_retval
);
934 nsresult GetElementsByTagNameNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsIDOMNodeList
**_retval
);
935 nsresult GetElementsByClassName
(const nsAString
*classes
, nsIDOMNodeList
**_retval
);
936 nsresult GetChildElements
(nsIDOMNodeList
**aChildren
);
937 nsresult GetFirstElementChild
(nsIDOMElement
**aFirstElementChild
);
938 nsresult GetLastElementChild
(nsIDOMElement
**aLastElementChild
);
939 nsresult GetPreviousElementSibling
(nsIDOMElement
**aPreviousElementSibling
);
940 nsresult GetNextElementSibling
(nsIDOMElement
**aNextElementSibling
);
941 nsresult GetChildElementCount
(PRUint32
*aChildElementCount
);
942 nsresult GetOnmouseenter
(JSContext
*cx
, jsval
*aOnmouseenter
);
943 nsresult SetOnmouseenter
(JSContext
*cx
, const jsval
*aOnmouseenter
);
944 nsresult GetOnmouseleave
(JSContext
*cx
, jsval
*aOnmouseleave
);
945 nsresult SetOnmouseleave
(JSContext
*cx
, const jsval
*aOnmouseleave
);
946 nsresult GetClientRects
(nsIDOMClientRectList
**_retval
);
947 nsresult GetBoundingClientRect
(nsIDOMClientRect
**_retval
);
948 nsresult GetScrollTop
(PRInt32
*aScrollTop
);
949 nsresult SetScrollTop
(PRInt32 aScrollTop
);
950 nsresult GetScrollLeft
(PRInt32
*aScrollLeft
);
951 nsresult SetScrollLeft
(PRInt32 aScrollLeft
);
952 nsresult GetScrollWidth
(PRInt32
*aScrollWidth
);
953 nsresult GetScrollHeight
(PRInt32
*aScrollHeight
);
954 nsresult GetClientTop
(PRInt32
*aClientTop
);
955 nsresult GetClientLeft
(PRInt32
*aClientLeft
);
956 nsresult GetClientWidth
(PRInt32
*aClientWidth
);
957 nsresult GetClientHeight
(PRInt32
*aClientHeight
);
958 nsresult MozMatchesSelector
(const nsAString
*selector
, bool
*_retval
);
959 nsresult SetCapture
(bool retargetToElement
);
960 nsresult ReleaseCapture
();
961 nsresult MozRequestFullScreen
();
962 nsresult MozRequestPointerLock
();
967 uuid(99715845-95fc
-4a56
-aa53
-214b65c26e22
),
970 interface nsIDOMElementCSSInlineStyle
: nsISupports
972 nsresult GetStyle
(nsIDOMCSSStyleDeclaration
**aStyle
);
975 cpp_quote
("#undef GetClassName")
979 uuid(5c8b21bc
-ef6e
-4599
-a26f
-facc05b4adbe
),
982 interface nsIDOMHTMLElement
: nsIDOMElement
984 nsresult GetId
(nsAString
*aId
);
985 nsresult SetId
(const nsAString
*aId
);
986 nsresult GetTitle
(nsAString
*aTitle
);
987 nsresult SetTitle
(const nsAString
*aTitle
);
988 nsresult GetLang
(nsAString
*aLang
);
989 nsresult SetLang
(const nsAString
*aLang
);
990 nsresult GetDir
(nsAString
*aDir
);
991 nsresult SetDir
(const nsAString
*aDir
);
992 nsresult GetClassName
(nsAString
*aClassName
);
993 nsresult SetClassName
(const nsAString
*aClassName
);
994 nsresult GetDataset
(nsIDOMDOMStringMap
**aDataset
);
995 nsresult GetHidden
(bool
*aHidden
);
996 nsresult SetHidden
(bool aHidden
);
998 nsresult GetTabIndex
(PRInt32
*aTabIndex
);
999 nsresult SetTabIndex
(PRInt32 aTabIndex
);
1002 nsresult GetAccessKey
(nsAString
*aAccessKey
);
1003 nsresult SetAccessKey
(const nsAString
*aAccessKey
);
1004 nsresult GetAccessKeyLabel
(nsAString
*aAccessKeyLabel
);
1005 nsresult GetDraggable
(bool
*aDraggable
);
1006 nsresult SetDraggable
(bool aDraggable
);
1007 nsresult GetContentEditable
(nsAString
*aContentEditable
);
1008 nsresult SetContentEditable
(const nsAString
*aContentEditable
);
1009 nsresult GetIsContentEditable
(bool
*aIsContentEditable
);
1010 nsresult GetContextMenu
(nsIDOMHTMLMenuElement
**aContextMenu
);
1011 nsresult GetSpellcheck
(bool
*aSpellcheck
);
1012 nsresult SetSpellcheck
(bool aSpellcheck
);
1013 nsresult GetInnerHTML
(nsAString
*aInnerHTML
);
1014 nsresult SetInnerHTML
(const nsAString
*aInnerHTML
);
1015 nsresult GetOuterHTML
(nsAString
*aInnerHTML
);
1016 nsresult SetOuterHTML
(const nsAString
*aInnerHTML
);
1017 nsresult InsertAdjacentHTML
(const nsAString
*position
, const nsAString
*text
);
1018 nsresult ScrollIntoView
(bool top
, PRUint8 _argc
);
1019 nsresult GetOffsetParent
(nsIDOMElement
* *aOffsetParent
);
1020 nsresult GetOffsetTop
(PRInt32
*aOffsetTop
);
1021 nsresult GetOffsetLeft
(PRInt32
*aOffsetLeft
);
1022 nsresult GetOffsetWidth
(PRInt32
*aOffsetWidth
);
1023 nsresult GetOffsetHeight
(PRInt32
*aOffsetHeight
);
1028 uuid(b7ccd7b3
-86aa
-4322-a50c
-b972643bb662
),
1031 interface nsIDOMHTMLCollection
: nsISupports
1033 nsresult GetLength
(PRUint32
*aLength
);
1034 nsresult Item
(PRUint32 index
, nsIDOMNode
**_retval
);
1035 nsresult NamedItem
(const nsAString
*name
, nsIDOMNode
**_retval
);
1036 /* Followed by semi-internal API that we don't want to use */
1041 uuid(cb75c251
-afc7
-444f
-b2d6
-b9635555f3ed
),
1044 interface nsIDOMCharacterData
: nsIDOMNode
1046 nsresult GetData
(nsAString
*aData
);
1047 nsresult SetData
(const nsAString
*aData
);
1048 nsresult GetLength
(PRUint32
*aLength
);
1049 nsresult SubstringData
(PRUint32 offset
, PRUint32 count
, nsAString
*_retval
);
1050 nsresult AppendData
(const nsAString
*arg
);
1051 nsresult InsertData
(PRUint32 offset
, const nsAString
*arg
);
1052 nsresult DeleteData
(PRUint32 offset
, PRUint32 count
);
1053 nsresult ReplaceData
(PRUint32 offset
, PRUint32 count
, const nsAString
*arg
);
1058 uuid(437ed60c
-febd
-4bd0
-892f
-cf358adc3c96
),
1061 interface nsIDOMText
: nsIDOMCharacterData
1063 nsresult SplitText
(PRUint32 offset
, nsIDOMText
**_retval
);
1064 nsresult GetWholeText
(nsAString
*aWholeText
);
1069 uuid(cea49a35
-dac9
-4c4d
-9830-4660abb3b6bc
),
1072 interface nsIDOMComment
: nsIDOMCharacterData
1078 uuid(4a15eb0c
-d5bc
-4902-9d50
-21b12cab47e7
),
1081 interface nsIDOMDocumentFragment
: nsIDOMNode
1087 uuid(fdb92f4f
-c6b4
-4509-a29d
-a309981e28ac
),
1090 interface nsIDOMDocument
: nsIDOMNode
1092 nsresult GetDoctype
(nsIDOMDocumentType
**aDoctype
);
1093 nsresult GetImplementation
(nsIDOMDOMImplementation
**aImplementation
);
1094 nsresult GetDocumentElement
(nsIDOMElement
**aDocumentElement
);
1095 nsresult CreateElement
(const nsAString
*tagName
, nsIDOMElement
**_retval
);
1096 nsresult CreateDocumentFragment
(nsIDOMDocumentFragment
**_retval
);
1097 nsresult CreateTextNode
(const nsAString
*data
, nsIDOMText
**_retval
);
1098 nsresult CreateComment
(const nsAString
*data
, nsIDOMComment
**_retval
);
1099 nsresult CreateCDATASection
(const nsAString
*data
, nsIDOMCDATASection
**_retval
);
1100 nsresult CreateProcessingInstruction
(const nsAString
*target
, const nsAString
*data
, nsIDOMProcessingInstruction
**_retval
);
1101 nsresult CreateAttribute
(const nsAString
*name
, nsIDOMAttr
**_retval
);
1102 nsresult GetElementsByTagName
(const nsAString
*tagname
, nsIDOMNodeList
**_retval
);
1103 nsresult ImportNode
(nsIDOMNode
*importedNode
, bool deep
, PRUint8 _argc
, nsIDOMNode
**_retval
);
1104 nsresult CreateElementNS
(const nsAString
*namespaceURI
, const nsAString
*qualifiedName
, nsIDOMElement
**_retval
);
1105 nsresult CreateAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*qualifiedName
, nsIDOMAttr
**_retval
);
1106 nsresult GetElementsByTagNameNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsIDOMNodeList
**_retval
);
1107 nsresult GetElementById
(const nsAString
*elementId
, nsIDOMElement
**_retval
);
1108 nsresult GetInputEncoding
(nsAString
*aInputEncoding
);
1109 nsresult GetDocumentURI
(nsAString
*aDocumentURI
);
1110 nsresult AdoptNode
(nsIDOMNode
*source, nsIDOMNode
**_retval
);
1111 nsresult CreateRange
(nsIDOMRange
**_retval
);
1112 nsresult CreateNodeIterator
(nsIDOMNode
*root
, PRUint32 whatToShow
, nsIDOMNodeFilter
*filter
, PRUint8 _argc
,
1113 nsIDOMNodeIterator
**_retval
);
1114 nsresult CreateTreeWalker
(nsIDOMNode
*root
, PRUint32 whatToShow
, nsIDOMNodeFilter
*filter
, PRUint8 _argc
,
1115 nsIDOMTreeWalker
**_retval
);
1116 cpp_quote
("#undef CreateEvent")
1117 nsresult CreateEvent
(const nsAString
*eventType
, nsIDOMEvent
**_retval
);
1118 nsresult GetDefaultView
(nsIDOMWindow
**aDefaultView
);
1119 nsresult GetCharacterSet
(nsAString
*aCharacterSet
);
1120 nsresult GetDir
(nsAString
*aDir
);
1121 nsresult SetDir
(const nsAString
*aDir
);
1122 nsresult GetLocation
(nsIDOMLocation
**aLocation
);
1123 nsresult GetTitle
(nsAString
*aTitle
);
1124 nsresult SetTitle
(const nsAString
*aTitle
);
1125 nsresult GetReadyState
(nsAString
*aReadyState
);
1126 nsresult GetLastModified
(nsAString
*aLastModified
);
1127 nsresult GetReferrer
(nsAString
*aReferrer
);
1128 nsresult HasFocus
(bool
*_retval
);
1129 nsresult GetActiveElement
(nsIDOMElement
**aActiveElement
);
1130 nsresult GetElementsByClassName
(const nsAString
*classes
, nsIDOMNodeList
**_retval
);
1131 nsresult GetStyleSheets
(nsIDOMStyleSheetList
**aStyleSheets
);
1132 nsresult GetPreferredStyleSheetSet
(nsAString
*aPreferredStyleSheetSet
);
1133 nsresult GetSelectedStyleSheetSet
(nsAString
*aSelectedStyleSheetSet
);
1134 nsresult SetSelectedStyleSheetSet
(const nsAString
*aSelectedStyleSheetSet
);
1135 nsresult GetLastStyleSheetSet
(nsAString
*aLastStyleSheetSet
);
1136 nsresult GetStyleSheetSets
(nsIDOMDOMStringList
**aStyleSheetSets
);
1137 nsresult EnableStyleSheetsForSet
(const nsAString
*name
);
1138 nsresult ElementFromPoint
(float x
, float y
, nsIDOMElement
**_retval
);
1139 nsresult GetContentType
(nsAString
*aContentType
);
1140 nsresult GetMozSyntheticDocument
(bool
*aMozSyntheticDocument
);
1141 nsresult GetCurrentScript
(nsIDOMElement
**aCurrentScript
);
1142 nsresult ReleaseCapture
();
1143 nsresult MozSetImageElement
(const nsAString
*aImageElementId
, nsIDOMElement
*aImageElement
);
1144 nsresult GetMozFullScreenElement
(nsIDOMElement
**aMozFullScreenElement
);
1145 nsresult MozCancelFullScreen
();
1146 nsresult GetMozFullScreen
(bool
*aMozFullScreen
);
1147 nsresult GetMozFullScreenEnabled
(bool
*aMozFullScreenEnabled
);
1148 nsresult GetMozPointerLockElement
(nsIDOMElement
**aMozPointerLockElement
);
1149 nsresult MozExitPointerLock
();
1150 nsresult GetOnreadystatechange
(JSContext
* cx
, jsval aOnreadystatechange
);
1151 nsresult SetOnreadystatechange
(JSContext
* cx
, const jsval
*aOnreadystatechange
);
1152 nsresult GetOnmouseenter
(JSContext
* cx
, jsval
*aOnmouseenter
);
1153 nsresult SetOnmouseenter
(JSContext
* cx
, const jsval
*aOnmouseenter
);
1154 nsresult GetOnmouseleave
(JSContext
* cx
, jsval
*aOnmouseleave
) = 0;
1155 nsresult SetOnmouseleave
(JSContext
* cx
, const jsval
*aOnmouseleave
);
1156 nsresult GetMozHidden
(bool
*aMozHidden
);
1157 nsresult GetMozVisibilityState
(nsAString
*aMozVisibilityState
);
1162 uuid(1b93973f
-28cc
-4f33
-8e7b
-b89c63aa9200
),
1165 interface nsIDOMHTMLDocument
: nsIDOMDocument
1167 nsresult GetURL
(nsAString
*aURL
);
1168 nsresult GetDomain
(nsAString
*aDomain
);
1169 nsresult SetDomain
(const nsAString
*aDomain
);
1170 nsresult GetCookie
(nsAString
*aCookie
);
1171 nsresult SetCookie
(const nsAString
*aCookie
);
1172 nsresult GetCompatMode
(nsAString
*aCompatMode
);
1173 nsresult GetHead
(nsIDOMHTMLHeadElement
**aHead
);
1174 nsresult GetBody
(nsIDOMHTMLElement
**aBody
);
1175 nsresult SetBody
(nsIDOMHTMLElement
*aBody
);
1176 nsresult GetImages
(nsIDOMHTMLCollection
**aImages
);
1177 nsresult GetEmbeds
(nsIDOMHTMLCollection
**aEmbeds
);
1178 nsresult GetPlugins
(nsIDOMHTMLCollection
**aPlugins
);
1179 nsresult GetLinks
(nsIDOMHTMLCollection
**aLinks
);
1180 nsresult GetForms
(nsIDOMHTMLCollection
**aForms
);
1181 nsresult GetScripts
(nsIDOMHTMLCollection
**aScripts
);
1182 nsresult GetElementsByName
(const nsAString
*elementName
, nsIDOMNodeList
**_retval
);
1183 nsresult Open
(const nsAString
*aContentTypeOrUrl
, const nsAString
*aReplaceOrName
, const nsAString
*aFeatures
,
1184 JSContext
*cx
, PRUint8 _argc
, nsISupports
**_retval
);
1186 nsresult Write
(const nsAString
*text
, JSContext
*cx
);
1187 nsresult Writeln
(const nsAString
*text
, JSContext
*cx
);
1188 nsresult GetDesignMode
(nsAString
*aDesignMode
);
1189 nsresult SetDesignMode
(const nsAString
*aDesignMode
);
1190 nsresult ExecCommand
(const nsAString
*commandID
, bool doShowUI
, const nsAString
*value
, bool
*_retval
);
1191 nsresult QueryCommandEnabled
(const nsAString
*commandID
, bool
*_retval
);
1192 nsresult QueryCommandIndeterm
(const nsAString
*commandID
, bool
*_retval
);
1193 nsresult QueryCommandState
(const nsAString
*commandID
, bool
*_retval
);
1194 nsresult QueryCommandSupported
(const nsAString
*commandID
, bool
*_retval
);
1195 nsresult QueryCommandValue
(const nsAString
*commandID
, nsAString
*_retval
);
1196 nsresult GetFgColor
(nsAString
*aFgColor
);
1197 nsresult SetFgColor
(const nsAString
*aFgColor
);
1198 nsresult GetBgColor
(nsAString
*aBgColor
);
1199 nsresult SetBgColor
(const nsAString
*aBgColor
);
1200 nsresult GetLinkColor
(nsAString
*aLinkColor
);
1201 nsresult SetLinkColor
(const nsAString
*aLinkColor
);
1202 nsresult GetVlinkColor
(nsAString
*aVlinkColor
);
1203 nsresult SetVlinkColor
(const nsAString
*aVlinkColor
);
1204 nsresult GetAlinkColor
(nsAString
*aAlinkColor
);
1205 nsresult SetAlinkColor
(const nsAString
*aAlinkColor
);
1206 nsresult GetAnchors
(nsIDOMHTMLCollection
**aAnchors
);
1207 nsresult GetApplets
(nsIDOMHTMLCollection
**aApplets
);
1209 nsresult GetSelection
(nsISelection
**_retval
);
1210 nsresult CaptureEvents
(PRInt32 eventFlags
);
1211 nsresult ReleaseEvents
(PRInt32 eventFlags
);
1212 nsresult RouteEvent
(nsIDOMEvent
*evt
);
1217 uuid(a059eea8
-fece
-4c14
-93d3
-7f50a944ae43
),
1220 interface nsIDOMRange
: nsISupports
1229 nsresult GetStartContainer
(nsIDOMNode
**aStartContainer
);
1230 nsresult GetStartOffset
(PRInt32
*aStartOffset
);
1231 nsresult GetEndContainer
(nsIDOMNode
**aEndContainer
);
1232 nsresult GetEndOffset
(PRInt32
*aEndOffset
);
1233 nsresult GetCollapsed
(bool
*aCollapsed
);
1234 nsresult GetCommonAncestorContainer
(nsIDOMNode
**aCommonAncestorContainer
);
1235 nsresult SetStart
(nsIDOMNode
*refNode
, PRInt32 offset
);
1236 nsresult SetEnd
(nsIDOMNode
*refNode
, PRInt32 offset
);
1237 nsresult SetStartBefore
(nsIDOMNode
*refNode
);
1238 nsresult SetStartAfter
(nsIDOMNode
*refNode
);
1239 nsresult SetEndBefore
(nsIDOMNode
*refNode
);
1240 nsresult SetEndAfter
(nsIDOMNode
*refNode
);
1241 nsresult Collapse
(bool toStart
);
1242 nsresult SelectNode
(nsIDOMNode
*refNode
);
1243 nsresult SelectNodeContents
(nsIDOMNode
*refNode
);
1244 nsresult CompareBoundaryPoints
(PRUint16 how
, nsIDOMRange
*sourceRange
, PRInt16
*_retval
);
1245 nsresult DeleteContents
();
1246 nsresult ExtractContents
(nsIDOMDocumentFragment
**_retval
);
1247 nsresult CloneContents
(nsIDOMDocumentFragment
**_retval
);
1248 nsresult InsertNode
(nsIDOMNode
*newNode
);
1249 nsresult SurroundContents
(nsIDOMNode
*newParent
);
1250 nsresult CloneRange
(nsIDOMRange
**_retval
);
1251 nsresult ToString
(nsAString
*_retval
);
1253 nsresult CreateContextualFragment
([in] const nsAString
*fragment
, [out] nsIDOMDocumentFragment
**_retval
);
1254 nsresult IsPointInRange
([in] nsIDOMNode
*parent
, [in] PRInt32 offset
, [out] bool
*_retval
);
1255 nsresult ComparePoint
([in] nsIDOMNode
*parent
, [in] PRInt32 offset
, [out] PRInt16
*_retval
);
1256 nsresult GetClientRects
(nsIDOMClientRectList
**_retval
);
1257 nsresult GetBoundingClientRect
(nsIDOMClientRect
**_retval
);
1262 uuid(5ac0cd5d
-3c08
-4c4c
-8e70
-230c433f5d5c
),
1265 interface nsISelection
: nsISupports
1267 nsresult GetAnchorNode
(nsIDOMNode
**aAnchorNode
);
1268 nsresult GetAnchorOffset
(PRInt32
*aAnchorOffset
);
1269 nsresult GetFocusNode
(nsIDOMNode
**aFocusNode
);
1270 nsresult GetFocusOffset
(PRInt32
*aFocusOffset
);
1271 nsresult GetIsCollapsed
(bool
*aIsCollapsed
);
1272 nsresult GetRangeCount
(PRInt32
*aRangeCount
);
1273 nsresult GetRangeAt
(PRInt32 index
, nsIDOMRange
**_retval
);
1274 nsresult Collapse
(nsIDOMNode
*parentNode
, PRInt32 offset
);
1275 nsresult CollapseNative
(nsINode
*parentNode
, PRInt32 offset
);
1276 nsresult Extend
(nsIDOMNode
*parentNode
, PRInt32 offset
);
1277 nsresult CollapseToStart
();
1278 nsresult CollapseToEnd
();
1279 nsresult ContainsNode
(nsIDOMNode
*node
, bool entirelyContained
, bool
*_retval
);
1280 nsresult SelectAllChildren
(nsIDOMNode
*parentNode
);
1281 nsresult AddRange
(nsIDOMRange
*range);
1282 nsresult RemoveRange
(nsIDOMRange
*range);
1283 nsresult RemoveAllRanges
();
1284 nsresult DeleteFromDocument
();
1285 nsresult SelectionLanguageChange
(bool langRTL
);
1286 nsresult ToString
(PRUnichar
**_retval
);
1287 nsresult Modify
(const nsAString
*alter
, const nsAString
*direction
, const nsAString
*granularity
);
1292 uuid(a6cf906f
-15b3
-11d2
-932e-00805f8add32
),
1295 interface nsIDOMWindowCollection
: nsISupports
1297 nsresult GetLength
(PRUint32
*aLength
);
1298 nsresult Item
(PRUint32 index
, nsIDOMWindow
**_retval
);
1299 nsresult NamedItem
(const nsAString
*name
, nsIDOMWindow
**_retval
);
1304 uuid(f6e3b10d
-d5f4
-4fcd
-aa4c
-5f98626d428a
),
1307 interface nsIDOMWindow
: nsISupports
1309 nsresult GetWindow
(nsIDOMWindow
**aWindow
);
1310 nsresult GetSelf
(nsIDOMWindow
**aSelf
);
1311 nsresult GetDocument
(nsIDOMDocument
**aDocument
);
1312 nsresult GetName
(nsAString
*aName
);
1313 nsresult SetName
(const nsAString
*aName
);
1314 nsresult GetLocation
(nsIDOMLocation
**aLocation
);
1315 nsresult GetHistory
(nsIDOMHistory
**aHistory
);
1316 nsresult GetLocationbar
(nsIDOMBarProp
**aLocationbar
);
1317 nsresult GetMenubar
(nsIDOMBarProp
**aMenubar
);
1318 nsresult GetPersonalbar
(nsIDOMBarProp
**aPersonalbar
);
1319 nsresult GetScrollbars
(nsIDOMBarProp
**aScrollbars
);
1320 nsresult GetStatusbar
(nsIDOMBarProp
**aStatusbar
);
1321 nsresult GetToolbar
(nsIDOMBarProp
**aToolbar
);
1322 nsresult GetStatus
(nsAString
*aStatus
);
1323 nsresult SetStatus
(const nsAString
*aStatus
);
1328 nsresult GetLength
(PRUint32
*aLength
);
1329 nsresult GetTop
(nsIDOMWindow
**aTop
);
1330 nsresult GetOpener
(nsIDOMWindow
**aOpener
);
1331 nsresult SetOpener
(nsIDOMWindow
*aOpener
);
1332 nsresult GetParent
(nsIDOMWindow
**aParent
);
1333 nsresult GetFrameElement
(nsIDOMElement
**aFrameElement
);
1334 nsresult GetNavigator
(nsIDOMNavigator
**aNavigator
);
1335 nsresult GetApplicationCache
(nsIDOMOfflineResourceList
**aApplicationCache
);
1336 nsresult Alert
(const nsAString
*text
);
1337 nsresult Confirm
(const nsAString
*text
, bool
*_retval
);
1338 nsresult Prompt
(const nsAString
*aMessage
, const nsAString
*aInitial
, nsAString
*_retval
);
1340 nsresult ShowModalDialog
(const nsAString
*aURI
, nsIVariant
*aArgs
, const nsAString
*aOptions
, nsIVariant
**_retval
);
1341 nsresult PostMessageMoz
(const long /*jsval*/ *message, const nsAString
*targetOrigin
, JSContext
*cx
);
1342 nsresult Atob
(const nsAString
*aAsciiString
, nsAString
*_retval
);
1343 nsresult Btoa
(const nsAString
*aBase64Data
, nsAString
*_retval
);
1344 nsresult GetSessionStorage
(nsIDOMStorage
**aSessionStorage
);
1345 nsresult GetLocalStorage
(nsIDOMStorage
**aLocalStorage
);
1346 nsresult GetSelection
(nsISelection
**_retval
);
1347 nsresult MatchMedia
(const nsAString
*media_query_list
, nsIDOMMediaQueryList
**_retval
);
1348 nsresult GetScreen
(nsIDOMScreen
**aScreen
);
1349 nsresult GetInnerWidth
(PRInt32
*aInnerWidth
);
1350 nsresult SetInnerWidth
(PRInt32 aInnerWidth
);
1351 nsresult GetInnerHeight
(PRInt32
*aInnerHeight
);
1352 nsresult SetInnerHeight
(PRInt32 aInnerHeight
);
1353 nsresult GetScrollX
(PRInt32
*aScrollX
);
1354 nsresult GetPageXOffset
(PRInt32
*aPageXOffset
);
1355 nsresult GetScrollY
(PRInt32
*aScrollY
);
1356 nsresult GetPageYOffset
(PRInt32
*aPageYOffset
);
1357 nsresult Scroll
(PRInt32 xScroll
, PRInt32 yScroll
);
1358 nsresult ScrollTo
(PRInt32 xScroll
, PRInt32 yScroll
);
1359 nsresult ScrollBy
(PRInt32 xScrollDif
, PRInt32 yScrollDif
);
1360 nsresult GetScreenX
(PRInt32
*aScreenX
);
1361 nsresult SetScreenX
(PRInt32 aScreenX
);
1362 nsresult GetScreenY
(PRInt32
*aScreenY
);
1363 nsresult SetScreenY
(PRInt32 aScreenY
);
1364 nsresult GetOuterWidth
(PRInt32
*aOuterWidth
);
1365 nsresult SetOuterWidth
(PRInt32 aOuterWidth
);
1366 nsresult GetOuterHeight
(PRInt32
*aOuterHeight
);
1367 nsresult SetOuterHeight
(PRInt32 aOuterHeight
);
1368 nsresult GetComputedStyle
(nsIDOMElement
*elt
, const nsAString
*pseudoElt
, nsIDOMCSSStyleDeclaration
**_retval
);
1369 nsresult GetWindowRoot
(nsIDOMEventTarget
**aWindowRoot
);
1370 nsresult GetFrames
(nsIDOMWindowCollection
**aFrames
);
1371 nsresult GetTextZoom
(float *aTextZoom
);
1372 nsresult SetTextZoom
(float aTextZoom
);
1373 nsresult ScrollByLines
(PRInt32 numLines
);
1374 nsresult ScrollByPages
(PRInt32 numPages
);
1375 nsresult SizeToContent
();
1376 nsresult GetContent
(nsIDOMWindow
**aContent
);
1377 nsresult GetPrompter
(nsIPrompt
**aPrompter
);
1378 nsresult GetClosed
(bool
*aClosed
);
1379 nsresult GetCrypto
(nsIDOMCrypto
**aCrypto
);
1380 nsresult GetPkcs11
(nsIDOMPkcs11
**aPkcs11
);
1381 nsresult GetControllers
(nsIControllers
**aControllers
);
1382 nsresult GetDefaultStatus
(nsAString
*aDefaultStatus
);
1383 nsresult SetDefaultStatus
(const nsAString
*aDefaultStatus
);
1384 nsresult GetMozInnerScreenX
(float *aMozInnerScreenX
);
1385 nsresult GetMozInnerScreenY
(float *aMozInnerScreenY
);
1386 nsresult GetScrollMaxX
(PRInt32
*aScrollMaxX
);
1387 nsresult GetScrollMaxY
(PRInt32
*aScrollMaxY
);
1388 nsresult GetFullScreen
(bool
*aFullScreen
);
1389 nsresult SetFullScreen
(bool aFullScreen
);
1393 nsresult MoveTo
(PRInt32 xPos
, PRInt32 yPos
);
1394 nsresult MoveBy
(PRInt32 xDif
, PRInt32 yDif
);
1395 nsresult ResizeTo
(PRInt32 width
, PRInt32 height
);
1396 nsresult ResizeBy
(PRInt32 widthDif
, PRInt32 heightDif
);
1397 nsresult Open
(const nsAString
*url
, const nsAString
*name
, const nsAString
*options
, nsIDOMWindow
**_retval
);
1398 nsresult OpenDialog
(const nsAString
*url
, const nsAString
*name
, const nsAString
*options
, nsISupports
*aExtraArgument
,
1399 nsIDOMWindow
**_retval
);
1400 nsresult UpdateCommands
(const nsAString
*action
);
1401 nsresult Find
(const nsAString
*str
, bool caseSensitive
, bool backwards
, bool wrapAround
, bool wholeWord
,
1402 bool searchInFrames
, bool showDialog
, bool
*_retval
);
1403 nsresult GetMozPaintCount
(PRUint64
*aMozPaintCount
);
1404 nsresult MozRequestAnimationFrame
(nsIFrameRequestCallback
*aCallback
, PRInt32
*_retval
);
1405 nsresult MozCancelAnimationFrame
(PRInt32 aHandle
);
1406 nsresult MozCancelRequestAnimationFrame
(PRInt32 aHandle
);
1407 nsresult GetMozAnimationStartTime
(PRInt64
*aMozAnimationStartTime
);
1408 nsresult GetURL
(nsIDOMMozURLProperty
**aURL
);
1409 nsresult GetOnafterprint
(JSContext
*cx
, jsval
*aOnafterprint
);
1410 nsresult SetOnafterprint
(JSContext
*cx
, const jsval
*aOnafterprint
);
1411 nsresult GetOnbeforeprint
(JSContext
*cx
, jsval
*aOnbeforeprint
);
1412 nsresult SetOnbeforeprint
(JSContext
*cx
, const jsval
*aOnbeforeprint
);
1413 nsresult GetOnbeforeunload
(JSContext
*cx
, jsval
*aOnbeforeunload
);
1414 nsresult SetOnbeforeunload
(JSContext
*cx
, const jsval
*aOnbeforeunload
);
1415 nsresult GetOnhashchange
(JSContext
*cx
, jsval
*aOnhashchange
);
1416 nsresult SetOnhashchange
(JSContext
*cx
, const jsval
*aOnhashchange
);
1417 nsresult GetOnmessage
(JSContext
*cx
, jsval
*aOnmessage
);
1418 nsresult SetOnmessage
(JSContext
*cx
, const jsval
*aOnmessage
);
1419 nsresult GetOnoffline
(JSContext
*cx
, jsval
*aOnoffline
);
1420 nsresult SetOnoffline
(JSContext
*cx
, const jsval
*aOnoffline
);
1421 nsresult GetOnonline
(JSContext
*cx
, jsval
*aOnonline
);
1422 nsresult SetOnonline
(JSContext
*cx
, const jsval
*aOnonline
);
1423 nsresult GetOnpopstate
(JSContext
*cx
, jsval
*aOnpopstate
);
1424 nsresult SetOnpopstate
(JSContext
*cx
, const jsval
*aOnpopstate
);
1425 nsresult GetOnpagehide
(JSContext
*cx
, jsval
*aOnpagehide
);
1426 nsresult SetOnpagehide
(JSContext
*cx
, const jsval
*aOnpagehide
);
1427 nsresult GetOnpageshow
(JSContext
*cx
, jsval
*aOnpageshow
);
1428 nsresult SetOnpageshow
(JSContext
*cx
, const jsval
*aOnpageshow
);
1429 nsresult GetOnresize
(JSContext
*cx
, jsval
*aOnresize
);
1430 nsresult SetOnresize
(JSContext
*cx
, const jsval
*aOnresize
);
1431 nsresult GetOnunload
(JSContext
*cx
, jsval
*aOnunload
);
1432 nsresult SetOnunload
(JSContext
*cx
, const jsval
*aOnunload
);
1433 nsresult GetOndevicemotion
(JSContext
*cx
, jsval
*aOndevicemotion
);
1434 nsresult SetOndevicemotion
(JSContext
*cx
, const jsval
*aOndevicemotion
);
1435 nsresult GetOndeviceorientation
(JSContext
*cx
, jsval
*aOndeviceorientation
);
1436 nsresult SetOndeviceorientation
(JSContext
*cx
, const jsval
*aOndeviceorientation
);
1437 nsresult GetOnmouseenter
(JSContext
* cx
, jsval
*aOnmouseenter
);
1438 nsresult SetOnmouseenter
(JSContext
* cx
, const jsval
*aOnmouseenter
);
1439 nsresult GetOnmouseleave
(JSContext
* cx
, jsval
*aOnmouseleave
) = 0;
1440 nsresult SetOnmouseleave
(JSContext
* cx
, const jsval
*aOnmouseleave
);
1445 uuid(d8f00c8b
-d317
-4df2
-a9bf
-4a1e6f19f945
),
1448 interface nsIDOMHTMLBodyElement
: nsIDOMHTMLElement
1450 nsresult GetALink
(nsAString
*aALink
);
1451 nsresult SetALink
(const nsAString
*aALink
);
1452 nsresult GetBackground
(nsAString
*aBackground
);
1453 nsresult SetBackground
(const nsAString
*aBackground
);
1454 nsresult GetBgColor
(nsAString
*aBgColor
);
1455 nsresult SetBgColor
(const nsAString
*aBgColor
);
1456 nsresult GetLink
(nsAString
*aLink
);
1457 nsresult SetLink
(const nsAString
*aLink
);
1458 nsresult GetText
(nsAString
*aText
);
1459 nsresult SetText
(const nsAString
*aText
);
1460 nsresult GetVLink
(nsAString
*aVLink
);
1461 nsresult SetVLink
(const nsAString
*aVLink
);
1462 nsresult GetOnafterprint
(JSContext
*cx
, jsval
*aOnafterprint
);
1463 nsresult SetOnafterprint
(JSContext
*cx
, const jsval
*aOnafterprint
);
1464 nsresult GetOnbeforeprint
(JSContext
*cx
, jsval
*aOnbeforeprint
);
1465 nsresult SetOnbeforeprint
(JSContext
*cx
, const jsval
*aOnbeforeprint
);
1466 nsresult GetOnbeforeunload
(JSContext
*cx
, jsval
*aOnbeforeunload
);
1467 nsresult SetOnbeforeunload
(JSContext
*cx
, const jsval
*aOnbeforeunload
);
1468 nsresult GetOnhashchange
(JSContext
*cx
, jsval
*aOnhashchange
);
1469 nsresult SetOnhashchange
(JSContext
*cx
, const jsval
*aOnhashchange
);
1470 nsresult GetOnmessage
(JSContext
*cx
, jsval
*aOnmessage
);
1471 nsresult SetOnmessage
(JSContext
*cx
, const jsval
*aOnmessage
);
1472 nsresult GetOnoffline
(JSContext
*cx
, jsval
*aOnoffline
);
1473 nsresult SetOnoffline
(JSContext
*cx
, const jsval
*aOnoffline
);
1474 nsresult GetOnonline
(JSContext
*cx
, jsval
*aOnonline
);
1475 nsresult SetOnonline
(JSContext
*cx
, const jsval
*aOnonline
);
1476 nsresult GetOnpagehide
(JSContext
*cx
, jsval
*aOnpagehide
);
1477 nsresult SetOnpagehide
(JSContext
*cx
, const jsval
*aOnpagehide
);
1478 nsresult GetOnpageshow
(JSContext
*cx
, jsval
*aOnpageshow
);
1479 nsresult SetOnpageshow
(JSContext
*cx
, const jsval
*aOnpageshow
);
1480 nsresult GetOnpopstate
(JSContext
*cx
, jsval
*aOnpopstate
);
1481 nsresult SetOnpopstate
(JSContext
*cx
, const jsval
*aOnpopstate
);
1482 nsresult GetOnresize
(JSContext
*cx
, jsval
*aOnresize
);
1483 nsresult SetOnresize
(JSContext
*cx
, const jsval
*aOnresize
);
1484 nsresult GetOnunload
(JSContext
*cx
, jsval
*aOnunload
);
1485 nsresult SetOnunload
(JSContext
*cx
, const jsval
*aOnunload
);
1490 uuid(59c0dc07
-d784
-410b
-8b5e
-c26baf7cb8a6
),
1493 interface nsIDOMHTMLFormElement
: nsIDOMHTMLElement
1495 nsresult GetAcceptCharset
(nsAString
*aAcceptCharset
);
1496 nsresult SetAcceptCharset
(const nsAString
*aAcceptCharset
);
1497 nsresult GetAction
(nsAString
*aAction
);
1498 nsresult SetAction
(const nsAString
*aAction
);
1499 nsresult GetAutocomplete
(nsAString
*aAutocomplete
);
1500 nsresult SetAutocomplete
(const nsAString
*aAutocomplete
);
1501 nsresult GetEnctype
(nsAString
*aEnctype
);
1502 nsresult SetEnctype
(const nsAString
*aEnctype
);
1503 nsresult GetEncoding
(nsAString
*aEncoding
);
1504 nsresult SetEncoding
(const nsAString
*aEncoding
);
1505 nsresult GetMethod
(nsAString
*aMethod
);
1506 nsresult SetMethod
(const nsAString
*aMethod
);
1507 nsresult GetName
(nsAString
*aName
);
1508 nsresult SetName
(const nsAString
*aName
);
1509 nsresult GetNoValidate
(bool
*aNoValidate
);
1510 nsresult SetNoValidate
(bool aNoValidate
);
1511 nsresult GetTarget
(nsAString
*aTarget
);
1512 nsresult SetTarget
(const nsAString
*aTarget
);
1513 nsresult GetElements
(nsIDOMHTMLCollection
**aElements
);
1514 nsresult GetLength
(PRInt32
*aLength
);
1517 nsresult CheckValidity
(bool
*_retval
);
1522 uuid(05fedf7e
-3050
-4143-ab97
-b994f3cc9329
),
1525 interface nsIDOMHTMLInputElement
: nsIDOMHTMLElement
1527 nsresult GetAccept
(nsAString
*aAccept
);
1528 nsresult SetAccept
(const nsAString
*aAccept
);
1529 nsresult GetAlt
(nsAString
*aAlt
);
1530 nsresult SetAlt
(const nsAString
*aAlt
);
1531 nsresult GetAutocomplete
(nsAString
*aAutocomplete
);
1532 nsresult SetAutocomplete
(const nsAString
*aAutocomplete
);
1533 nsresult GetAutofocus
(bool
*aAutofocus
);
1534 nsresult SetAutofocus
(bool aAutofocus
);
1535 nsresult GetDefaultChecked
(bool
*aDefaultChecked
);
1536 nsresult SetDefaultChecked
(bool aDefaultChecked
);
1537 nsresult GetChecked
(bool
*aChecked
);
1538 nsresult SetChecked
(bool aChecked
);
1539 nsresult GetDisabled
(bool
*aDisabled
);
1540 nsresult SetDisabled
(bool aDisabled
);
1541 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1542 nsresult GetFormAction
(nsAString
*aFormAction
);
1543 nsresult SetFormAction
(const nsAString
*aFormAction
);
1544 nsresult GetFormEnctype
(nsAString
*aFormEnctype
);
1545 nsresult SetFormEnctype
(const nsAString
*aFormEnctype
);
1546 nsresult GetFormMethod
(nsAString
*aFormMethod
);
1547 nsresult SetFormMethod
(const nsAString
*aFormMethod
);
1548 nsresult GetFormNoValidate
(bool
*aFormNoValidate
);
1549 nsresult SetFormNoValidate
(bool aFormNoValidate
);
1550 nsresult GetFormTarget
(nsAString
*aFormTarget
);
1551 nsresult SetFormTarget
(const nsAString
*aFormTarget
);
1552 nsresult GetFiles
(nsIDOMFileList
**aFiles
);
1553 nsresult GetIndeterminate
(bool
*aIndeterminate
);
1554 nsresult SetIndeterminate
(bool aIndeterminate
);
1555 nsresult GetList
(nsIDOMHTMLElement
**aList
);
1556 nsresult GetMaxLength
(PRInt32
*aMaxLength
);
1557 nsresult SetMaxLength
(PRInt32 aMaxLength
);
1558 nsresult GetMultiple
(bool
*aMultiple
);
1559 nsresult SetMultiple
(bool aMultiple
);
1560 nsresult GetName
(nsAString
*aName
);
1561 nsresult SetName
(const nsAString
*aName
);
1562 nsresult GetPattern
(nsAString
*aPattern
);
1563 nsresult SetPattern
(const nsAString
*aPattern
);
1564 nsresult GetPlaceholder
(nsAString
*aPlaceholder
);
1565 nsresult SetPlaceholder
(const nsAString
*aPlaceholder
);
1566 nsresult GetReadOnly
(bool
*aReadOnly
);
1567 nsresult SetReadOnly
(bool aReadOnly
);
1568 nsresult GetRequired
(bool
*aRequired
);
1569 nsresult SetRequired
(bool aRequired
);
1570 nsresult GetAlign
(nsAString
*aAlign
);
1571 nsresult SetAlign
(const nsAString
*aAlign
);
1572 nsresult GetSize
(PRUint32
*aSize
);
1573 nsresult SetSize
(PRUint32 aSize
);
1574 nsresult GetSrc
(nsAString
*aSrc
);
1575 nsresult SetSrc
(const nsAString
*aSrc
);
1576 nsresult GetType
(nsAString
*aType
);
1577 nsresult SetType
(const nsAString
*aType
);
1578 nsresult GetDefaultValue
(nsAString
*aDefaultValue
);
1579 nsresult SetDefaultValue
(const nsAString
*aDefaultValue
);
1580 nsresult GetValue
(nsAString
*aValue
);
1581 nsresult SetValue
(const nsAString
*aValue
);
1582 nsresult GetWillValidate
(bool
*aWillValidate
);
1583 nsresult GetValidity
(nsIDOMValidityState
**aValidity
);
1584 nsresult GetValidationMessage
(nsAString
*aValidationMessage
);
1585 nsresult CheckValidity
(bool
*_retval
);
1586 nsresult SetCustomValidity
(const nsAString
*error
);
1588 nsresult GetSelectionStart
(PRInt32
*aSelectionStart
);
1589 nsresult SetSelectionStart
(PRInt32 aSelectionStart
);
1590 nsresult GetSelectionEnd
(PRInt32
*aSelectionEnd
);
1591 nsresult SetSelectionEnd
(PRInt32 aSelectionEnd
);
1592 nsresult SetSelectionRange
(PRInt32 selectionStart
, PRInt32 selectionEnd
, const nsAString
*direction
);
1593 nsresult GetSelectionDirection
(nsAString
*aSelectionDirection
);
1594 nsresult SetSelectionDirection
(const nsAString
*aSelectionDirection
);
1595 nsresult GetUseMap
(nsAString
*aUseMap
);
1596 nsresult SetUseMap
(const nsAString
*aUseMap
);
1597 nsresult GetControllers
(nsIControllers
**aControllers
);
1598 nsresult GetTextLength
(PRInt32
*aTextLength
);
1599 nsresult MozGetFileNameArray
(PRUint32
*aLength
, PRUnichar
***aFileNames
);
1600 nsresult MozSetFileNameArray
(const PRUnichar
**aFileNames
, PRUint32 aLength
);
1601 nsresult MozIsTextField
(bool aExcludePassword
, bool
*_retval
);
1606 uuid(68a5d794
-39bf
-4b00
-aefe
-754b9e8f7ec6
),
1609 interface nsIDOMHTMLOptionElement
: nsIDOMHTMLElement
1611 nsresult GetDisabled
(bool
*aDisabled
);
1612 nsresult SetDisabled
(bool aDisabled
);
1613 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1614 nsresult GetLabel
(nsAString
*aLabel
);
1615 nsresult SetLabel
(const nsAString
*aLabel
);
1616 nsresult GetDefaultSelected
(bool
*aDefaultSelected
);
1617 nsresult SetDefaultSelected
(bool aDefaultSelected
);
1618 nsresult GetSelected
(bool
*aSelected
);
1619 nsresult SetSelected
(bool aSelected
);
1620 nsresult GetValue
(nsAString
*aValue
);
1621 nsresult SetValue
(const nsAString
*aValue
);
1622 nsresult GetText
(nsAString
*aText
);
1623 nsresult SetText
(const nsAString
*aText
);
1624 nsresult GetIndex
(PRInt32
*aIndex
);
1629 uuid(429b041b
-06df
-486c
-9a3a
-a1d901cc76a2
),
1632 interface nsIDOMHTMLOptionsCollection
: nsISupports
1634 typedef int nsWrapperCache
;
1636 nsresult GetLength
(PRUint32
*aLength
);
1637 nsresult SetLength
(PRUint32 aLength
);
1638 nsresult Item
(PRUint32 index
, nsIDOMNode
**_retval
);
1639 nsresult NamedItem
(const nsAString
*name
, nsIDOMNode
**_retval
);
1640 nsISupports
* __cdecl GetNamedItem
(const nsAString
*name
, nsWrapperCache
**cache
);
1641 nsresult GetSelectedIndex
(PRInt32
*aSelectedIndex
);
1642 nsresult SetSelectedIndex
(PRInt32 aSelectedIndex
);
1643 nsresult SetOption
(PRUint32 index
, nsIDOMHTMLOptionElement
*option
);
1644 nsresult GetSelect
(nsIDOMHTMLSelectElement
**aSelect
);
1645 nsresult Add
(nsIDOMHTMLOptionElement
*option
, nsIVariant
*before
);
1646 nsresult Remove
(PRInt32 index
);
1651 uuid(2a50d295
-8db8
-4223-ae0d
-070c6eb6c76e
),
1654 interface nsIDOMHTMLSelectElement
: nsIDOMHTMLElement
1656 nsresult GetAutofocus
(bool
*aAutofocus
);
1657 nsresult SetAutofocus
(bool aAutofocus
);
1658 nsresult GetDisabled
(bool
*aDisabled
);
1659 nsresult SetDisabled
(bool aDisabled
);
1660 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1661 nsresult GetMultiple
(bool
*aMultiple
);
1662 nsresult SetMultiple
(bool aMultiple
);
1663 nsresult GetName
(nsAString
*aName
);
1664 nsresult SetName
(const nsAString
*aName
);
1665 nsresult GetSize
(PRInt32
*aSize
);
1666 nsresult SetSize
(PRInt32 aSize
);
1667 nsresult GetType
(nsAString
*aType
);
1668 nsresult GetOptions
(nsIDOMHTMLOptionsCollection
**aOptions
);
1669 nsresult GetLength
(PRUint32
*aLength
);
1670 nsresult SetLength
(PRUint32 aLength
);
1671 nsresult Item
(PRUint32 index
, nsIDOMNode
**_retval
);
1672 nsresult NamedItem
(const nsAString
*name
, nsIDOMNode
**_retval
);
1673 nsresult Add
(nsIDOMHTMLElement
*element
, nsIVariant
*before
);
1674 nsresult Remove
(PRInt32 index
);
1675 nsresult GetSelectedIndex
(PRInt32
*aSelectedIndex
);
1676 nsresult SetSelectedIndex
(PRInt32 aSelectedIndex
);
1677 nsresult GetValue
(nsAString
*aValue
);
1678 nsresult SetValue
(const nsAString
*aValue
);
1679 nsresult GetWillValidate
(bool
*aWillValidate
);
1680 nsresult GetValidity
(nsIDOMValidityState
**aValidity
);
1681 nsresult GetValidationMessage
(nsAString
*aValidationMessage
);
1682 nsresult CheckValidity
(bool
*_retval
);
1683 nsresult SetCustomValidity
(const nsAString
*error
);
1684 nsresult GetRequired
(bool
*aRequired
);
1685 nsresult SetRequired
(bool aRequired
);
1690 uuid(2a395065
-2d92
-48c1
-ac00
-643de9ca681b
),
1693 interface nsIDOMHTMLTextAreaElement
: nsIDOMHTMLElement
1695 nsresult GetAutofocus
(bool
*aAutofocus
);
1696 nsresult SetAutofocus
(bool aAutofocus
);
1697 nsresult GetCols
(PRUint32
*aCols
);
1698 nsresult SetCols
(PRUint32 aCols
);
1699 nsresult GetDisabled
(bool
*aDisabled
);
1700 nsresult SetDisabled
(bool aDisabled
);
1701 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1702 nsresult GetMaxLength
(PRInt32
*aMaxLength
);
1703 nsresult SetMaxLength
(PRInt32 aMaxLength
);
1704 nsresult GetName
(nsAString
*aName
);
1705 nsresult SetName
(const nsAString
*aName
);
1706 nsresult GetPlaceholder
(nsAString
*aPlaceholder
);
1707 nsresult SetPlaceholder
(const nsAString
*aPlaceholder
);
1708 nsresult GetReadOnly
(bool
*aReadOnly
);
1709 nsresult SetReadOnly
(bool aReadOnly
);
1710 nsresult GetRequired
(bool
*aRequired
);
1711 nsresult SetRequired
(bool aRequired
);
1712 nsresult GetRows
(PRUint32
*aRows
);
1713 nsresult SetRows
(PRUint32 aRows
);
1714 nsresult GetWrap
(nsAString
*aWrap
);
1715 nsresult SetWrap
(const nsAString
*aWrap
);
1716 nsresult GetType
(nsAString
*aType
);
1717 nsresult GetDefaultValue
(nsAString
*aDefaultValue
);
1718 nsresult SetDefaultValue
(const nsAString
*aDefaultValue
);
1719 nsresult GetValue
(nsAString
*aValue
);
1720 nsresult SetValue
(const nsAString
*aValue
);
1721 nsresult GetTextLength
(PRInt32
*aTextLength
);
1722 nsresult GetWillValidate
(bool
*aWillValidate
);
1723 nsresult GetValidity
(nsIDOMValidityState
**aValidity
);
1724 nsresult GetValidationMessage
(nsAString
*aValidationMessage
);
1725 nsresult CheckValidity
(bool
*_retval
);
1726 nsresult SetCustomValidity
(const nsAString
*error
);
1728 nsresult GetSelectionStart
(PRInt32
*aSelectionStart
);
1729 nsresult SetSelectionStart
(PRInt32 aSelectionStart
);
1730 nsresult GetSelectionEnd
(PRInt32
*aSelectionEnd
);
1731 nsresult SetSelectionEnd
(PRInt32 aSelectionEnd
);
1732 nsresult SetSelectionRange
(PRInt32 selectionStart
, PRInt32 selectionEnd
, const nsAString
*direction
);
1733 nsresult GetSelectionDirection
(nsAString
*aSelectionDirection
);
1734 nsresult SetSelectionDirection
(const nsAString
*aSelectionDirection
);
1735 nsresult GetControllers
(nsIControllers
**aControllers
);
1740 uuid(e2f548f6
-9955-4820-a9e6
-3a9fd43c7111
),
1743 interface nsIDOMHTMLScriptElement
: nsIDOMHTMLElement
1745 nsresult GetSrc
(nsAString
*aSrc
);
1746 nsresult SetSrc
(const nsAString
*aSrc
);
1747 nsresult GetAsync
(bool
*aAsync
);
1748 nsresult SetAsync
(bool aAsync
);
1749 nsresult GetDefer
(bool
*aDefer
);
1750 nsresult SetDefer
(bool aDefer
);
1751 nsresult GetType
(nsAString
*aType
);
1752 nsresult SetType
(const nsAString
*aType
);
1753 nsresult GetCharset
(nsAString
*aCharset
);
1754 nsresult SetCharset
(const nsAString
*aCharset
);
1755 nsresult GetText
(nsAString
*aText
);
1756 nsresult SetText
(const nsAString
*aText
);
1757 nsresult GetHtmlFor
(nsAString
*aHtmlFor
);
1758 nsresult SetHtmlFor
(const nsAString
*aHtmlFor
);
1759 nsresult GetEvent
(nsAString
*aEvent
);
1760 nsresult SetEvent
(const nsAString
*aEvent
);
1761 nsresult GetCrossOrigin
(nsAString
*aCrossOrigin
);
1762 nsresult SetCrossOrigin
(const nsAString
*aCrossOrigin
);
1767 uuid(c4ef8a40
-dd56
-4b95
-a007
-630a0ac04341
),
1770 interface nsIDOMHTMLImageElement
: nsIDOMHTMLElement
1772 nsresult GetAlt
(nsAString
*aAlt
);
1773 nsresult SetAlt
(const nsAString
*aAlt
);
1774 nsresult GetSrc
(nsAString
*aSrc
);
1775 nsresult SetSrc
(const nsAString
*aSrc
);
1776 nsresult GetCrossOrigin
(nsAString
*aCrossOrigin
);
1777 nsresult SetCrossOrigin
(const nsAString
*aCrossOrigin
);
1778 nsresult GetUseMap
(nsAString
*aUseMap
);
1779 nsresult SetUseMap
(const nsAString
*aUseMap
);
1780 nsresult GetIsMap
(bool
*aIsMap
);
1781 nsresult SetIsMap
(bool aIsMap
);
1782 nsresult GetWidth
(PRUint32
*aWidth
);
1783 nsresult SetWidth
(PRUint32 aWidth
);
1784 nsresult GetHeight
(PRUint32
*aHeight
);
1785 nsresult SetHeight
(PRUint32 aHeight
);
1786 nsresult GetNaturalWidth
(PRUint32
*aNaturalWidth
);
1787 nsresult GetNaturalHeight
(PRUint32
*aNaturalHeight
);
1788 nsresult GetComplete
(bool
*aComplete
);
1789 nsresult GetName
(nsAString
*aName
);
1790 nsresult SetName
(const nsAString
*aName
);
1791 nsresult GetAlign
(nsAString
*aAlign
);
1792 nsresult SetAlign
(const nsAString
*aAlign
);
1793 nsresult GetBorder
(nsAString
*aBorder
);
1794 nsresult SetBorder
(const nsAString
*aBorder
);
1795 nsresult GetHspace
(PRInt32
*aHspace
);
1796 nsresult SetHspace
(PRInt32 aHspace
);
1797 nsresult GetLongDesc
(nsAString
*aLongDesc
);
1798 nsresult SetLongDesc
(const nsAString
*aLongDesc
);
1799 nsresult GetVspace
(PRInt32
*aVspace
);
1800 nsresult SetVspace
(PRInt32 aVspace
);
1801 nsresult GetLowsrc
(nsAString
*aLowsrc
);
1802 nsresult SetLowsrc
(const nsAString
*aLowsrc
);
1803 nsresult GetX
(PRInt32
*aX
);
1804 nsresult GetY
(PRInt32
*aY
);
1809 uuid(68f49f8f
-5ffd
-44eb
-a59f
-d2b3f4817299
),
1812 interface nsIDOMHTMLAnchorElement
: nsIDOMHTMLElement
1814 nsresult GetHref
(nsAString
*aHref
);
1815 nsresult SetHref
(const nsAString
*aHref
);
1816 nsresult GetTarget
(nsAString
*aTarget
);
1817 nsresult SetTarget
(const nsAString
*aTarget
);
1818 nsresult GetPing
(nsAString
*aPing
);
1819 nsresult SetPing
(const nsAString
*aPing
);
1820 nsresult GetRel
(nsAString
*aRel
);
1821 nsresult SetRel
(const nsAString
*aRel
);
1822 nsresult GetHreflang
(nsAString
*aHreflang
);
1823 nsresult SetHreflang
(const nsAString
*aHreflang
);
1824 nsresult GetType
(nsAString
*aType
);
1825 nsresult SetType
(const nsAString
*aType
);
1826 nsresult GetText
(nsAString
*aText
);
1827 nsresult SetText
(const nsAString
*aText
);
1828 nsresult GetProtocol
(nsAString
*aProtocol
);
1829 nsresult SetProtocol
(const nsAString
*aProtocol
);
1830 nsresult GetHost
(nsAString
*aHost
);
1831 nsresult SetHost
(const nsAString
*aHost
);
1832 nsresult GetHostname
(nsAString
*aHostname
);
1833 nsresult SetHostname
(const nsAString
*aHostname
);
1834 nsresult GetPort
(nsAString
*aPort
);
1835 nsresult SetPort
(const nsAString
*aPort
);
1836 nsresult GetPathname
(nsAString
*aPathname
);
1837 nsresult SetPathname
(const nsAString
*aPathname
);
1838 nsresult GetSearch
(nsAString
*aSearch
);
1839 nsresult SetSearch
(const nsAString
*aSearch
);
1840 nsresult GetHash
(nsAString
*aHash
);
1841 nsresult SetHash
(const nsAString
*aHash
);
1842 nsresult GetCharset
(nsAString
*aCharset
);
1843 nsresult SetCharset
(const nsAString
*aCharset
);
1844 nsresult GetCoords
(nsAString
*aCoords
);
1845 nsresult SetCoords
(const nsAString
*aCoords
);
1846 nsresult GetName
(nsAString
*aName
);
1847 nsresult SetName
(const nsAString
*aName
);
1848 nsresult GetRev
(nsAString
*aRev
);
1849 nsresult SetRev
(const nsAString
*aRev
);
1850 nsresult GetShape
(nsAString
*aShape
);
1851 nsresult SetShape
(const nsAString
*aShape
);
1852 nsresult ToString
(nsAString
*_retval
);
1857 uuid(ae50de74
-bc26
-402e-85dc
-a980f506b655
),
1860 interface nsIDOMHTMLTableElement
: nsIDOMHTMLElement
1862 nsresult GetCaption
(nsIDOMHTMLTableCaptionElement
**aCaption
);
1863 nsresult SetCaption
(nsIDOMHTMLTableCaptionElement
*aCaption
);
1864 nsresult GetTHead
(nsIDOMHTMLTableSectionElement
**aTHead
);
1865 nsresult SetTHead
(nsIDOMHTMLTableSectionElement
*aTHead
);
1866 nsresult GetTFoot
(nsIDOMHTMLTableSectionElement
**aTFoot
);
1867 nsresult SetTFoot
(nsIDOMHTMLTableSectionElement
*aTFoot
);
1868 nsresult GetRows
(nsIDOMHTMLCollection
**aRows
);
1869 nsresult GetTBodies
(nsIDOMHTMLCollection
**aTBodies
);
1870 nsresult GetAlign
(nsAString
*aAlign
);
1871 nsresult SetAlign
(const nsAString
*aAlign
);
1872 nsresult GetBgColor
(nsAString
*aBgColor
);
1873 nsresult SetBgColor
(const nsAString
*aBgColor
);
1874 nsresult GetBorder
(nsAString
*aBorder
);
1875 nsresult SetBorder
(const nsAString
*aBorder
);
1876 nsresult GetCellPadding
(nsAString
*aCellPadding
);
1877 nsresult SetCellPadding
(const nsAString
*aCellPadding
);
1878 nsresult GetCellSpacing
(nsAString
*aCellSpacing
);
1879 nsresult SetCellSpacing
(const nsAString
*aCellSpacing
);
1880 nsresult GetFrame
(nsAString
*aFrame
);
1881 nsresult SetFrame
(const nsAString
*aFrame
);
1882 nsresult GetRules
(nsAString
*aRules
);
1883 nsresult SetRules
(const nsAString
*aRules
);
1884 nsresult GetSummary
(nsAString
*aSummary
);
1885 nsresult SetSummary
(const nsAString
*aSummary
);
1886 nsresult GetWidth
(nsAString
*aWidth
);
1887 nsresult SetWidth
(const nsAString
*aWidth
);
1888 nsresult CreateTHead
(nsIDOMHTMLElement
**_retval
);
1889 nsresult DeleteTHead
();
1890 nsresult CreateTFoot
(nsIDOMHTMLElement
**_retval
);
1891 nsresult DeleteTFoot
();
1892 nsresult CreateCaption
(nsIDOMHTMLElement
**_retval
);
1893 nsresult DeleteCaption
();
1894 nsresult InsertRow
(PRInt32 index
, nsIDOMHTMLElement
**_retval
);
1895 nsresult DeleteRow
(PRInt32 index
);
1900 uuid(0ac4a382
-4f97
-4143-a3b3
-de0a54978c67
),
1903 interface nsIDOMHTMLTableRowElement
: nsIDOMHTMLElement
1905 nsresult GetRowIndex
(PRInt32
*aRowIndex
);
1906 nsresult GetSectionRowIndex
(PRInt32
*aSectionRowIndex
);
1907 nsresult GetCells
(nsIDOMHTMLCollection
**aCells
);
1908 nsresult GetAlign
(nsAString
*aAlign
);
1909 nsresult SetAlign
(const nsAString
*aAlign
);
1910 nsresult GetBgColor
(nsAString
*aBgColor
);
1911 nsresult SetBgColor
(const nsAString
*aBgColor
);
1912 nsresult GetCh
(nsAString
*aCh
);
1913 nsresult SetCh
(const nsAString
*aCh
);
1914 nsresult GetChOff
(nsAString
*aChOff
);
1915 nsresult SetChOff
(const nsAString
*aChOff
);
1916 nsresult GetVAlign
(nsAString
*aVAlign
);
1917 nsresult SetVAlign
(const nsAString
*aVAlign
);
1918 nsresult InsertCell
(PRInt32 index
, nsIDOMHTMLElement
**_retval
);
1919 nsresult DeleteCell
(PRInt32 index
);
1924 uuid(97e4f0e1
-bd27
-40ec
-9287-5634daf15b73
),
1927 interface nsIDOMHTMLIFrameElement
: nsIDOMHTMLElement
1929 nsresult GetAlign
(nsAString
*aAlign
);
1930 nsresult SetAlign
(const nsAString
*aAlign
);
1931 nsresult GetFrameBorder
(nsAString
*aFrameBorder
);
1932 nsresult SetFrameBorder
(const nsAString
*aFrameBorder
);
1933 nsresult GetHeight
(nsAString
*aHeight
);
1934 nsresult SetHeight
(const nsAString
*aHeight
);
1935 nsresult GetLongDesc
(nsAString
*aLongDesc
);
1936 nsresult SetLongDesc
(const nsAString
*aLongDesc
);
1937 nsresult GetMarginHeight
(nsAString
*aMarginHeight
);
1938 nsresult SetMarginHeight
(const nsAString
*aMarginHeight
);
1939 nsresult GetMarginWidth
(nsAString
*aMarginWidth
);
1940 nsresult SetMarginWidth
(const nsAString
*aMarginWidth
);
1941 nsresult GetName
(nsAString
*aName
);
1942 nsresult SetName
(const nsAString
*aName
);
1943 nsresult GetScrolling
(nsAString
*aScrolling
);
1944 nsresult SetScrolling
(const nsAString
*aScrolling
);
1945 nsresult GetSrc
(nsAString
*aSrc
);
1946 nsresult SetSrc
(const nsAString
*aSrc
);
1947 nsresult GetWidth
(nsAString
*aWidth
);
1948 nsresult SetWidth
(const nsAString
*aWidth
);
1949 nsresult GetContentDocument
(nsIDOMDocument
**aContentDocument
);
1950 nsresult GetContentWindow
(nsIDOMWindow
**aContentWindow
);
1951 nsresult GetMozAllowFullScreen
(bool
*aMozAllowFullScreen
);
1952 nsresult SetMozAllowFullScreen
(bool aMozAllowFullScreen
);
1957 uuid(2aa7855a
-0667-47c3
-af1e
-9101002816c1
),
1960 interface nsIDOMHTMLFrameElement
: nsIDOMHTMLElement
1962 nsresult GetFrameBorder
(nsAString
*aFrameBorder
);
1963 nsresult SetFrameBorder
(const nsAString
*aFrameBorder
);
1964 nsresult GetLongDesc
(nsAString
*aLongDesc
);
1965 nsresult SetLongDesc
(const nsAString
*aLongDesc
);
1966 nsresult GetMarginHeight
(nsAString
*aMarginHeight
);
1967 nsresult SetMarginHeight
(const nsAString
*aMarginHeight
);
1968 nsresult GetMarginWidth
(nsAString
*aMarginWidth
);
1969 nsresult SetMarginWidth
(const nsAString
*aMarginWidth
);
1970 nsresult GetName
(nsAString
*aName
);
1971 nsresult SetName
(const nsAString
*aName
);
1972 nsresult GetNoResize
(bool
*aNoResize
);
1973 nsresult SetNoResize
(bool aNoResize
);
1974 nsresult GetScrolling
(nsAString
*aScrolling
);
1975 nsresult SetScrolling
(const nsAString
*aScrolling
);
1976 nsresult GetSrc
(nsAString
*aSrc
);
1977 nsresult SetSrc
(const nsAString
*aSrc
);
1978 nsresult GetContentDocument
(nsIDOMDocument
**aContentDocument
);
1979 nsresult GetContentWindow
(nsIDOMWindow
**aContentWindow
);
1984 uuid(a70595dd
-68a5
-41f5
-ab52
-73a47d98bd78
),
1987 interface nsIDOMHTMLObjectElement
: nsIDOMHTMLElement
1989 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1990 nsresult GetCode
(nsAString
*aCode
);
1991 nsresult SetCode
(const nsAString
*aCode
);
1992 nsresult GetAlign
(nsAString
*aAlign
);
1993 nsresult SetAlign
(const nsAString
*aAlign
);
1994 nsresult GetArchive
(nsAString
*aArchive
);
1995 nsresult SetArchive
(const nsAString
*aArchive
);
1996 nsresult GetBorder
(nsAString
*aBorder
);
1997 nsresult SetBorder
(const nsAString
*aBorder
);
1998 nsresult GetCodeBase
(nsAString
*aCodeBase
);
1999 nsresult SetCodeBase
(const nsAString
*aCodeBase
);
2000 nsresult GetCodeType
(nsAString
*aCodeType
);
2001 nsresult SetCodeType
(const nsAString
*aCodeType
);
2002 nsresult GetData
(nsAString
*aData
);
2003 nsresult SetData
(const nsAString
*aData
);
2004 nsresult GetDeclare
(bool
*aDeclare
);
2005 nsresult SetDeclare
(bool aDeclare
);
2006 nsresult GetHeight
(nsAString
*aHeight
);
2007 nsresult SetHeight
(const nsAString
*aHeight
);
2008 nsresult GetHspace
(PRInt32
*aHspace
);
2009 nsresult SetHspace
(PRInt32 aHspace
);
2010 nsresult GetName
(nsAString
*aName
);
2011 nsresult SetName
(const nsAString
*aName
);
2012 nsresult GetStandby
(nsAString
*aStandby
);
2013 nsresult SetStandby
(const nsAString
*aStandby
);
2014 nsresult GetType
(nsAString
*aType
);
2015 nsresult SetType
(const nsAString
*aType
);
2016 nsresult GetUseMap
(nsAString
*aUseMap
);
2017 nsresult SetUseMap
(const nsAString
*aUseMap
);
2018 nsresult GetVspace
(PRInt32
*aVspace
);
2019 nsresult SetVspace
(PRInt32 aVspace
);
2020 nsresult GetWidth
(nsAString
*aWidth
);
2021 nsresult SetWidth
(const nsAString
*aWidth
);
2022 nsresult GetContentDocument
(nsIDOMDocument
**aContentDocument
);
2023 nsresult GetWillValidate
(bool
*aWillValidate
);
2024 nsresult GetValidity
(nsIDOMValidityState
**aValidity
);
2025 nsresult GetValidationMessage
(nsAString
*aValidationMessage
);
2026 nsresult CheckValidity
(bool
*_retval
);
2027 nsresult SetCustomValidity
(const nsAString
*error
);
2032 uuid(1fbec0f8
-c7cF
-4dc8
-84be
-247985a65e07
),
2035 interface nsIDOMHTMLParamElement
: nsIDOMHTMLElement
2037 nsresult GetName
(nsAString
*aName
);
2038 nsresult SetName
(const nsAString
*aName
);
2039 nsresult GetType
(nsAString
*aType
);
2040 nsresult SetType
(const nsAString
*aType
);
2041 nsresult GetValue
(nsAString
*aValue
);
2042 nsresult SetValue
(const nsAString
*aValue
);
2043 nsresult GetValueType
(nsAString
*aValueType
);
2044 nsresult SetValueType
(const nsAString
*aValueType
);
2049 uuid(830d9170
-f8eb
-4749-b721
-16d60d6b0f1b
),
2052 interface nsIDOMHTMLStyleElement
: nsIDOMHTMLElement
2054 nsresult GetDisabled
(bool
*aDisabled
);
2055 nsresult SetDisabled
(bool aDisabled
);
2056 nsresult GetMedia
(nsAString
*aMedia
);
2057 nsresult SetMedia
(const nsAString
*aMedia
);
2058 nsresult GetType
(nsAString
*aType
);
2059 nsresult SetType
(const nsAString
*aType
);
2064 uuid(94928ab3
-8b63
-11d3
-989d
-001083010e9b
),
2067 interface nsIURIContentListener
: nsISupports
2069 nsresult OnStartURIOpen
(nsIURI
*aURI
, bool
*_retval
);
2070 nsresult DoContent
(const char *aContentType
, bool aIsContentPreferred
, nsIRequest
*aRequest
,
2071 nsIStreamListener
**aContentHandler
, bool
*_retval
);
2072 nsresult IsPreferred
(const char *aContentType
, char **aDesiredContentType
, bool
*_retval
);
2073 nsresult CanHandleContent
(const char *aContentType
, bool aIsContentPreferred
,
2074 char **aDesiredContentType
, bool
*_retval
);
2075 nsresult GetLoadCookie
(nsISupports
**aLoadCookie
);
2076 nsresult SetLoadCookie
(nsISupports
*aLoadCookie
);
2077 nsresult GetParentContentListener
(nsIURIContentListener
**aParentContentListener
);
2078 nsresult SetParentContentListener
(nsIURIContentListener
*aParentContentListener
);
2083 uuid(44b78386
-1dd2
-11b2
-9ad2
-e4eee2ca1916
),
2086 interface nsITooltipListener
: nsISupports
2088 nsresult OnShowTooltip
(PRInt32 aXCoords
, PRInt32 aYCoords
, const PRUnichar
*aTipText
);
2089 nsresult OnHideTooltip
();
2094 uuid(33e9d001
-caab
-4ba9
-8961-54902f197202
),
2097 interface nsIWebBrowser
: nsISupports
2099 nsresult AddWebBrowserListener
(nsIWeakReference
*aListener
, const nsIID
*aIID
);
2100 nsresult RemoveWebBrowserListener
(nsIWeakReference
*aListener
, const nsIID
*aIID
);
2101 nsresult GetContainerWindow
(nsIWebBrowserChrome
**aContainerWindow
);
2102 nsresult SetContainerWindow
(nsIWebBrowserChrome
*aContainerWindow
);
2103 nsresult GetParentURIContentListener
(nsIURIContentListener
**aParentURIContentListener
);
2104 nsresult SetParentURIContentListener
(nsIURIContentListener
*aParentURIContentListener
);
2105 nsresult GetContentDOMWindow
(nsIDOMWindow
**aContentDOMWindow
);
2106 nsresult GetIsActive
(bool
*aIsActive
);
2107 nsresult SetIsActive
(bool aIsActive
);
2110 cpp_quote
("#define SETUP_ALLOW_JAVASCRIPT 2")
2111 cpp_quote
("#define SETUP_IS_CHROME_WRAPPER 7")
2115 uuid(f15398a0
-8018-11d3
-af70
-00a024ffc08c
),
2118 interface nsIWebBrowserSetup
: nsISupports
2120 nsresult SetProperty
(PRUint32 aId
, PRUint32 aValue
);
2123 typedef void* nativeWindow
;
2127 uuid(7144ac8b
-6702-4a4b
-a73d
-d1d4e9717e46
),
2130 interface nsIBaseWindow
: nsISupports
2132 nsresult InitWindow
(nativeWindow parentNativeWindow
, nsIWidget
*parentWidget
, PRInt32 x
,
2133 PRInt32 y
, PRInt32 cx
, PRInt32 cy
);
2136 nsresult SetPosition
(PRInt32 x
, PRInt32 y
);
2137 nsresult GetPosition
(PRInt32
*x
, PRInt32
*y
);
2138 nsresult SetSize
(PRInt32 cx
, PRInt32 cy
, bool fRepaint
);
2139 nsresult GetSize
(PRInt32
*cx
, PRInt32
*cy
);
2140 nsresult SetPositionAndSize
(PRInt32 x
, PRInt32 y
, PRInt32 cx
, PRInt32 cy
, bool fRepaint
);
2141 nsresult GetPositionAndSize
(PRInt32
*x
, PRInt32
*y
, PRInt32
*cx
, PRInt32
*cy
);
2142 nsresult Repaint
(bool force
);
2143 nsresult GetParentWidget
(nsIWidget
**aParentWidget
);
2144 nsresult SetParentWidget
(nsIWidget
*aParentWidget
);
2145 nsresult GetParentNativeWindow
(nativeWindow
*aParentNativeWindow
);
2146 nsresult SetParentNativeWindow
(nativeWindow aParentNativeWindow
);
2147 nsresult GetVisibility
(bool
*aVisibility
);
2148 nsresult SetVisibility
(bool aVisibility
);
2149 nsresult GetEnabled
(bool
*aEnabled
);
2150 nsresult SetEnabled
(bool aEnabled
);
2151 nsresult GetMainWidget
(nsIWidget
**aMainWidget
);
2152 nsresult SetFocus
();
2153 nsresult GetTitle
(PRUnichar
**aTitle
);
2154 nsresult SetTitle
(const PRUnichar
*aTitle
);
2157 cpp_quote
("#define LOAD_FLAGS_NONE 0x00000000")
2158 cpp_quote
("#define LOAD_REPLACE 0x00040000")
2159 cpp_quote
("#define LOAD_INITIAL_DOCUMENT_URI 0x00080000")
2163 uuid(f5d9e7b0
-d930
-11d3
-b057
-00a024ffc08c
),
2166 interface nsIWebNavigation
: nsISupports
2168 nsresult GetCanGoBack
(bool
*aCanGoBack
);
2169 nsresult GetCanGoForward
(bool
*aCanGoForward
);
2171 nsresult GoForward
();
2172 nsresult GotoIndex
(PRInt32 index
);
2173 nsresult LoadURI
(const PRUnichar
*aURI
, PRUint32 aLoadFlags
, nsIURI
*aReferrer
,
2174 nsIInputStream
*aPostData
, nsIInputStream
*aHeaders
);
2175 nsresult Reload
(PRUint32 aReloadFlags
);
2176 nsresult Stop
(PRUint32 aStopFlags
);
2177 nsresult GetDocument
(nsIDOMDocument
**aDocument
);
2178 nsresult GetCurrentURI
(nsIURI
**aCurrentURI
);
2179 nsresult GetReferringURI
(nsIURI
**aReferringURI
);
2180 nsresult GetSessionHistory
(nsISHistory
**aSessionHistory
);
2181 nsresult SetSessionHistory
(nsISHistory
*aSessionHistory
);
2186 uuid(570f39d0
-efd0
-11d3
-b093
-00a024ffc08c
),
2189 interface nsIWebProgress
: nsISupports
2191 nsresult AddProgressListener
(nsIWebProgressListener
*aListener
, PRUint32 aNotifyMask
);
2192 nsresult RemoveProgressListener
(nsIWebProgressListener
*aListener
);
2193 nsresult GetDOMWindow
(nsIDOMWindow
**aDOMWindow
);
2194 nsresult GetIsLoadingDocument
(bool
*aIsLoadingDocument
);
2199 uuid(4404c94b
-0506-4255-9e3c
-4582dba6cfbb
),
2202 interface nsIPrintSettings
: nsISupports
2204 typedef struct { char dummy
; } nsIntMargin
;
2206 nsresult SetPrintOptions
(PRInt32 aType
, bool aTurnOnOff
);
2207 nsresult GetPrintOptions
(PRInt32 aType
, bool
*_retval
);
2208 nsresult GetPrintOptionsBits
(PRInt32
*_retval
);
2209 nsresult GetEffectivePageSize
(double *aWidth
, double *aHeight
);
2210 nsresult Clone
(nsIPrintSettings
**_retval
);
2211 nsresult Assign
(nsIPrintSettings
*aPS
);
2212 nsresult GetPrintSession
(nsIPrintSession
**aPrintSession
);
2213 nsresult SetPrintSession
(nsIPrintSession
*aPrintSession
);
2214 nsresult GetStartPageRange
(PRInt32
*aStartPageRange
);
2215 nsresult SetStartPageRange
(PRInt32 aStartPageRange
);
2216 nsresult GetEndPageRange
(PRInt32
*aEndPageRange
);
2217 nsresult SetEndPageRange
(PRInt32 aEndPageRange
);
2218 nsresult GetEdgeTop
(double *aEdgeTop
);
2219 nsresult SetEdgeTop
(double aEdgeTop
);
2220 nsresult GetEdgeLeft
(double *aEdgeLeft
);
2221 nsresult SetEdgeLeft
(double aEdgeLeft
);
2222 nsresult GetEdgeBottom
(double *aEdgeBottom
);
2223 nsresult SetEdgeBottom
(double aEdgeBottom
);
2224 nsresult GetEdgeRight
(double *aEdgeRight
);
2225 nsresult SetEdgeRight
(double aEdgeRight
);
2226 nsresult GetMarginTop
(double *aMarginTop
);
2227 nsresult SetMarginTop
(double aMarginTop
);
2228 nsresult GetMarginLeft
(double *aMarginLeft
);
2229 nsresult SetMarginLeft
(double aMarginLeft
);
2230 nsresult GetMarginBottom
(double *aMarginBottom
);
2231 nsresult SetMarginBottom
(double aMarginBottom
);
2232 nsresult GetMarginRight
(double *aMarginRight
);
2233 nsresult SetMarginRight
(double aMarginRight
);
2234 nsresult GetUnwriteableMarginTop
(double *aUnwriteableMarginTop
);
2235 nsresult SetUnwriteableMarginTop
(double aUnwriteableMarginTop
);
2236 nsresult GetUnwriteableMarginLeft
(double *aUnwriteableMarginLeft
);
2237 nsresult SetUnwriteableMarginLeft
(double aUnwriteableMarginLeft
);
2238 nsresult GetUnwriteableMarginBottom
(double *aUnwriteableMarginBottom
);
2239 nsresult SetUnwriteableMarginBottom
(double aUnwriteableMarginBottom
);
2240 nsresult GetUnwriteableMarginRight
(double *aUnwriteableMarginRight
);
2241 nsresult SetUnwriteableMarginRight
(double aUnwriteableMarginRight
);
2242 nsresult GetScaling
(double *aScaling
);
2243 nsresult SetScaling
(double aScaling
);
2244 nsresult GetPrintBGColors
(bool
*aPrintBGColors
);
2245 nsresult SetPrintBGColors
(bool aPrintBGColors
);
2246 nsresult GetPrintBGImages
(bool
*aPrintBGImages
);
2247 nsresult SetPrintBGImages
(bool aPrintBGImages
);
2248 nsresult GetPrintRange
(PRInt16
*aPrintRange
);
2249 nsresult SetPrintRange
(PRInt16 aPrintRange
);
2250 nsresult GetTitle
(PRUnichar
**aTitle
);
2251 nsresult SetTitle
(const PRUnichar
*aTitle
);
2252 nsresult GetDocURL
(PRUnichar
**aDocURL
);
2253 nsresult SetDocURL
(const PRUnichar
*aDocURL
);
2254 nsresult GetHeaderStrLeft
(PRUnichar
**aHeaderStrLeft
);
2255 nsresult SetHeaderStrLeft
(const PRUnichar
*aHeaderStrLeft
);
2256 nsresult GetHeaderStrCenter
(PRUnichar
**aHeaderStrCenter
);
2257 nsresult SetHeaderStrCenter
(const PRUnichar
*aHeaderStrCenter
);
2258 nsresult GetHeaderStrRight
(PRUnichar
**aHeaderStrRight
);
2259 nsresult SetHeaderStrRight
(const PRUnichar
*aHeaderStrRight
);
2260 nsresult GetFooterStrLeft
(PRUnichar
**aFooterStrLeft
);
2261 nsresult SetFooterStrLeft
(const PRUnichar
*aFooterStrLeft
);
2262 nsresult GetFooterStrCenter
(PRUnichar
**aFooterStrCenter
);
2263 nsresult SetFooterStrCenter
(const PRUnichar
*aFooterStrCenter
);
2264 nsresult GetFooterStrRight
(PRUnichar
**aFooterStrRight
);
2265 nsresult SetFooterStrRight
(const PRUnichar
*aFooterStrRight
);
2266 nsresult GetHowToEnableFrameUI
(PRInt16
*aHowToEnableFrameUI
);
2267 nsresult SetHowToEnableFrameUI
(PRInt16 aHowToEnableFrameUI
);
2268 nsresult GetIsCancelled
(bool
*aIsCancelled
);
2269 nsresult SetIsCancelled
(bool aIsCancelled
);
2270 nsresult GetPrintFrameTypeUsage
(PRInt16
*aPrintFrameTypeUsage
);
2271 nsresult SetPrintFrameTypeUsage
(PRInt16 aPrintFrameTypeUsage
);
2272 nsresult GetPrintFrameType
(PRInt16
*aPrintFrameType
);
2273 nsresult SetPrintFrameType
(PRInt16 aPrintFrameType
);
2274 nsresult GetPrintSilent
(bool
*aPrintSilent
);
2275 nsresult SetPrintSilent
(bool aPrintSilent
);
2276 nsresult GetShrinkToFit
(bool
*aShrinkToFit
);
2277 nsresult SetShrinkToFit
(bool aShrinkToFit
);
2278 nsresult GetShowPrintProgress
(bool
*aShowPrintProgress
);
2279 nsresult SetShowPrintProgress
(bool aShowPrintProgress
);
2280 nsresult GetPaperName
(PRUnichar
**aPaperName
);
2281 nsresult SetPaperName
(const PRUnichar
*aPaperName
);
2282 nsresult GetPaperSizeType
(PRInt16
*aPaperSizeType
);
2283 nsresult SetPaperSizeType
(PRInt16 aPaperSizeType
);
2284 nsresult GetPaperData
(PRInt16
*aPaperData
);
2285 nsresult SetPaperData
(PRInt16 aPaperData
);
2286 nsresult GetPaperWidth
(double *aPaperWidth
);
2287 nsresult SetPaperWidth
(double aPaperWidth
);
2288 nsresult GetPaperHeight
(double *aPaperHeight
);
2289 nsresult SetPaperHeight
(double aPaperHeight
);
2290 nsresult GetPaperSizeUnit
(PRInt16
*aPaperSizeUnit
);
2291 nsresult SetPaperSizeUnit
(PRInt16 aPaperSizeUnit
);
2292 nsresult GetPlexName
(PRUnichar
**aPlexName
);
2293 nsresult SetPlexName
(const PRUnichar
*aPlexName
);
2294 nsresult GetColorspace
(PRUnichar
**aColorspace
);
2295 nsresult SetColorspace
(const PRUnichar
*aColorspace
);
2296 nsresult GetResolutionName
(PRUnichar
**aResolutionName
);
2297 nsresult SetResolutionName
(const PRUnichar aResolutionName
);
2298 nsresult GetDownloadFonts
(bool
*aDownloadFonts
);
2299 nsresult SetDownloadFonts
(bool aDownloadFonts
);
2300 nsresult GetPrintReversed
(bool
*aPrintReversed
);
2301 nsresult SetPrintReversed
(bool aPrintReversed
);
2302 nsresult GetPrintInColor
(bool
*aPrintInColor
);
2303 nsresult SetPrintInColor
(bool aPrintInColor
);
2304 nsresult GetOrientation
(PRInt32
*aOrientation
);
2305 nsresult SetOrientation
(PRInt32 aOrientation
);
2306 nsresult GetPrintCommand
(PRUnichar
**aPrintCommand
);
2307 nsresult SetPrintCommand
(const PRUnichar
*aPrintCommand
);
2308 nsresult GetNumCopies
(PRInt32
*aNumCopies
);
2309 nsresult SetNumCopies
(PRInt32 aNumCopies
);
2310 nsresult GetPrinterName
(PRUnichar
**aPrinterName
);
2311 nsresult SetPrinterName
(const PRUnichar
*aPrinterName
);
2312 nsresult GetPrintToFile
(bool
*aPrintToFile
);
2313 nsresult SetPrintToFile
(bool aPrintToFile
);
2314 nsresult GetToFileName
(PRUnichar
**aToFileName
);
2315 nsresult SetToFileName
(const PRUnichar
*aToFileName
);
2316 nsresult GetOutputFormat
(PRInt16
*aOutputFormat
);
2317 nsresult SetOutputFormat
(PRInt16 aOutputFormat
);
2318 nsresult GetPrintPageDelay
(PRInt32
*aPrintPageDelay
);
2319 nsresult SetPrintPageDelay
(PRInt32 aPrintPageDelay
);
2320 nsresult GetIsInitializedFromPrinter
(bool
*aIsInitializedFromPrinter
);
2321 nsresult SetIsInitializedFromPrinter
(bool aIsInitializedFromPrinter
);
2322 nsresult GetIsInitializedFromPrefs
(bool
*aIsInitializedFromPrefs
);
2323 nsresult SetIsInitializedFromPrefs
(bool aIsInitializedFromPrefs
);
2324 nsresult SetMarginInTwips
(nsIntMargin
*aMargin
);
2325 nsresult SetEdgeInTwips
(nsIntMargin
*aEdge
);
2326 nsresult GetMarginInTwips
(nsIntMargin
*aMargin
);
2327 nsresult GetEdgeInTwips
(nsIntMargin
*aEdge
);
2328 nsresult SetupSilentPrinting
();
2329 nsresult SetUnwriteableMarginInTwips
(nsIntMargin
*aEdge
);
2330 nsresult GetUnwriteableMarginInTwips
(nsIntMargin
*aEdge
);
2331 nsresult GetPageRanges
(void * /*nsTArray<PRInt32>&*/ aPages
);
2336 uuid(9a7ca4b0
-fbba
-11d4
-a869
-00105a183419
),
2339 interface nsIWebBrowserPrint
: nsISupports
2341 nsresult GetGlobalPrintSettings
(nsIPrintSettings
**aGlobalPrintSettings
);
2342 nsresult GetCurrentPrintSettings
(nsIPrintSettings
**aCurrentPrintSettings
);
2343 nsresult GetCurrentChildDOMWindow
(nsIDOMWindow
**aCurrentChildDOMWindow
);
2344 nsresult GetDoingPrint
(bool
*aDoingPrint
);
2345 nsresult GetDoingPrintPreview
(bool
*aDoingPrintPreview
);
2346 nsresult GetIsFramesetDocument
(bool
*aIsFramesetDocument
);
2347 nsresult GetIsFramesetFrameSelected
(bool
*aIsFramesetFrameSelected
);
2348 nsresult GetIsIFrameSelected
(bool
*aIsIFrameSelected
);
2349 nsresult GetIsRangeSelection
(bool
*aIsRangeSelection
);
2350 nsresult GetPrintPreviewNumPages
(PRInt32
*aPrintPreviewNumPages
);
2351 nsresult Print
(nsIPrintSettings
*aThePrintSettings
, nsIWebProgressListener
*aWPListener
);
2352 nsresult PrintPreview
(nsIPrintSettings
*aThePrintSettings
, nsIDOMWindow
*aChildDOMWin
,
2353 nsIWebProgressListener
*aWPListener
);
2354 nsresult PrintPreviewNavigate
(PRInt16 aNavType
, PRInt32 aPageNum
);
2356 nsresult EnumerateDocumentNames
(PRUint32
*aCount
, PRUnichar
***aResult
);
2357 nsresult ExitPrintPreview
();
2362 uuid(919e792a
-6490-40b8
-bba5
-f9e9ad5640c8
),
2365 interface nsIScrollable
: nsISupports
2368 ScrollOrientation_X
= 1,
2369 ScrollOrientation_Y
= 2
2374 Scrollbar_Never
= 2,
2375 Scrollbar_Always
= 3
2378 nsresult GetCurScrollPos
(PRInt32 scrollOrientation
, PRInt32
*curPos
);
2379 nsresult SetCurScrollPos
(PRInt32 scrollOrientation
, PRInt32 curPos
);
2380 nsresult SetCurScrollPosEx
(PRInt32 curHorizontalPos
, PRInt32 curVerticalPos
);
2381 nsresult GetScrollRange
(PRInt32 scrollOrientation
, PRInt32
*minPos
, PRInt32
*maxPos
);
2382 nsresult SetScrollRange
(PRInt32 scrollOrientation
, PRInt32 minPos
, PRInt32 maxPos
);
2383 nsresult SetScrollRangeEx
(PRInt32 minHorizontalPos
, PRInt32 maxHorizontalPos
,
2384 PRInt32 minVerticalPos
, PRInt32 maxVerticalPos
);
2385 nsresult GetDefaultScrollbarPreferences
(PRInt32 scrollOrientation
, PRInt32
*scrollbarPref
);
2386 nsresult SetDefaultScrollbarPreferences
(PRInt32 scrollOrientation
, PRInt32 scrollbarPref
);
2387 nsresult GetScrollbarVisibility
(bool
*verticalVisible
, bool
*horizontalVisible
);
2392 uuid(272a5020
-64f5
-485c
-a8c4
-44b2882ae0a2
),
2395 interface nsIFile
: nsISupports
2398 /* Currently not needed */
2400 } PRFileDesc
, PRLibrary
, widl_FILE
;
2401 #define FILE widl_FILE
2403 nsresult Append
(const nsAString
*node
);
2404 nsresult AppendNative
(const nsAString
*node
);
2405 nsresult Normalize
();
2406 nsresult Create
(PRUint32 type
, PRUint32 permission
);
2407 nsresult GetLeafName
(nsAString
*aLeafName
);
2408 nsresult SetLeafName
(const nsAString
*aLeafName
);
2409 nsresult GetNativeLeafName
(nsAString
*aLeafName
);
2410 nsresult SetNativeLeafName
(const nsAString
*aLeafName
);
2411 nsresult CopyTo
(nsIFile
*newParentDir
, const nsAString
*newName
);
2412 nsresult CopyToNative
(nsIFile
*newParentDir
, const nsAString
*newName
);
2413 nsresult CopyToFollowingLinks
(nsIFile
*newParentDir
, const nsAString
*newName
);
2414 nsresult CopyToFollowingLinksNative
(nsIFile
*newParentDir
, const nsAString
*newName
);
2415 nsresult MoveTo
(nsIFile
*newParentDir
, const nsAString
*newName
);
2416 nsresult MoveToNative
(nsIFile
*newParentDir
, const nsAString
*newName
);
2417 nsresult Remove
(bool recursive
);
2418 nsresult GetPermissions
(PRUint32
*aPermissions
);
2419 nsresult SetPermissions
(PRUint32 pPermissions
);
2420 nsresult GetPermissionsOfLink
(PRUint32
*aPermissions
);
2421 nsresult SetPermissionsOfLink
(PRUint32 pPermissions
);
2422 nsresult GetLastModifiedTime
(PRInt64
*aLastModifiedTime
);
2423 nsresult SetLastModifiedTime
(PRInt64 aLastModifiedTime
);
2424 nsresult GetLastModifiedTimeOfLink
(PRInt64
*aLastModifiedTimeOfLink
);
2425 nsresult SetLastModifiedTimeOfLink
(PRInt64 aLastModifiedTimeOfLink
);
2426 nsresult GetFileSize
(PRInt64
*aFileSize
);
2427 nsresult SetFileSize
(PRInt64 aFileSize
);
2428 nsresult GetFileSizeOfLink
(PRInt64
*aFileSizeOfLink
);
2429 nsresult GetTarget
(nsAString
*aTarget
);
2430 nsresult GetNativeTarget
(nsACString
*aNativeTarget
);
2431 nsresult GetPath
(nsAString
*aPath
);
2432 nsresult GetNativePath
(nsACString
*aNativePath
);
2433 nsresult Exists
(bool
*_retval
);
2434 nsresult IsWritable
(bool
*_retval
);
2435 nsresult IsReadable
(bool
*_retval
);
2436 nsresult IsExecutable
(bool
*_retval
);
2437 nsresult IsHidden
(bool
*_retval
);
2438 nsresult IsDirectory
(bool
*_retval
);
2439 nsresult IsFile
(bool
*_retval
);
2440 nsresult IsSymlink
(bool
*_retval
);
2441 nsresult IsSpecial
(bool
*_retval
);
2442 nsresult CreateUnique
(PRUint32 type
, PRUint32 permission
);
2443 nsresult Clone
(nsIFile
**_retval
);
2444 nsresult Equals
(nsIFile
*inFile
, bool
*_retval
);
2445 nsresult Contains
(nsIFile
*inFile
, bool recir
, bool
*_retval
);
2446 nsresult GetParent
(nsIFile
**aParent
);
2447 nsresult GetDirectoryEntries
(nsISimpleEnumerator
**aDirectoryEntries
);
2448 nsresult InitWithPath
(const nsAString
*filePath
);
2449 nsresult InitWithNativePath
(const nsACString
*filePath
);
2450 nsresult InitWithFile
(nsIFile
*aFile
);
2451 nsresult GetFollowLinks
(bool
*aFollowLinks
);
2452 nsresult SetFollowLinks
(bool aFollowLinks
);
2453 nsresult OpenNSPRFileDesc
(PRInt32 flags
, PRInt32 mode
, PRFileDesc
**_retval
);
2454 nsresult OpenANSIFileDesc
(const char *mode
, FILE
**_retval
);
2455 nsresult Load
(PRLibrary
**_retval
);
2456 nsresult GetDiskSpaceAvailable
(PRInt64
*aDiskSpaceAvailable
);
2457 nsresult AppendRelativePath
(const nsAString
*relativeFilePath
);
2458 nsresult AppendRelativeNativePath
(const nsACString
*relativeFilePath
);
2459 nsresult GetPersistentDescriptor
(nsACString
*aPersistentDescriptor
);
2460 nsresult SetPersistentDescriptor
(const nsACString
*aPersistentDescriptor
);
2463 nsresult GetRelativeDescriptor
(nsIFile
*fromFile
, nsACString
*_retval
);
2464 nsresult SetRelativeDescriptor
(nsIFile
*fromFile
, const nsACString
*relativeDesc
);
2469 uuid(7df46a54
-d8b0
-448e-903c
-4341a1b2499c
),
2472 interface nsIPrefBranch
: nsISupports
2474 nsresult GetRoot
(char **aRoot
);
2475 nsresult GetPrefType
(const char *aPrefName
, PRInt32
*_retval
);
2476 nsresult GetBoolPref
(const char *aPrefName
, bool
*_retval
);
2477 nsresult SetBoolPref
(const char *aPrefName
, bool aValue
);
2478 nsresult GetCharPref
(const char *aPrefName
, char **_retval
);
2479 nsresult SetCharPref
(const char *aPrefName
, const char *aValue
);
2480 nsresult GetIntPref
(const char *aPrefName
, PRInt32
*_retval
);
2481 nsresult SetIntPref
(const char *aPrefName
, PRInt32 aValue
);
2482 nsresult GetComplexValue
(const char *aPrefName
, const nsIID
*aType
, void **aValue
);
2483 nsresult SetComplexValue
(const char *aPrefName
, const nsIID
*aType
, nsISupports
*aValue
);
2484 nsresult ClearUserPref
(const char *aPrefName
);
2485 nsresult LockPref
(const char *aPrefName
);
2486 nsresult PrefHasUserValue
(const char *aPrefName
, bool
*_retval
);
2487 nsresult PrefIsLocked
(const char *aPrefName
, bool
*_retval
);
2488 nsresult UnlockPref
(const char *aPrefName
);
2489 nsresult DeleteBranch
(const char *aStartingAt
);
2490 nsresult GetChildList
(const char *aStartingAt
, PRUint32
*aCount
, char ***aChildArray
);
2491 nsresult ResetBranch
(const char *aStartingAt
);
2492 nsresult AddObserver
(const char *aDomain
, nsIObserver
*aObserver
, bool aHoldWeak
);
2493 nsresult RemoveObserver
(const char *aDomain
, nsIObserver
*aObserver
);
2498 uuid(bbf8cab0
-d43a
-11d3
-8cc2
-00609792278c
),
2501 interface nsIDirectoryServiceProvider
: nsISupports
2503 nsresult GetFile
(const char *prop
, bool
*persistent
, nsIFile
**_retval
);
2508 uuid(15fd6940
-8ea7
-11d3
-93ad
-00104ba0fd40
),
2511 interface nsIProtocolHandler
: nsISupports
2513 nsresult GetScheme
(nsACString
*aScheme
);
2514 nsresult GetDefaultPort
(PRInt32
*aDefaultPort
);
2515 nsresult GetProtocolFlags
(PRUint32
*aProtocolFlags
);
2516 nsresult NewURI
(const nsACString
*aSpec
, const char *aOriginCharset
,
2517 nsIURI
*aBaseURI
, nsIURI
**_retval
);
2518 nsresult NewChannel
(nsIURI
*aURI
, nsIChannel
**_retval
);
2519 nsresult AllowPort
(PRInt32 port
, const char *scheme
, bool
*_retval
);
2524 uuid(0e61f3b2
-34d7
-4c79
-bfdc
-4860bc7341b7
),
2527 interface nsIExternalProtocolHandler
: nsIProtocolHandler
2529 nsresult ExternalAppExistsForScheme
(const nsACString
*scheme
, bool
*_retval
);
2534 uuid(bddeda3f
-9020-4d12
-8c70
-984ee9f7935e
),
2537 interface nsIIOService
: nsISupports
2539 nsresult GetProtocolHandler
(const char *aScheme
, nsIProtocolHandler
**_retval
);
2540 nsresult GetProtocolFlags
(const char *aScheme
, PRUint32
*_retval
);
2541 nsresult NewURI
(const nsACString
*aSpec
, const char *aOriginCharset
, nsIURI
*aBaseURI
,
2543 nsresult NewFileURI
(nsIFile
*aFile
, nsIURI
**_retval
);
2544 nsresult NewChannelFromURI
(nsIURI
*aURI
, nsIChannel
**_retval
);
2545 nsresult NewChannel
(const nsACString
*aSpec
, const char *aOriginCharset
, nsIURI
*aBaseURI
,
2546 nsIChannel
**_retval
);
2547 nsresult GetOffline
(bool
*aOffline
);
2548 nsresult SetOffline
(bool aOffline
);
2549 nsresult AllowPort
(PRInt32 aPort
, const char *aScheme
, bool
*_retval
);
2550 nsresult ExtractScheme
(const nsACString
*urlString
, nsACString
*_retval
);
2555 uuid(ca68c485
-9db3
-4c12
-82a6
-4fab7948e2d5
),
2558 interface nsINetUtil
: nsISupports
2560 nsresult ParseContentType
(const nsACString
*aTypeHeader
, nsACString
*aCharset
,
2561 bool
*aHadCharset
, nsACString
*_retval
);
2562 nsresult ProtocolHasFlags
(nsIURI
*aURI
, PRUint32 aFlag
, bool
*_retval
);
2563 nsresult URIChainHasFlags
(nsIURI
*aURI
, PRUint32 aFlags
, bool
*_retval
);
2564 nsresult ToImmutableURI
(nsIURI
*aURI
, nsIURI
**_retval
);
2565 nsresult NewSimpleNestedURI
(nsIURI
*aURI
, nsIURI
**_retval
);
2566 nsresult EscapeString
(const nsACString
*aString
, PRUint32 aEscapeType
, nsACString
*_retval
);
2567 nsresult EscapeURL
(const nsACString
*aStr
, PRUint32 aFlags
, nsACString
*_retval
);
2568 nsresult UnescapeString
(const nsACString
*aStr
, PRUint32 aFlags
, nsACString
*_retval
);
2569 nsresult ExtractCharsetFromContentType
(const nsACString
*aTypeHeader
, nsACString
*aCharset
,
2570 PRInt32
*aCharsetStart
, PRInt32
*aCharsetEnd
, bool
*_retval
);
2575 uuid(9c5d3c58
-1dd1
-11b2
-a1c9
-f3699284657a
),
2578 interface nsIWebBrowserFocus
: nsISupports
2580 nsresult Activate
();
2581 nsresult Deactivate
();
2582 nsresult SetFocusAtFirstElement
();
2583 nsresult SetFocusAtLastElement
();
2584 nsresult GetFocusedWindow
(nsIDOMWindow
**aFocusedWindow
);
2585 nsresult SetFocusedWindow
(nsIDOMWindow
*aFocusedWindow
);
2586 nsresult GetFocusedElement
(nsIDOMElement
**aFocusedElement
);
2587 nsresult SetFocusedElement
(nsIDOMElement
*aFocusedElement
);
2592 uuid(e8c414c4
-dc38
-4ba3
-ab4e
-ec4cbbe22907
),
2595 interface nsIWebBrowserChrome
: nsISupports
2597 nsresult SetStatus
(PRUint32 statusType
, const PRUnichar
*status
);
2598 nsresult GetWebBrowser
(nsIWebBrowser
**aWebBrowser
);
2599 nsresult SetWebBrowser
(nsIWebBrowser
*aWebBrowser
);
2600 nsresult GetChromeFlags
(PRUint32
*aChromeFlags
);
2601 nsresult SetChromeFlags
(PRUint32 aChromeFlags
);
2602 nsresult DestroyBrowserWindow
();
2603 nsresult SizeBrowserTo
(PRInt32 aCX
, PRInt32 aCY
);
2604 nsresult ShowAsModal
();
2605 nsresult IsWindowModal
(bool
*_retval
);
2606 nsresult ExitModalEventLoop
(nsresult aStatus
);
2611 uuid(df31c120
-ded6
-11d1
-bd85
-00805f8ae3f4
),
2614 interface nsIDOMEventListener
: nsISupports
2616 nsresult HandleEvent
(nsIDOMEvent
*event
);
2621 uuid(8e375931
-298d
-4d0a
-9cb4
-5668f0cdc5a8
),
2624 interface nsIDOMEventTarget
: nsISupports
2626 nsresult AddEventListener
(const nsAString
*type
, nsIDOMEventListener
*listener
, bool useCapture
, bool wantsUntrusted
, PRUint8 _argc
);
2627 nsresult AddSystemEventListener
(const nsAString
*type
, nsIDOMEventListener
*listener
, bool aUseCapture
, bool aWantsUntrusted
, PRUint8 _argc
);
2628 nsresult RemoveEventListener
(const nsAString
*type
, nsIDOMEventListener
*listener
, bool useCapture
);
2629 nsresult RemoveSystemEventListener
(const nsAString
*type
, nsIDOMEventListener
*listener
, bool aUseCapture
);
2630 nsresult DispatchEvent
(nsIDOMEvent
*evt
, bool
*_retval
);
2632 /* Followed by methods we should try to avoid using */
2637 uuid(e85cff74
-951f
-45c1
-be0c
-89442ea2f500
),
2640 interface nsIDOMEvent
: nsISupports
2642 nsresult GetType
(nsAString
*aType
);
2643 nsresult GetTarget
(nsIDOMEventTarget
**aTarget
);
2644 nsresult GetCurrentTarget
(nsIDOMEventTarget
**aCurrentTarget
);
2645 nsresult GetEventPhase
(PRUint16
*aEventPhase
);
2646 nsresult GetBubbles
(bool
*aBubbles
);
2647 nsresult GetCancelable
(bool
*aCancelable
);
2648 nsresult GetTimeStamp
(DOMTimeStamp
*aTimeStamp
);
2649 nsresult StopPropagation
();
2650 nsresult PreventDefault
();
2651 nsresult InitEvent
(const nsAString
*eventTypeArg
, bool canBubbleArg
, bool cancelableArg
);
2652 nsresult GetDefaultPrevented
(bool
*aDefaultPrevented
);
2653 nsresult StopImmediatePropagation
();
2658 uuid(2b3ac53c
-2a88
-421f
-af09
-f10665c88acf
),
2661 interface nsIDOMWindowUtils
: nsISupports
2663 nsresult GetImageAnimationMode
(PRUint16
*aImageAnimationMode
);
2664 nsresult SetImageAnimationMode
(PRUint16 aImageAnimationMode
);
2665 nsresult GetDocCharsetIsForced
(bool
*aDocCharsetIsForced
);
2666 nsresult GetCursorType
(PRInt16
*_retval
);
2667 nsresult GetDocumentMetadata
(const nsAString
*aName
, nsAString
*_retval
);
2668 nsresult Redraw
(PRUint32 aCount
, PRUint32
*_retval
);
2669 nsresult SetCSSViewport
(float aWidthPx
, float aHeightPx
);
2670 nsresult SetDisplayPortForElement
(float aXPx
, float aYPx
, float aWidthPx
, float aHeightPx
, nsIDOMElement
*aElement
);
2671 nsresult SetResolution
(float aXResolution
, float aYResolution
);
2672 nsresult GetIsFirstPaint
(bool
*aIsFirstPaint
);
2673 nsresult SetIsFirstPaint
(bool aIsFirstPaint
);
2674 nsresult SendMouseEvent
(const nsAString
*aType
, float aX
, float aY
, PRInt32 aButton
,
2675 PRInt32 aClickCount
, PRInt32 aModifiers
, bool aIgnoreRootScrollFrame
);
2676 nsresult SendTouchEvent
(const nsAString
*aType
, PRUint32
*aIdentifiers
, PRInt32
*aXs
, PRInt32
*aYs
,
2677 PRUint32
*aRxs
, PRUint32
*aRys
, float *aRotationAngles
, float *aForces
, PRUint32 count
, PRInt32 aModifiers
,
2678 bool aIgnoreRootScrollFrame
, bool
*_retval
);
2679 nsresult SendMouseEventToWindow
(const nsAString
*aType
, float aX
, float aY
, PRInt32 aButton
, PRInt32 aClickCount
,
2680 PRInt32 aModifiers
, bool aIgnoreRootScrollFrame
);
2681 nsresult SendMouseScrollEvent
(const nsAString
*aType
, float aX
, float aY
, PRInt32 aButton
, PRInt32 aScrollFlags
,
2682 PRInt32 aDelta
, PRInt32 aModifiers
);
2683 nsresult SendKeyEvent
(const nsAString
*aType
, PRInt32 aKeyCode
, PRInt32 aCharCode
, PRInt32 aModifiers
,
2684 bool aPreventDefault
, bool
*_retval
);
2685 nsresult SendNativeKeyEvent
(PRInt32 aNativeKeyboardLayout
, PRInt32 aNativeKeyCode
, PRInt32 aModifierFlags
,
2686 const nsAString
*aCharacters
, const nsAString
*aUnmodifiedCharacters
);
2687 nsresult SendNativeMouseEvent
(PRInt32 aScreenX
, PRInt32 aScreenY
, PRInt32 aNativeMessage
, PRInt32 aModifierFlags
,
2688 nsIDOMElement
*aElement
);
2689 nsresult SendNativeMouseScrollEvent
(PRInt32 aScreenX
, PRInt32 aScreenY
, PRUint32 aNativeMessage
, double aDeltaX
,
2690 double aDeltaY
, double aDeltaZ
, PRUint32 aModifierFlags
, PRUint32 aAdditionalFlags
, nsIDOMElement
*aElement
);
2691 nsresult ActivateNativeMenuItemAt
(const nsAString
*indexString
);
2692 nsresult ForceUpdateNativeMenuAt
(const nsAString
*indexString
);
2693 nsresult Focus
(nsIDOMElement
*aElement
);
2694 nsresult GarbageCollect
(nsICycleCollectorListener
*aListener
, PRInt32 aExtraForgetSkippableCalls
);
2695 nsresult CycleCollect
(nsICycleCollectorListener
*aListener
, PRInt32 aExtraForgetSkippableCalls
);
2696 nsresult SendSimpleGestureEvent
(const nsAString
*aType
, float aX
, float aY
, PRUint32 aDirection
, double aDelta
,
2697 PRInt32 aModifiers
);
2698 nsresult ElementFromPoint
(float aX
, float aY
, bool aIgnoreRootScrollFrame
, bool aFlushLayout
, nsIDOMElement
**_retval
);
2699 nsresult NodesFromRect
(float aX
, float aY
, float aTopSize
, float aRightSize
, float aBottomSize
, float aLeftSize
,
2700 bool aIgnoreRootScrollFrame
, bool aFlushLayout
, nsIDOMNodeList
**_retval
);
2701 nsresult CompareCanvases
(nsIDOMHTMLCanvasElement
*aCanvas1
, nsIDOMHTMLCanvasElement
*aCanvas2
,
2702 PRUint32
*aMaxDifference
, PRUint32
*_retval
);
2703 nsresult GetIsMozAfterPaintPending
(bool
*aIsMozAfterPaintPending
);
2704 nsresult SuppressEventHandling
(bool aSuppress
);
2705 nsresult ClearMozAfterPaintEvents
();
2706 nsresult DisableNonTestMouseEvents
(bool aDisable
);
2707 nsresult GetScrollXY
(bool aFlushLayout
, PRInt32
*aScrollX
, PRInt32
*aScrollY
);
2708 nsresult GetRootBounds
(nsIDOMClientRect
**_retval
);
2709 nsresult GetIMEIsOpen
(bool
*aIMEIsOpen
);
2710 nsresult GetIMEStatus
(PRUint32
*aIMEStatus
);
2711 nsresult GetScreenPixelsPerCSSPixel
(float *aScreenPixelsPerCSSPixel
);
2712 nsresult DispatchDOMEventViaPresShell
(nsIDOMNode
*aTarget
, nsIDOMEvent
*aEvent
, bool aTrusted
, bool
*_retval
);
2713 nsresult GetClassName
(const /*JS::Value*/ void *aObject
, JSContext
*cx
, char **_retval
);
2714 nsresult SendContentCommandEvent
(const nsAString
*aType
, nsITransferable
*aTransferable
);
2715 nsresult SendCompositionEvent
(const nsAString
*aType
, const nsAString
*aData
, const nsAString
*aLocale
);
2716 nsresult SendTextEvent
(const nsAString
*aCompositionString
, PRInt32 aFirstClauseLength
, PRUint32 aFirstClauseAttr
,
2717 PRInt32 aSecondClauseLength
, PRUint32 aSecondClauseAttr
, PRInt32 aThirdClauseLength
, PRUint32 aThirdClauseAttr
,
2718 PRInt32 aCaretStart
, PRInt32 aCaretLength
);
2719 nsresult SendQueryContentEvent
(PRUint32 aType
, PRUint32 aOffset
, PRUint32 aLength
, PRInt32 aX
, PRInt32 aY
,
2720 nsIQueryContentEventResult
**_retval
);
2721 nsresult SendSelectionSetEvent
(PRUint32 aOffset
, PRUint32 aLength
, bool aReverse
, bool
*_retval
);
2722 nsresult GetVisitedDependentComputedStyle
(nsIDOMElement
*aElement
, const nsAString
*aPseudoElement
,
2723 const nsAString
*aPropertyName
, nsAString
*_retval
);
2724 nsresult GetParent
(const /*JS::Value*/ void *obj
, JSContext
*cx
, /*JS::Value*/ void *_retval
);
2725 nsresult GetOuterWindowID
(PRUint64
*aOuterWindowID
);
2726 nsresult GetCurrentInnerWindowID
(PRUint64
*aCurrentInnerWindowID
);
2727 nsresult EnterModalState
();
2728 nsresult LeaveModalState
();
2729 nsresult EnterModalStateWithWindow
(nsIDOMWindow
**_retval
);
2730 nsresult LeaveModalStateWithWindow
(nsIDOMWindow
*aWindow
);
2731 nsresult IsInModalState
(bool
*_retval
);
2732 nsresult SuspendTimeouts
();
2733 nsresult ResumeTimeouts
();
2734 nsresult GoOnline
();
2735 nsresult GetLayerManagerType
(nsAString
*aLayerManagerType
);
2736 nsresult StartFrameTimeRecording
();
2737 nsresult StopFrameTimeRecording
(PRUint32
*frameCount
, float **frameTime
);
2738 nsresult GetDisplayDPI
(float *aDisplayDPI
);
2739 nsresult GetOuterWindowWithId
(PRUint64 aOuterWindowID
, nsIDOMWindow
**_retval
);
2740 nsresult RenderDocument
(const void /*nsRect*/ *aRect
, PRUint32 aFlags
, int /*nscolor*/ aBackgroundColor
,
2741 void /*gfxContext*/ *aThebesContext
);
2742 nsresult AdvanceTimeAndRefresh
(PRInt64 aMilliseconds
);
2743 nsresult RestoreNormalRefresh
();
2744 nsresult ComputeAnimationDistance
(nsIDOMElement
*element
, const nsAString
*property
, const nsAString
*value1
,
2745 const nsAString
*value2
, double *_retval
);
2746 nsresult WrapDOMFile
(nsIFile
*aFile
, nsIDOMFile
**_retval
);
2747 nsresult GetFocusedInputType
(char **aFocusedInputType
);
2748 nsresult FindElementWithViewId
(long /*nsViewID*/ aId
, nsIDOMElement
**_retval
);
2749 nsresult LeafLayersPartitionWindow
(bool
*_retval
);
2750 nsresult GetMayHaveTouchEventListeners
(bool
*aMayHaveTouchEventListeners
);
2751 nsresult CheckAndClearPaintedState
(nsIDOMElement
*aElement
, bool
*_retval
);
2752 nsresult GetFileId
(nsIDOMBlob
*aBlob
, PRInt64
*_retval
);
2753 nsresult GetFileReferences
(const nsAString
*aDatabaseName
, PRInt64 aId
, PRInt32
*aRefCnt
, PRInt32
*aDBRefCnt
,
2754 PRInt32
*aSliceRefCnt
, bool
*_retval
);
2755 nsresult IsIncrementalGCEnabled
(JSContext
*cx
, bool
*_retval
);
2756 nsresult StartPCCountProfiling
(JSContext
*cx
);
2757 nsresult StopPCCountProfiling
(JSContext
*cx
);
2758 nsresult PurgePCCounts
(JSContext
*cx
);
2759 nsresult GetPCCountScriptCount
(JSContext
*cx
, PRInt32
*_retval
);
2760 nsresult GetPCCountScriptSummary
(PRInt32 script
, JSContext
*cx
, nsAString
*_retval
);
2761 nsresult GetPCCountScriptContents
(PRInt32 script
, JSContext
*cx
, nsAString
*_retval
);
2762 nsresult GetPaintingSuppressed
(bool
*aPaintingSuppressed
);
2763 nsresult GetPlugins
(JSContext
*cx
, /*JS::Value*/ void *aPlugins
);
2764 nsresult SetScrollPositionClampingScrollPortSize
(float aWidth
, float aHeight
);
2767 cpp_quote
("#define CONTEXT_NONE 0x00")
2768 cpp_quote
("#define CONTEXT_LINK 0x01")
2769 cpp_quote
("#define CONTEXT_IMAGE 0x02")
2770 cpp_quote
("#define CONTEXT_DOCUMENT 0x04")
2771 cpp_quote
("#define CONTEXT_TEXT 0x08")
2772 cpp_quote
("#define CONTEXT_INPUT 0x10")
2773 cpp_quote
("#define CONTEXT_BACKGROUND_IMAGE 0x20")
2777 uuid(3478b6b0
-3875-11d4
-94ef
-0020183bf181
),
2780 interface nsIContextMenuListener
: nsISupports
2782 nsresult OnShowContextMenu
(PRUint32 aContextFlags
, nsIDOMEvent
*aEvent
, nsIDOMNode
*aNode
);
2787 uuid(af3f130e
-0c22
-4613-a150
-780a46c22e3a
),
2790 interface nsIDOMUIEvent
: nsIDOMEvent
2792 nsresult GetView
(nsIDOMWindow
**aView
);
2793 nsresult GetDetail
(PRInt32
*aDetail
);
2794 nsresult InitUIEvent
(const nsAString
*typeArg
, bool canBubbleArg
, bool cancelableArg
,
2795 nsIDOMWindow
*viewArg
, PRInt32 detailArg
);
2796 nsresult GetLayerX
(PRInt32
*aLayerX
);
2797 nsresult GetLayerY
(PRInt32
*aLayerY
);
2798 nsresult GetPageX
(PRInt32
*aPageX
);
2799 nsresult GetPageY
(PRInt32
*aPageY
);
2800 nsresult GetWhich
(PRUint32
*aWhich
);
2801 nsresult GetRangeParent
(nsIDOMNode
**aRangeParent
);
2802 nsresult GetRangeOffset
(PRInt32
*aRangeOffset
);
2803 nsresult GetCancelBubble
(bool
*aCancelBubble
);
2804 nsresult SetCancelBubble
(bool aCancelBubble
);
2805 nsresult GetIsChar
(bool
*aIsChar
);
2810 uuid(53e29996
-f851
-4032-b896
-8aafbd0Bdf25
),
2813 interface nsIDOMMouseEvent
: nsIDOMUIEvent
2815 nsresult GetScreenX
(PRInt32
*aScreenX
);
2816 nsresult GetScreenY
(PRInt32
*aScreenY
);
2817 nsresult GetMozMovementX
(PRInt32
*aMozMovementX
);
2818 nsresult GetMozMovementY
(PRInt32
*aMozMovementY
);
2819 nsresult GetClientX
(PRInt32
*aClientX
);
2820 nsresult GetClientY
(PRInt32
*aClientY
);
2821 nsresult GetCtrlKey
(bool
*aCtrlKey
);
2822 nsresult GetShiftKey
(bool
*aShiftKey
);
2823 nsresult GetAltKey
(bool
*aAltKey
);
2824 nsresult GetMetaKey
(bool
*aMetaKey
);
2825 nsresult GetButton
(PRUint16
*aButton
);
2826 nsresult GetRelatedTarget
(nsIDOMEventTarget
**aRelatedTarget
);
2827 nsresult InitMouseEvent
(const nsAString
*typeArg
, bool canBubbleArg
, bool cancelableArg
,
2828 nsIDOMWindow
*viewArg
, PRInt32 detailArg
, PRInt32 screenXArg
, PRInt32 screenYArg
,
2829 PRInt32 clientXArg
, PRInt32 clientYArg
, bool ctrlKeyArg
, bool altKeyArg
,
2830 bool shiftKeyArg
, bool metaKeyArg
, PRUint16 buttonArg
,
2831 nsIDOMEventTarget
*relatedTargetArg
);
2832 nsresult GetMozPressure
(float *aMozPressure
);
2833 nsresult GetMozInputSource
(PRUint16
*aMozInputSource
);
2834 nsresult InitNSMouseEvent
(const nsAString
*typeArg
, bool canBubbleArg
, bool cancelableArg
,
2835 nsIDOMWindow
*viewArg
, PRInt32 detailArg
, PRInt32 screenXArg
, PRInt32 screenYArg
,
2836 PRInt32 clientXArg
, PRInt32 clientYArg
, bool ctrlKeyArg
, bool altKeyArg
, bool shiftKeyArg
,
2837 bool metaKeyArg
, PRUint16 buttonArg
, nsIDOMEventTarget
*relatedTargetArg
, float pressure
,
2838 PRUint16 inputSourceArg
);
2843 uuid(def974c3
-b491
-481b
-bc67
-29174af4b26a
),
2846 interface nsIDOMKeyEvent
: nsIDOMUIEvent
2848 nsresult GetCharCode
(PRUint32
*aCharCode
);
2849 nsresult GetKeyCode
(PRUint32
*aKeyCode
);
2850 nsresult GetAltKey
(bool
*aAltKey
);
2851 nsresult GetCtrlKey
(bool
*aCtrlKey
);
2852 nsresult GetShiftKey
(bool
*aShiftKey
);
2853 nsresult GetMetaKey
(bool
*aMetaKey
);
2854 nsresult InitKeyEvent
(const nsAString
*typeArg
, bool canBubbleArg
,
2855 bool cancelableArg
, nsIDOMWindow
*viewArg
, bool ctrlKeyArg
,
2856 bool altKeyArg
, bool shiftKeyArg
, bool metaKeyArg
, PRUint32 keyCodeArg
,
2857 PRUint32 charCodeArg
);
2862 uuid(3e5432cd
-9568-4bd1
-8cbe
-d50aba110743
),
2865 interface nsIEmbeddingSiteWindow
: nsISupports
2867 nsresult SetDimensions
(PRUint32 flags
, PRInt32 x
, PRInt32 y
, PRInt32 cx
, PRInt32 cy
);
2868 nsresult GetDimensions
(PRUint32 flags
, PRInt32
*x
, PRInt32
*y
, PRInt32
*cx
, PRInt32
*cy
);
2869 nsresult SetFocus
();
2870 nsresult GetVisibility
(bool
*aVisibility
);
2871 nsresult SetVisibility
(bool aVisibility
);
2872 nsresult GetTitle
(PRUnichar
**aTitle
);
2873 nsresult SetTitle
(const PRUnichar
*aTitle
);
2874 nsresult GetSiteWindow
(void **aSiteWindow
);
2879 uuid(2417cbfe
-65ad
-48a6
-b4b6
-eb84db174392
),
2882 interface nsIComponentRegistrar
: nsISupports
2884 nsresult AutoRegister
(nsIFile
*aSpec
);
2885 nsresult AutoUnregister
(nsIFile
*aSpec
);
2886 nsresult RegisterFactory
(const nsCID
*aClass
, const char *aClassName
,
2887 const char *aContractID
, nsIFactory
*aFactory
);
2888 nsresult UnregisterFactory
(const nsCID
*aClass
, nsIFactory
*aFactory
);
2889 nsresult RegisterFactoryLocation
(const nsCID
*aClass
, const char *aClassName
,
2890 const char *aContractID
, nsIFile
*aFile
, const char *aLoaderStr
,
2892 nsresult UnregisterFactoryLocation
(const nsCID
*aClass
, nsIFile
*aFile
);
2893 nsresult IsCIDRegistered
(const nsCID
*aClass
, bool
*_retval
);
2894 nsresult IsContractIDRegistered
(const char *aContractID
, bool
*_retval
);
2895 nsresult EnumerateCIDs
(nsISimpleEnumerator
**_retval
);
2896 nsresult EnumerateContractIDs
(nsISimpleEnumerator
**_retval
);
2897 nsresult CIDToContractID
(const nsCID
*aClass
, char **_retval
);
2898 nsresult ContractIDToCID
(const char *aContractID
, nsCID
**_retval
);
2903 uuid(1630c61a
-325e-49ca
-8759-a31b16c47aa5
),
2906 interface nsIPromptService
: nsISupports
2908 nsresult Alert
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2909 const PRUnichar
*aText
);
2910 nsresult AlertCheck
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2911 const PRUnichar
*aText
, const PRUnichar
*aCheckMsg
, bool
*aCheckState
);
2912 nsresult Confirm
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2913 const PRUnichar
*aText
, bool
*_retval
);
2914 nsresult ConfirmCheck
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2915 const PRUnichar
*aText
, const PRUnichar
*aCheckMsg
, bool
*aCheckState
,
2917 nsresult ConfirmEx
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2918 const PRUnichar
*aText
, PRUint32 aButtonFlags
, const PRUnichar
*aButton0Title
,
2919 const PRUnichar
*aButton1Title
, const PRUnichar
*aButton2Title
,
2920 const PRUnichar
*aCheckMsg
, bool
*aCheckState
, PRInt32
*_retval
);
2921 nsresult Prompt
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2922 const PRUnichar
*aText
, PRUnichar
**aValue
, const PRUnichar
*aCheckMsg
,
2923 bool
*aCheckState
, bool
*_retval
);
2924 nsresult PromptUsernameAndPassword
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2925 const PRUnichar
*aText
, PRUnichar
**aUsername
, PRUnichar
**aPassword
,
2926 const PRUnichar
*aCheckMsg
, bool
*aCheckState
, bool
*_retval
);
2927 nsresult PromptPassword
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2928 const PRUnichar
*aText
, PRUnichar
**aPassword
, const PRUnichar
*aCheckMsg
,
2929 bool
*aCheckState
, bool
*_retval
);
2930 nsresult Select
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2931 const PRUnichar
*aText
, PRUint32 aCount
, const PRUnichar
**aSelectList
,
2932 PRInt32
*aOutSelection
, bool
*_retval
);
2937 uuid(b128a1e6
-44f3
-4331-8fbe
-5af360ff21ee
),
2940 interface nsITooltipTextProvider
: nsISupports
2942 nsresult GetNodeText
(nsIDOMNode
*aNode
, PRUnichar
**aText
, bool
*_retval
);
2947 uuid(02b0625a
-e7f3
-11d2
-9f5a
-006008a6efe9
),
2950 interface nsIProfile
: nsISupports
2952 nsresult GetProfileCount
(PRInt32
*aProfileCount
);
2953 nsresult GetProfileList
(PRUint32
*length
, PRUnichar
***profileNames
);
2954 nsresult ProfileExists
(const PRUnichar
*profileName
, bool
*_retval
);
2955 nsresult GetCurrentProfile
(PRUnichar
**aCurrentProfile
);
2956 nsresult SetCurrentProfile
(const PRUnichar
*aCurrentProfile
);
2957 nsresult ShutDownCurrentProfile
(PRUint32 shutDownType
);
2958 nsresult CreateNewProfile
(const PRUnichar
*profileName
,
2959 const PRUnichar
*nativeProfileDir
, const PRUnichar
*langcode
,
2960 bool useExistingDir
);
2961 nsresult RenameProfile
(const PRUnichar
*oldName
, const PRUnichar
*newName
);
2962 nsresult DeleteProfile
(const PRUnichar
*name
, bool canDeleteFiles
);
2963 nsresult CloneProfile
(const PRUnichar
*profileName
);
2968 uuid(24f3f4da
-18a4
-448d
-876d
-7360fefac029
),
2971 interface nsIEditingSession
: nsISupports
2973 nsresult GetEditorStatus
(PRUint32
*aEditorStatus
);
2974 nsresult MakeWindowEditable
(nsIDOMWindow
*window
, const char *aEditorType
,
2975 bool doAfterUriLoad
, bool aMakeWholeDocumentEditable
, bool aInteractive
);
2976 nsresult WindowIsEditable
(nsIDOMWindow
*window
, bool
*_retval
);
2977 nsresult GetEditorForWindow
(nsIDOMWindow
*window
, nsIEditor
**_retval
);
2978 nsresult SetupEditorOnWindow
(nsIDOMWindow
*window
);
2979 nsresult TearDownEditorOnWindow
(nsIDOMWindow
*window
);
2980 nsresult SetEditorOnControllers
(nsIDOMWindow
*aWindow
, nsIEditor
*aEditor
);
2981 nsresult DisableJSAndPlugins
(nsIDOMWindow
*aWindow
);
2982 nsresult RestoreJSAndPlugins
(nsIDOMWindow
*aWindow
);
2983 nsresult DetachFromWindow
(nsIDOMWindow
*aWindow
);
2984 nsresult ReattachToWindow
(nsIDOMWindow
*aWindow
);
2985 nsresult GetJsAndPluginsDisabled
(bool
*aJsAndPluginsDisabled
);
2990 uuid(83f892cf
-7ed3
-490e-967a
-62640f3158e1
),
2993 interface nsICommandParams
: nsISupports
2995 nsresult GetValueType
(const char *name
, PRInt16
*_retval
);
2996 nsresult GetBooleanValue
(const char *name
, bool
*_retval
);
2997 nsresult GetLongValue
(const char *name
, PRInt32
*_retval
);
2998 nsresult GetDoubleValue
(const char *name
, double *_retval
);
2999 nsresult GetStringValue
(const char *name
, nsAString
*_retval
);
3000 nsresult GetCStringValue
(const char *name
, char **_retval
);
3001 nsresult GetISupportsValue
(const char *name
, nsISupports
**_retval
);
3002 nsresult SetBooleanValue
(const char *name
, bool value
);
3003 nsresult SetLongValue
(const char *name
, PRInt32 value
);
3004 nsresult SetDoubleValue
(const char *name
, double value
);
3005 nsresult SetStringValue
(const char *name
, const nsAString
*value
);
3006 nsresult SetCStringValue
(const char *name
, const char *value
);
3007 nsresult SetISupportsValue
(const char *name
, nsISupports
*value
);
3008 nsresult RemoveValue
(const char *name
);
3009 nsresult HasMoreElements
(bool
*_retval
);
3011 nsresult GetNext
(char **_retval
);
3016 uuid(080d2001
-f91e
-11d4
-a73c
-f9242928207c
),
3019 interface nsICommandManager
: nsISupports
3021 nsresult AddCommandObserver
(nsIObserver
*aCommandObserver
, const char *aCommandToObserve
);
3022 nsresult RemoveCommandObserver
(nsIObserver
*aCommandObserver
, const char *aCommandObserved
);
3023 nsresult IsCommandSupported
(const char *aCommandName
, nsIDOMWindow
*aTargetWindow
, bool
*_retval
);
3024 nsresult IsCommandEnabled
(const char *aCommandName
, nsIDOMWindow
*aTargetWindow
, bool
*_retval
);
3025 nsresult GetCommandState
(const char *aCommandName
, nsIDOMWindow
*aTargetWindow
,
3026 nsICommandParams
*aCommandParams
);
3027 nsresult DoCommand
(const char *aCommandName
, nsICommandParams
*aCommandParams
,
3028 nsIDOMWindow
*aTargetWindow
);
3033 uuid(47b82b60
-a36f
-4167-8072-6f421151ed50
),
3036 interface nsIControllerContext
: nsISupports
3038 nsresult Init
(nsIControllerCommandTable
*aCommandTable
);
3039 nsresult SetCommandContext
(nsISupports
*aCommandContext
);
3044 uuid(d5b61b82
-1da4
-11d3
-bf87
-00105a1b0627
),
3047 interface nsIController
: nsISupports
3049 nsresult IsCommandEnabled
(const char *command
, bool
*_retval
);
3050 nsresult SupportsCommand
(const char *command
, bool
*_retval
);
3051 nsresult DoCommand
(const char *command
);
3052 nsresult OnEvent
(const char *eventName
);
3057 uuid(a887c108
-c25e
-42ab
-87ef
-ad4bee502828
),
3060 interface nsIContent
: nsISupports
3062 /* This is not a real interface declaration. It's too internal for us. */
3067 uuid(8e51e6d9
-914d
-46ba
-b311
-2f273de60d19
),
3070 interface nsIDocument
: nsISupports
3072 /* This is not a real interface declaration. It's too internal for us. */
3077 uuid(b1ee32f2
-b8c4
-49b9
-93df
-b6fab5d54688
),
3080 interface nsIContentSerializer
: nsISupports
3082 nsresult Init
(PRUint32 flags
, PRUint32 aWrapColumn
, const char *aCharSet
, bool aIsCopying
,
3083 bool aIsWholeDocument
);
3084 nsresult AppendText
(nsIContent
*aText
, PRInt32 aStartOffset
, PRInt32 aEndOffset
, nsAString
*aStr
);
3085 nsresult AppendCDATASection
(nsIContent
*aCDATASection
, PRInt32 aStartOffset
,
3086 PRInt32 aEndOffset
, nsAString
*aStr
);
3087 nsresult AppendProcessingInstruction
(nsIContent
*aPI
, PRInt32 aStartOffset
,
3088 PRInt32 aEndOffset
, nsAString
*aStr
);
3089 nsresult AppendComment
(nsIContent
*aComment
, PRInt32 aStartOffset
, PRInt32 aEndOffset
,
3091 nsresult AppendDoctype
(nsIContent
*aDoctype
, nsAString
*aStr
);
3092 nsresult AppendElementStart
(nsIContent
*aElement
, nsIContent
*aOriginalElement
,
3094 nsresult AppendElementEnd
(nsIContent
*aElement
, nsAString
*aStr
);
3095 nsresult Flush
(nsAString
*aStr
);
3096 nsresult AppendDocumentStart
(nsIDocument
*aDocument
, nsAString
*aStr
);
3101 uuid(2e14b183
-29d4
-4282-9475-589277a70654
),
3104 interface nsIEditor
: nsISupports
3106 typedef void *nsIContentPtr
;
3108 nsresult GetSelection
([out] nsISelection
*_retval
);
3109 nsresult Init
([in] nsIDOMDocument
*doc
, [in] nsIContentPtr aRoot
, [in] nsISelectionController
*aSelCon
, [in] PRUint32 aFlags
);
3110 nsresult SetAttributeOrEquivalent
([in] nsIDOMElement
*element
, [in] const nsAString
*sourceAttrName
, [in] const nsAString
*sourceAttrValue
, [in] bool aSuppressTransaction
);
3111 nsresult RemoveAttributeOrEquivalent
([in] nsIDOMElement
*element
, [in] const nsAString
*sourceAttrName
, [in] bool aSuppressTransaction
);
3112 nsresult PostCreate
();
3113 nsresult PreDestroy
();
3114 nsresult GetFlags
([out] PRUint32
*_retval
);
3115 nsresult SetFlags
([in] PRUint32 val
);
3116 nsresult GetContentsMIMEType
([out] char **_retval
);
3117 nsresult SetContentsMIMEType
([in] const char *val
);
3118 nsresult GetIsDocumentEditable
([out] bool
*_retval
);
3119 nsresult GetIsSelectionEditable
(bool
*aIsSelectionEditable
);
3120 nsresult GetDocument
([out] nsIDOMDocument
**_retval
);
3121 nsresult GetRootElement
([out] nsIDOMElement
**_retval
);
3122 nsresult GetSelectionController
([out] nsISelectionController
**_retval
);
3123 nsresult DeleteSelection
([in] PRInt16 action
);
3124 nsresult GetDocumentIsEmpty
([out] bool
*_retval
);
3125 nsresult GetDocumentModified
([out] bool
*_retval
);
3126 nsresult GetDocumentCharacterSet
([out] nsACString
*_retval
);
3127 nsresult SetDocumentCharacterSet
([in] const nsACString
*val
);
3128 nsresult ResetModificationCount
();
3129 nsresult GetModificationCount
([out] PRInt32
*_retval
);
3130 nsresult IncrementModificationCount
([in] PRInt32 aModCount
);
3131 nsresult GetTransactionManager
([out] nsITransactionManager
**_retval
);
3132 nsresult SetTransactionManager
(nsITransactionManager
*aTransactionManager
);
3133 nsresult DoTransaction
([in] nsITransaction
*txn
);
3134 nsresult EnableUndo
([in] bool enable
);
3135 nsresult GetNumberOfUndoItems
(PRInt32
*aNumberOfUndoItems
);
3136 nsresult GetNumberOfRedoItems
(PRInt32
*aNumberOfRedoItems
);
3137 nsresult Undo
([in] PRUint32 count
);
3138 nsresult CanUndo
([out] bool
*isEnabled
, [out] bool
*canUndo
);
3139 nsresult Redo
([in] PRUint32 count
);
3140 nsresult CanRedo
([out] bool
*isEnabled
, [out] bool
*canRedo
);
3141 nsresult BeginTransaction
();
3142 nsresult EndTransaction
();
3143 nsresult BeginPlaceHolderTransaction
([in] nsIAtom
*name
);
3144 nsresult EndPlaceHolderTransaction
();
3145 nsresult ShouldTxnSetSelection
([out] bool
*_retval
);
3146 nsresult SetShouldTxnSetSelection
([in] bool should
);
3147 nsresult GetInlineSpellChecker
([out] nsIInlineSpellChecker
**_retval
);
3148 nsresult SyncRealTimeSpell
();
3149 nsresult SetSpellcheckUserOverride
(bool enable
);
3151 nsresult CanCut
([out] bool
*_retval
);
3153 nsresult CanCopy
([out] bool
*_retval
);
3154 nsresult Paste
([in] PRInt32 aSelectionType
);
3155 nsresult PasteTransferable
(nsITransferable
*aTransferable
);
3156 nsresult CanPaste
([in] PRInt32 aSelectionType
, [out] bool
*_retval
);
3157 nsresult CanPasteTransferable
(nsITransferable
*aTransferable
, bool
*_retval
);
3158 nsresult SelectAll
();
3159 nsresult BeginningOfDocument
();
3160 nsresult EndOfDocument
();
3161 nsresult SetAttribute
([in] nsIDOMElement
*aElement
, [in] const nsAString
*attributestr
, [in] const nsAString
*attvalue
);
3162 nsresult GetAttributeValue
([in] nsIDOMElement
*aElement
, [in] const nsAString
*attributestr
, [out] nsAString
*resultValue
, bool
*_retval
);
3163 nsresult RemoveAttribute
([in] nsIDOMElement
*aElement
, [in] const nsAString
*aAttribute
);
3164 nsresult CloneAttribute
([in] const nsAString
*aAttribute
, [in] nsIDOMNode
*aDestNode
, [in] nsIDOMNode
*aSourceNode
);
3165 nsresult CloneAttributes
([in] nsIDOMNode
*destNode
, [in] nsIDOMNode
*sourceNode
);
3166 nsresult CreateNode
([in] const nsAString
*tag
, [in] nsIDOMNode
*parent
, [in] PRInt32 position
, [out] nsIDOMNode
**_retval
);
3167 nsresult InsertNode
([in] nsIDOMNode
*node
, [in] nsIDOMNode
*parent
, [in] PRInt32 aPosition
);
3168 nsresult SplitNode
([in] nsIDOMNode
*existingRightNode
, [in] PRInt32 offset
, [out] nsIDOMNode
**newLeftNode
);
3169 nsresult JoinNodes
([in] nsIDOMNode
*leftNode
, [in] nsIDOMNode
*rightNode
, [in] nsIDOMNode
*parent
);
3170 nsresult DeleteNode
([in] nsIDOMNode
*child
);
3171 nsresult MarkNodeDirty
([in] nsIDOMNode
*node
);
3172 nsresult SwitchTextDirection
();
3173 nsresult OutputToString
([in] nsAString formatType
, [in] PRUint32 flags
, [out] nsAString
*_retval
);
3174 nsresult OutputToStream
([in] nsIOutputStream
*aStream
, [in] nsAString
*formatType
, [in] nsACString
*charsetOverride
, [in] PRUint32 flags
);
3175 nsresult AddEditorObserver
([in] nsIEditorObserver
*observer
);
3176 nsresult RemoveEditorObserver
([in] nsIEditorObserver
*observer
);
3177 nsresult AddEditActionListener
([in] nsIEditActionListener
*listener
);
3178 nsresult RemoveEditActionListener
([in] nsIEditActionListener
*listener
);
3179 nsresult AddDocumentStateListener
([in] nsIDocumentStateListener
*listener
);
3180 nsresult RemoveDocumentStateListener
([in] nsIDocumentStateListener
*listener
);
3181 nsresult DumpContentTree
();
3182 nsresult DebugDumpContent
();
3183 nsresult DebugUnitTests
([out] PRInt32
*outNumTests
, [out] PRInt32
*outNumTestsFailed
);
3184 bool IsModifiableNode
(nsIDOMNode
*aNode
);
3185 nsresult GetLastKeypressEventTrusted
(bool
*aLastKeypressEventTrusted
);
3186 nsresult SetSuppressDispatchingInputEvent
(bool aSuppressDispatchingInputEvent
);
3191 uuid(833f30de
-94c7
-4630-a852
-2300ef329d7b
),
3194 interface nsIHTMLEditor
: nsISupports
3196 nsresult AddDefaultProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
);
3197 nsresult RemoveDefaultProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
);
3198 nsresult RemoveAllDefaultProperties
();
3199 nsresult SetInlineProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
);
3200 nsresult GetInlineProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
, [out] bool
*aFirst
, [out] bool
*aAny
, [out] bool
*aAll
);
3201 nsresult GetInlinePropertyWithAttrValue
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
, [out] bool
*aFirst
, [out] bool
*aAny
, [out] bool
*aAll
, [out] nsAString
*_retval
);
3202 nsresult RemoveAllInlineProperties
();
3203 nsresult RemoveInlineProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
);
3204 nsresult IncreaseFontSize
();
3205 nsresult DecreaseFontSize
();
3206 nsresult NodeIsBlock
([in] nsIDOMNode
*node
, bool
*_retval
);
3207 nsresult InsertHTML
([in] nsAString
*aInputString
);
3208 nsresult PasteNoFormatting
([in] PRInt32 aSelectionType
);
3209 nsresult RebuildDocumentFromSource
([in] nsAString
*aSourceString
);
3210 nsresult InsertHTMLWithContext
([in] nsAString
*aInputString
, [in] nsAString
*aContextStr
, [in] nsAString
*aInfoStr
, [in] nsAString
*aFlavor
, [in] nsIDOMDocument
*aSourceDoc
, [in] nsIDOMNode
*aDestinationNode
, [in] PRInt32 aDestinationOffset
, [in] bool aDeleteSelection
);
3211 nsresult InsertElementAtSelection
([in] nsIDOMElement
*aElement
, [in] bool aDeleteSelection
);
3212 nsresult SetDocumentTitle
([in] nsAString
*aTitle
);
3213 nsresult UpdateBaseURL
();
3214 nsresult SelectElement
([in] nsIDOMElement
*aElement
);
3215 nsresult SetCaretAfterElement
([in] nsIDOMElement
*aElement
);
3216 nsresult SetParagraphFormat
([in] nsAString
*aParagraphFormat
);
3217 nsresult GetParagraphState
([out] bool
*aMixed
, [out] nsAString
*_retval
);
3218 nsresult GetFontFaceState
([out] bool
*aMixed
, [out] nsAString
*_retval
);
3219 nsresult GetFontColorState
([out] bool
*aMixed
, [out] nsAString
*_retval
);
3220 nsresult GetBackgroundColorState
([out] bool
*aMixed
, [out] nsAString
*_retval
);
3221 nsresult GetHighlightColorState
([out] bool
*aMixed
, [out] nsAString
*_retval
);
3222 nsresult GetListState
([out] bool
*aMixed
, [out] bool
*aOL
, [out] bool
*aUL
, [out] bool
*aDL
);
3223 nsresult GetListItemState
([out] bool
*aMixed
, [out] bool
*aLI
, [out] bool
*aDT
, [out] bool
*aDD
);
3224 nsresult GetAlignment
([out] bool
*aMixed
, [out] PRInt16
*aAlign
);
3225 nsresult GetIndentState
([out] bool
*aCanIndent
, [out] bool
*aCanOutdent
);
3226 nsresult MakeOrChangeList
([in] nsAString
*aListType
, [in] bool entireList
, [in] nsAString
*aBulletType
);
3227 nsresult RemoveList
([in] nsAString
*aListType
);
3228 nsresult Indent
([in] nsAString
*aIndent
);
3229 nsresult Align
([in] nsAString
*aAlign
);
3230 nsresult GetElementOrParentByTagName
([in] nsAString
*aTagName
, [in] nsIDOMNode
*aNode
, [out] nsIDOMElement
**_retval
);
3231 nsresult GetSelectedElement
([in] nsAString
*aTagName
, [out] nsIDOMElement
**_retval
);
3232 nsresult GetHeadContentsAsHTML
([out] nsAString
*_retval
);
3233 nsresult ReplaceHeadContentsWithHTML
([in] nsAString
*aSourceToInsert
);
3234 nsresult CreateElementWithDefaults
([in] nsAString
*aTagName
, [out] nsIDOMElement
**_retval
);
3235 nsresult InsertLinkAroundSelection
([in] nsIDOMElement
*aAnchorElement
);
3236 nsresult SetBackgroundColor
([in] nsAString
*aColor
);
3237 nsresult SetBodyAttribute
([in] nsAString
*aAttr
, [in] nsAString
*aValue
);
3238 nsresult GetLinkedObjects
([out] nsISupportsArray
**_retval
);
3239 nsresult GetIsCSSEnabled
([out] bool
*_retval
);
3240 nsresult SetIsCSSEnabled
([in] bool prb
);
3241 nsresult AddInsertionListener
([in] nsIContentFilter
*inFilter
);
3242 nsresult RemoveInsertionListener
([in] nsIContentFilter
*inFilter
);
3243 nsresult CreateAnonymousElement
([in] nsAString
*aTag
, [in] nsIDOMNode
*aParentNode
, [in] nsAString
*aAnonClass
, [in] bool aIsCreatedHidden
, [out] nsIDOMElement
**_retval
);
3244 nsresult GetSelectionContainer
([out] nsIDOMElement
**_retval
);
3245 nsresult CheckSelectionStateForAnonymousButtons
([in] nsISelection
*aSelection
);
3246 nsresult IsAnonymousElement
([in] nsIDOMElement
*aElement
, [out] bool
*_retval
);
3247 nsresult GetReturnInParagraphCreatesNewParagraph
([out] bool
*_retval
);
3248 nsresult SetReturnInParagraphCreatesNewParagraph
([in] bool prb
);
3249 nsresult BreakIsVisible
(nsIDOMNode
*aNode
, bool
*_retval
);
3250 nsIContent
*GetActiveEditingHost
();
3255 uuid(c7325422
-817e-4321-957a
-c0bdd764941d
),
3258 interface nsIDocShell
: nsISupports
3260 nsresult LoadURI
(nsIURI
*uri
, nsIDocShellLoadInfo
*loadInfo
, PRUint32 aLoadFlags
, bool firstParty
);
3261 nsresult LoadStream
(nsIInputStream
*aStream
, nsIURI
*aURI
, const nsACString
*aContentType
,
3262 const nsACString
*aContentCharset
, nsIDocShellLoadInfo
*aLoadInfo
);
3263 nsresult InternalLoad
(nsIURI
*aURI
, nsIURI
*aReferrer
, nsISupports
*aOwner
, PRUint32 aFlags
, const PRUnichar
*aWindowTarget
,
3264 const char *aTypeHint
, nsIInputStream
*aPostDataStream
, nsIInputStream
*aHeadersStream
, PRUint32 aLoadFlags
,
3265 nsISHEntry
*aSHEntry
, bool firstParty
, nsIDocShell
**aDocShell
, nsIRequest
**aRequest
);
3266 nsresult AddState
(nsIVariant
*aData
, const nsAString
*aTitle
, const nsAString
*aURL
, bool aReplace
, JSContext
*cx
);
3267 nsresult CreateLoadInfo
(nsIDocShellLoadInfo
**loadInfo
);
3268 nsresult PrepareForNewContentModel
();
3269 nsresult SetCurrentURI
(nsIURI
*aURI
);
3270 nsresult FirePageHideNotification
(bool isUnload
);
3271 nsresult GetPresContext
(void /*nsPresContext*/ **aPresContext
);
3272 nsresult GetPresShell
(nsIPresShell
**aPresShell
);
3273 nsresult GetEldestPresShell
(nsIPresShell
**aEldestPresShell
);
3274 nsresult GetContentViewer
(nsIContentViewer
**aContentViewer
);
3275 nsresult GetChromeEventHandler
(nsIDOMEventTarget
**aChromeEventHandler
);
3276 nsresult SetChromeEventHandler
(nsIDOMEventTarget
*aChromeEventHandler
);
3277 nsresult GetAllowPlugins
(bool
*aAllowPlugins
);
3278 nsresult SetAllowPlugins
(bool aAllowPlugins
);
3279 nsresult GetAllowJavascript
(bool
*aAllowJavascript
);
3280 nsresult SetAllowJavascript
(bool aAllowJavascript
);
3281 nsresult GetAllowMetaRedirects
(bool
*aAllowMetaRedirects
);
3282 nsresult SetAllowMetaRedirects
(bool aAllowMetaRedirects
);
3283 nsresult GetAllowSubframes
(bool
*aAllowSubframes
);
3284 nsresult SetAllowSubframes
(bool aAllowSubframes
);
3285 nsresult GetAllowImages
(bool
*aAllowImages
);
3286 nsresult SetAllowImages
(bool aAllowImages
);
3287 nsresult GetAllowDNSPrefetch
(bool
*aAllowDNSPrefetch
);
3288 nsresult SetAllowDNSPrefetch
(bool aAllowDNSPrefetch
);
3289 nsresult GetAllowWindowControl
(bool
*aAllowWindowControl
);
3290 nsresult SetAllowWindowControl
(bool aAllowWindowControl
);
3291 nsresult GetDocShellEnumerator
(PRInt32 aItemType
, PRInt32 aDirection
, nsISimpleEnumerator
**_retval
);
3292 nsresult GetAppType
(PRUint32
*aAppType
);
3293 nsresult SetAppType
(PRUint32 aAppType
);
3294 nsresult GetAllowAuth
(bool
*aAllowAuth
);
3295 nsresult SetAllowAuth
(bool aAllowAuth
);
3296 nsresult GetZoom
(float *aZoom
);
3297 nsresult SetZoom
(float aZoom
);
3298 nsresult GetMarginWidth
(PRInt32
*aMarginWidth
);
3299 nsresult SetMarginWidth
(PRInt32 aMarginWidth
);
3300 nsresult GetMarginHeight
(PRInt32
*aMarginHeight
);
3301 nsresult SetMarginHeight
(PRInt32 aMarginHeight
);
3302 nsresult TabToTreeOwner
(bool forward
, bool
*tookFocus
);
3303 nsresult GetBusyFlags
(PRUint32
*aBusyFlags
);
3304 nsresult GetLoadType
(PRUint32
*aLoadType
);
3305 nsresult SetLoadType
(PRUint32 aLoadType
);
3306 nsresult IsBeingDestroyed
(bool
*_retval
);
3307 nsresult GetIsExecutingOnLoadHandler
(bool
*aIsExecutingOnLoadHandler
);
3308 nsresult GetLayoutHistoryState
(nsILayoutHistoryState
**aLayoutHistoryState
);
3309 nsresult SetLayoutHistoryState
(nsILayoutHistoryState
*aLayoutHistoryState
);
3310 nsresult GetShouldSaveLayoutState
(bool
*aShouldSaveLayoutState
);
3311 nsresult GetSecurityUI
(nsISecureBrowserUI
**aSecurityUI
);
3312 nsresult SetSecurityUI
(nsISecureBrowserUI
*aSecurityUI
);
3313 nsresult SuspendRefreshURIs
();
3314 nsresult ResumeRefreshURIs
();
3315 nsresult BeginRestore
(nsIContentViewer
*viewer
, bool top
);
3316 nsresult FinishRestore
();
3317 nsresult GetRestoringDocument
(bool
*aRestoringDocument
);
3318 nsresult GetUseErrorPages
(bool
*aUseErrorPages
);
3319 nsresult SetUseErrorPages
(bool aUseErrorPages
);
3320 nsresult GetPreviousTransIndex
(PRInt32
*aPreviousTransIndex
);
3321 nsresult GetLoadedTransIndex
(PRInt32
*aLoadedTransIndex
);
3322 nsresult HistoryPurged
(PRInt32 numEntries
);
3323 nsresult GetSessionStorageForURI
(nsIURI
*uri
, const nsAString
*documentURI
, nsIDOMStorage
**_retval
);
3324 nsresult GetSessionStorageForPrincipal
(nsIPrincipal
*principal
, const nsAString
*documentURI
,
3325 bool create
, nsIDOMStorage
**_retval
);
3326 nsresult AddSessionStorage
(nsIPrincipal
*principal
, nsIDOMStorage
*storage
);
3327 nsresult GetCurrentDocumentChannel
(nsIChannel
**aCurrentDocumentChannel
);
3328 nsresult SetChildOffset
(PRUint32 offset
);
3329 nsresult GetIsInUnload
(bool
*aIsInUnload
);
3330 nsresult GetChannelIsUnsafe
(bool
*aChannelIsUnsafe
);
3331 void DetachEditorFromWindow
();
3332 nsresult GetIsOffScreenBrowser
(bool
*aIsOffScreenBrowser
);
3333 nsresult SetIsOffScreenBrowser
(bool aIsOffScreenBrowser
);
3334 nsresult GetPrintPreview
(nsIWebBrowserPrint
**aPrintPreview
);
3335 nsresult GetCanExecuteScripts
(bool
*aCanExecuteScripts
);
3336 nsresult GetIsActive
(bool
*aIsActive
);
3337 nsresult SetIsActive
(bool aIsActive
);
3338 nsresult GetHistoryID
(PRUint64
*aHistoryID
);
3339 nsresult GetIsAppTab
(bool
*aIsAppTab
);
3340 nsresult SetIsAppTab
(bool aIsAppTab
);
3341 nsresult CreateAboutBlankContentViewer
(nsIPrincipal
*aPrincipal
);
3342 nsresult GetCharset
(char **aCharset
);
3343 nsresult SetCharset
(const char * aCharset
);
3344 nsresult GetForcedCharset
(nsIAtom
**aForcedCharset
);
3345 nsresult SetForcedCharset
(nsIAtom
*aForcedCharset
);
3346 nsresult GetParentCharset
(nsIAtom
**aParentCharset
);
3347 nsresult SetParentCharset
(nsIAtom
*aParentCharset
);
3348 nsresult GetParentCharsetSource
(PRInt32
*aParentCharsetSource
);
3349 nsresult SetParentCharsetSource
(PRInt32 aParentCharsetSource
);
3350 nsresult GetIsBrowserFrame
(bool
*aIsBrowserFrame
);
3351 nsresult SetIsBrowserFrame
(bool aIsBrowserFrame
);
3356 uuid(85eea794
-ed8e
-4e1b
-a128
-d09300ae51aa
),
3359 interface nsIMutationObserver
: nsISupports
3361 void CharacterDataWillChange
(nsIDocument
*aDocument
, nsIContent
*aContent
,
3362 void /*CharacterDataChangeInfo*/ *aInfo
);
3363 void CharacterDataChanged
(nsIDocument
*aDocument
, nsIContent
*aContent
,
3364 void /*CharacterDataChangeInfo*/ *aInfo
);
3365 void AttributeWillChange
(nsIDocument
*aDocument
, nsIContent
*aContent
, PRInt32 aNameSpaceID
,
3366 nsIAtom
*aAttribute
, PRInt32 aModType
);
3367 void AttributeChanged
(nsIDocument
*aDocument
, nsIContent
*aContent
, PRInt32 aNameSpaceID
,
3368 nsIAtom
*aAttribute
, PRInt32 aModType
);
3369 void ContentAppended
(nsIDocument
*aDocument
, nsIContent
*aContainer
, nsIContent
*aFirstNewContent
,
3370 PRInt32 aNewIndexInContainer
);
3371 void ContentInserted
(nsIDocument
*aDocument
, nsIContent
*aContainer
, nsIContent
*aChild
,
3372 PRInt32 aIndexInContainer
);
3373 void ContentRemoved
(nsIDocument
*aDocument
, nsIContent
*aContainer
, nsIContent
*aChild
,
3374 PRInt32 aIndexInContainer
, nsIContent
*aPreviousSibling
);
3375 void NodeWillBeDestroyed
(const nsINode
*aNode
);
3376 void ParentChainChanged
(nsIContent
*aContent
);
3381 uuid(2c4ad90a
-740e-4212-ba3f
-feacda4b929e
),
3384 interface nsIParser
: nsISupports
3386 typedef int nsDTDMode
;
3387 typedef int eParserCommands
;
3389 /* From nsParserBase: */
3390 bool IsParserEnabled
();
3391 nsresult GetChannel
(nsIChannel
**aChannel
);
3393 void SetContentSink
(nsIContentSink
*aSink
);
3394 nsIContentSink
*GetContentSink
();
3395 void GetCommand
(nsACString
*aCommand
);
3396 void SetCommand2
(const char *aCommand
);
3397 void SetCommand
(eParserCommands aParserCommand
);
3398 void SetDocumentCharset
(const nsACString
*aCharset
, PRInt32 aSource
);
3399 void GetDocumentCharset
(nsACString
*oCharset
, PRInt32
*oSource
);
3400 nsresult GetDTD
(nsIDTD
**aDTD
);
3401 nsIStreamListener
*GetStreamListener
();
3402 nsresult ContinueInterruptedParsing
();
3404 void UnblockParser
();
3405 void ContinueInterruptedParsingAsync
();
3407 nsresult Parse
(nsIURI
*aURL
, nsIRequestObserver
*aListener
, void *aKey
, nsDTDMode aMode
);
3408 nsresult Terminate
();
3409 nsresult ParseFragment
(const nsAString
*aSourceBuffer
, void /*nsTArray<nsString>*/ *aTagStack
);
3410 nsresult BuildModel
();
3411 nsresult CancelParsingEvents
();
3413 bool IsInsertionPointDefined
();
3414 void BeginEvaluatingParserInsertedScript
();
3415 void EndEvaluatingParserInsertedScript
();
3416 void MarkAsNotScriptCreated
(const char *aCommand
);
3417 bool IsScriptCreated
();
3422 uuid(900bc4bc
-8b6c
-4cba
-82fa
-568a80fffd3e
),
3425 interface nsIDocumentObserver
: nsIMutationObserver
3427 typedef PRUint32 nsUpdateType
;
3433 void BeginUpdate
(nsIDocument
*aDocument
, nsUpdateType aUpdateType
);
3434 void EndUpdate
(nsIDocument
*aDocument
, nsUpdateType aUpdateType
);
3435 void BeginLoad
(nsIDocument
*aDocument
);
3436 void EndLoad
(nsIDocument
*aDocument
);
3437 void ContentStatesChanged
(nsIDocument
*aDocument
, nsIContent
*aContent
, nsEventStates
*aStateMask
);
3438 void DocumentStatesChanged
(nsIDocument
*aDocument
, nsEventStates
*aStateMask
);
3439 void StyleSheetAdded
(nsIDocument
*aDocument
, nsIStyleSheet
*aStyleSheet
, bool aDocumentSheet
);
3440 void StyleSheetRemoved
(nsIDocument
*aDocument
, nsIStyleSheet
*aStyleSheet
, bool aDocumentSheet
);
3441 void StyleSheetApplicableStateChanged
(nsIDocument
*aDocument
, nsIStyleSheet
*aStyleSheet
,
3443 void StyleRuleChanged
(nsIDocument
*aDocument
, nsIStyleSheet
*aStyleSheet
, nsIStyleRule
*aOldStyleRule
,
3444 nsIStyleRule
*aNewStyleRule
);
3445 void StyleRuleAdded
(nsIDocument
*aDocument
, nsIStyleSheet
*aStyleSheet
, nsIStyleRule
*aStyleRule
);
3446 void StyleRuleRemoved
(nsIDocument
*aDocument
, nsIStyleSheet
*aStyleSheet
, nsIStyleRule
*aStyleRule
);
3447 void BindToDocument
(nsIDocument
*aDocument
, nsIContent
*aContent
);
3448 void AttemptToExecuteScript
(nsIContent
*aContent
, nsIParser
*aParser
, bool
*aBlock
);
3453 uuid(c61eac14
-5f7a
-4481-965e-7eaa6effa85f
),
3456 interface nsCycleCollectionISupports
{}
3460 uuid(3682dd99
-8560-44f4
-9b8f
-ccce9d7b96fb
),
3463 interface nsIContentUtils
: nsISupports
3465 bool IsSafeToRunScript
();
3466 nsresult AddDocumentObserver
(nsIDocument
*aDocument
, nsIDocumentObserver
*aObserver
);
3467 nsresult RemoveDocumentObserver
(nsIDocument
*aDocument
, nsIDocumentObserver
*aObserver
);
3468 nsresult AddMutationObserver
(nsINode
*aNode
, nsIMutationObserver
*aObserver
);
3469 nsresult RemoveMutationObserver
(nsINode
*aNode
, nsIMutationObserver
*aObserver
);
3470 nsresult AddScriptRunner
(nsIRunnable
*aRunnable
);
3475 uuid(8f672000
-bab9
-4c60
-aaaf
-2673c4e2a4c6
),
3478 interface nsIPluginInstance
: nsISupports
3480 nsresult GetDOMElement
(nsIDOMElement
**aDOMElement
);