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.6\"")
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 nsIControllers
;
153 typedef nsISupports nsIDOMValidityState
;
154 typedef nsISupports nsIPluginInstanceOwner
;
155 typedef nsISupports nsIPluginStreamListener
;
156 typedef nsISupports nsIContentSink
;
157 typedef nsISupports nsIParserFilter
;
158 typedef nsISupports nsIDTD
;
159 typedef nsISupports nsIObserver
;
160 typedef nsISupports nsIDOMNodeFilter
;
161 typedef nsISupports nsIDOMNodeIterator
;
162 typedef nsISupports nsIDOMTreeWalker
;
163 typedef nsISupports nsIHttpUpgradeListener
;
164 typedef nsISupports nsIDOMDOMStringMap
;
165 typedef nsISupports nsIDOMDOMStringList
;
166 typedef nsISupports nsIDOMOfflineResourceList
;
167 typedef nsISupports nsIDOMHistory
;
168 typedef nsISupports nsIDOMNavigator
;
169 typedef nsISupports nsIDOMMediaQueryList
;
170 typedef nsISupports nsIDOMScreen
;
171 typedef nsISupports nsIDOMCrypto
;
172 typedef nsISupports nsIDOMPkcs11
;
173 typedef nsISupports nsIAnimationFrameListener
;
174 typedef nsISupports nsIDOMMozURLProperty
;
175 typedef nsISupports nsIDOMStorageList
;
176 typedef nsISupports nsILocalFile
;
177 typedef nsISupports nsIDOMHTMLMenuElement
;
178 typedef nsISupports nsIDOMCaretPosition
;
179 typedef nsISupports nsIFrameRequestCallback
;
181 typedef void *JSContext
;
182 typedef void *JSObject
;
183 typedef PRUint64 jsval
;
187 uuid(8bb35ed9
-e332
-462d
-9155-4a002ab5c958
),
190 interface nsIServiceManager
: nsISupports
192 nsresult GetService
(nsCIDRef aClass
, nsIIDRef aIID
, void **result
);
193 nsresult GetServiceByContractID
(const char *aContractID
, nsIIDRef aIID
, void **result
);
194 nsresult IsServiceInstantiated
(nsCIDRef aClass
, nsIIDRef aIID
, BOOL
*_retval
);
195 nsresult IsServiceInstantiatedByContractID
(const char *aContractID
, nsIIDRef aIID
, BOOL
*_retval
);
200 uuid(00000001-0000-0000-c000
-000000000046),
203 interface nsIFactory
: nsISupports
205 nsresult CreateInstance
(nsISupports
*aOuter
, const nsIID
*iid
, void **result
);
206 nsresult LockFactory
(bool lock
);
211 uuid(1d940426
-5fe5
-42c3
-84ae
-a300f2d9ebd5
),
214 interface nsIComponentManager
: nsISupports
216 nsresult GetClassObject
(nsCIDRef aClass
, nsIIDRef aIID
, void **result
);
217 nsresult GetClassObjectByContractID
(const char *aContractID
, nsIIDRef aIID
, void **result
);
218 nsresult CreateInstance
(nsCIDRef aClass
, nsISupports
*aDelegate
, nsIIDRef aIID
,
220 nsresult CreateInstanceByContractID
(const char *aContractID
, nsISupports
*aDelegate
,
221 nsIIDRef aIID
, void **result
);
222 nsresult AddBootstrappedManifestLocation
(nsILocalFile
*aLocation
);
223 nsresult RemoveBootstrappedManifestLocation
(nsILocalFile
*aLocation
);
228 uuid(59e7e77a
-38e4
-11d4
-8cf5
-0060b0fc14a3
),
231 interface nsIMemory
: nsISupports
233 void *Alloc
(/*size_t*/ int size
);
234 void *Realloc
(void *_ptr
, /*size_t*/ int newSize
);
235 void Free
(void *_ptr
);
236 nsresult HeapMinimize
(bool immediate
);
237 nsresult IsLowMemory
(bool
*_retval
);
242 uuid(9188bc85
-f92e
-11d2
-81ef
-0060083a0bcf
),
245 interface nsIWeakReference
: nsISupports
247 nsresult QueryReferent
(const nsIID
*riid
, void **result
);
252 uuid(9188bc86
-f92e
-11d2
-81ef
-0060083a0bcf
),
255 interface nsISupportsWeakReference
: nsISupports
257 nsresult GetWeakReference
(nsIWeakReference
**_retval
);
262 uuid(033a1470
-8b2a
-11d3
-af88
-00a024ffc08c
),
265 interface nsIInterfaceRequestor
: nsISupports
267 nsresult GetInterface
(const nsIID
*riid
, void **result
);
272 uuid(4a2abaf0
-6886-11d3
-9382-00104ba0fd40
),
275 interface nsIRunnable
: nsISupports
282 uuid(d1899240
-f9d2
-11d2
-bdd6
-000064657374),
285 interface nsISimpleEnumerator
: nsISupports
287 nsresult HasMoreElements
(bool
*_retval
);
288 nsresult GetNext
(nsISupports
**_retval
);
293 uuid(81e4c2de
-acac
-4ad6
-901a
-b5fb1b851a0d
),
296 interface nsIVariant
: nsISupports
298 nsresult GetDataType
(PRUint16
*aDataType
);
299 nsresult GetAsInt8
(PRUint8
*_retval
);
300 nsresult GetAsInt16
(PRInt16
*_retval
);
301 nsresult GetAsInt32
(PRInt32
*_retval
);
302 nsresult GetAsInt64
(PRInt64
*_retval
);
303 nsresult GetAsUint8
(PRUint8
*_retval
);
304 nsresult GetAsUint16
(PRUint16
*_retval
);
305 nsresult GetAsUint32
(PRUint32
*_retval
);
306 nsresult GetAsUint64
(PRUint64
*_retval
);
307 nsresult GetAsFloat
(float *_retval
);
308 nsresult GetAsDouble
(double *_retval
);
309 nsresult GetAsBool
(bool
*_retval
);
310 nsresult GetAsChar
(char *_retval
);
311 nsresult GetAsWChar
(PRUnichar
*_retval
);
312 nsresult GetAsID
(nsID
*retval);
313 nsresult GetAsAString
(nsAString
*_retval
);
314 nsresult GetAsDOMString
(nsAString
*_retval
);
315 nsresult GetAsACString
(nsACString
*_retval
);
316 nsresult GetAsAUTF8String
(nsACString
*_retval
);
317 nsresult GetAsString
(char * *_retval
);
318 nsresult GetAsWString
(PRUnichar
* *_retval
);
319 nsresult GetAsISupports
(nsISupports
* *_retval
);
320 nsresult GetAsJSVal
(long /*jsval*/ *_retval
);
321 nsresult GetAsInterface
(nsIID
**iid
, void **iface
);
322 nsresult GetAsArray
(PRUint16
*type
, nsIID
*iid
, PRUint32
*count
, void **ptr);
323 nsresult GetAsStringWithSize
(PRUint32
*size
, char **str
);
324 nsresult GetAsWStringWithSize
(PRUint32
*size
, PRUnichar
**str
);
329 uuid(5586a590
-8c82
-11d5
-90f3
-0010a4e73d9a
),
332 interface nsIWritableVariant
: nsIVariant
334 nsresult GetWritable
(bool
*aWritable
);
335 nsresult SetWritable
(bool aWritable
);
336 nsresult SetAsInt8
(PRUint8 aValue
);
337 nsresult SetAsInt16
(PRInt16 aValue
);
338 nsresult SetAsInt32
(PRInt32 aValue
);
339 nsresult SetAsInt64
(PRInt64 aValue
);
340 nsresult SetAsUint8
(PRUint8 aValue
);
341 nsresult SetAsUint16
(PRUint16 aValue
);
342 nsresult SetAsUint32
(PRUint32 aValue
);
343 nsresult SetAsUint64
(PRUint64 aValue
);
344 nsresult SetAsFloat
(float aValue
);
345 nsresult SetAsDouble
(double aValue
);
346 nsresult SetAsBool
(bool aValue
);
347 nsresult SetAsChar
(char aValue
);
348 nsresult SetAsWChar
(PRUnichar aValue
);
349 nsresult SetAsID
(const nsID
*aValue
);
350 nsresult SetAsAString
(const nsAString
*aValue
);
351 nsresult SetAsDOMString
(const nsAString
*aValue
);
352 nsresult SetAsACString
(const nsACString
*aValue
);
353 nsresult SetAsAUTF8String
(const nsACString
*aValue
);
354 nsresult SetAsString
(const char * aValue
);
355 nsresult SetAsWString
(const PRUnichar
* aValue
);
356 nsresult SetAsISupports
(nsISupports
*aValue
);
357 nsresult SetAsInterface
(const nsIID
*iid
, void *iface
);
358 nsresult SetAsArray
(PRUint16 type
, const nsIID
*iid
, PRUint32 count
, void *ptr);
359 nsresult SetAsStringWithSize
(PRUint32 size
, const char *str
);
360 nsresult SetAsWStringWithSize
(PRUint32 size
, const PRUnichar
*str
);
361 nsresult SetAsVoid
();
362 nsresult SetAsEmpty
();
363 nsresult SetAsEmptyArray
();
364 nsresult SetFromVariant
(nsIVariant
*aValue
);
369 uuid(fa9c7f6c
-61b3
-11d4
-9877-00c04fa0cf4a
),
372 interface nsIInputStream
: nsISupports
375 nsresult Available
(PRUint32
*_retval
);
376 nsresult Read
(char *aBuf
, PRUint32 aCount
, PRUint32
*_retval
);
377 nsresult ReadSegments
(nsresult
(*aWriter
)(nsIInputStream
*aInStream
,
378 void *aClosure
, const char *aFromSegment
, PRUint32 aToOffset
,
379 PRUint32 aCount
, PRUint32
*aWriteCount
),
380 void *aClosure
, PRUint32 aCount
, PRUint32
*_retval
);
381 nsresult IsNonBlocking
(bool
*_retval
);
386 uuid(395fe045
-7d18
-4adb
-a3fd
-af98c8a1af11
),
389 interface nsIURI
: nsISupports
391 nsresult GetSpec
(nsACString
*aSpec
);
392 nsresult SetSpec
(const nsACString
*aSpec
);
393 nsresult GetPrePath
(nsACString
*aPrePath
);
394 nsresult GetScheme
(nsACString
*aScheme
);
395 nsresult SetScheme
(const nsACString
*aScheme
);
396 nsresult GetUserPass
(nsACString
*aUserPass
);
397 nsresult SetUserPass
(const nsACString
*aUserPass
);
398 nsresult GetUsername
(nsACString
*aUsername
);
399 nsresult SetUsername
(const nsACString
*aUsername
);
400 nsresult GetPassword
(nsACString
*aPassword
);
401 nsresult SetPassword
(const nsACString
*aPassword
);
402 nsresult GetHostPort
(nsACString
*aHostPort
);
403 nsresult SetHostPort
(const nsACString
*aHostPort
);
404 nsresult GetHost
(nsACString
*aHost
);
405 nsresult SetHost
(const nsACString
*aHost
);
406 nsresult GetPort
(PRInt32
*aPort
);
407 nsresult SetPort
(PRInt32 aPort
);
408 nsresult GetPath
(nsACString
*aPath
);
409 nsresult SetPath
(const nsACString
*aPath
);
410 nsresult Equals
(nsIURI
*other
, bool
*_retval
);
411 nsresult SchemeIs
(const char *scheme
, bool
*_retval
);
412 nsresult Clone
(nsIURI
**_retval
);
413 nsresult Resolve
(const nsACString
*relativePath
, nsACString
*_retval
);
414 nsresult GetAsciiSpec
(nsACString
*aAsciiSpec
);
415 nsresult GetAsciiHost
(nsACString
*aAsciiHost
);
416 nsresult GetOriginCharset
(nsACString
*aOriginCharset
);
417 nsresult GetRef
(nsACString
*aRef
);
418 nsresult SetRef
(const nsACString
*aRef
);
419 nsresult EqualsExceptRef
(nsIURI
*other
, bool
*_retval
);
420 nsresult CloneIgnoringRef
(nsIURI
**_retval
);
421 nsresult GetSpecIgnoringRef
(nsACString
*aSpecIgnoringRef
);
422 nsresult GetHasRef
(bool
*aHasRef
);
427 uuid(1419aa16
-f134
-4154-9886-00c7c5147a13
),
430 interface nsIURL
: nsIURI
432 nsresult GetFilePath
(nsACString
*aFilePath
);
433 nsresult SetFilePath
(const nsACString
*aFilePath
);
434 nsresult GetQuery
(nsACString
*aQuery
);
435 nsresult SetQuery
(const nsACString
*aQuery
);
436 nsresult GetDirectory
(nsACString
*aDirectory
);
437 nsresult SetDirectory
(const nsACString
*aDirectory
);
438 nsresult GetFileName
(nsACString
*aFileName
);
439 nsresult SetFileName
(const nsACString
*aFileName
);
440 nsresult GetFileBaseName
(nsACString
*aFileBaseName
);
441 nsresult SetFileBaseName
(const nsACString
*aFileBaseName
);
442 nsresult GetFileExtension
(nsACString
*aFileExtension
);
443 nsresult SetFileExtension
(const nsACString
*aFileExtension
);
444 nsresult GetCommonBaseSpec
(nsIURI
*aURIToCompare
, nsACString
*_retval
);
445 nsresult GetRelativeSpec
(nsIURI
*aURIToCompare
, nsACString
*_retval
);
450 uuid(321578d0
-03c1
-4d95
-8821-021ac612d18d
),
453 interface nsIMutable
: nsISupports
455 nsresult GetMutable
(bool
*aMutable
);
456 nsresult SetMutable
(bool aMutable
);
461 uuid(babd6cca
-ebe7
-4329-967c
-d6b9e33caa81
),
464 interface nsIStandardURL
: nsIMutable
466 nsresult Init
(PRUint32 aUrlType
, PRInt32 aDefaultPort
, const nsACString
*aSpec
, const char *aOriginCharset
, nsIURI
*aBaseURI
);
471 uuid(ef6bfbd2
-fd46
-48d8
-96b7
-9f8f0fd387fe
),
474 interface nsIRequest
: nsISupports
476 nsresult GetName
(nsACString
*aName
);
477 nsresult IsPending
(bool
*_retval
);
478 nsresult GetStatus
(nsresult
*aStatus
);
479 nsresult Cancel
(nsresult aStatus
);
482 nsresult GetLoadGroup
(nsILoadGroup
**aLoadGroup
);
483 nsresult SetLoadGroup
(nsILoadGroup
*aLoadGroup
);
484 nsresult GetLoadFlags
(nsLoadFlags
*aLoadFlags
);
485 nsresult SetLoadFlags
(nsLoadFlags aLoadFlags
);
490 uuid(fd91e2e0
-1481-11d3
-9333-00104ba0fd40
),
493 interface nsIRequestObserver
: nsISupports
495 nsresult OnStartRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
);
496 nsresult OnStopRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
, nsresult aStatusCode
);
501 uuid(1a637020
-1482-11d3
-9333-00104ba0fd40
),
504 interface nsIStreamListener
: nsIRequestObserver
506 nsresult OnDataAvailable
(nsIRequest
*aRequest
, nsISupports
*aContext
,
507 nsIInputStream
*aInputStream
, PRUint32 aOffset
, PRUint32 aCount
);
512 uuid(3de0a31c
-feaf
-400f
-9f1e
-4ef71f8b20cc
),
515 interface nsILoadGroup
: nsIRequest
517 nsresult GetGroupObserver
(nsIRequestObserver
**aGroupObserver
);
518 nsresult SetGroupObserver
(nsIRequestObserver
*aGroupObserver
);
519 nsresult GetDefaultLoadRequest
(nsIRequest
**aDefaultLoadRequest
);
520 nsresult SetDefaultLoadRequest
(nsIRequest
*aDefaultLoadRequest
);
521 nsresult AddRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
);
522 nsresult RemoveRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
, nsresult aStatus
);
523 nsresult GetRequests
(nsISimpleEnumerator
**aRequests
);
524 nsresult GetActiveCount
(PRUint32
*aActiveCount
);
525 nsresult GetNotificationCallbacks
(nsIInterfaceRequestor
**aNotificationCallbacks
);
526 nsresult SetNotificationCallbacks
(nsIInterfaceRequestor
*aNotificationCallbacks
);
531 uuid(06f6ada3
-7729-4e72
-8d3f
-bf8ba630ff9b
),
534 interface nsIChannel
: nsIRequest
536 nsresult GetOriginalURI
(nsIURI
**aOriginalURI
);
537 nsresult SetOriginalURI
(nsIURI
*aOriginalURI
);
538 nsresult GetURI
(nsIURI
**aURI
);
539 nsresult GetOwner
(nsISupports
**aOwner
);
540 nsresult SetOwner
(nsISupports
*aOwner
);
541 nsresult GetNotificationCallbacks
(nsIInterfaceRequestor
**aNotificationCallbacks
);
542 nsresult SetNotificationCallbacks
(nsIInterfaceRequestor
*aNotificationCallbacks
);
543 nsresult GetSecurityInfo
(nsISupports
**aSecurityInfo
);
544 nsresult GetContentType
(nsACString
*aContentType
);
545 nsresult SetContentType
(const nsACString
*aContentType
);
546 nsresult GetContentCharset
(nsACString
*aContentCharset
);
547 nsresult SetContentCharset
(const nsACString
*aContentCharset
);
548 nsresult GetContentLength
(PRInt32
*aContentLength
);
549 nsresult SetContentLength
(PRInt32 aContentLength
);
550 nsresult Open
(nsIInputStream
**_retval
);
551 nsresult AsyncOpen
(nsIStreamListener
*aListener
, nsISupports
*aContext
);
552 nsresult GetContentDisposition
(PRUint32
*aContentDisposition
);
553 nsresult GetContentDispositionFilename
(nsAString
*aContentDispositionFilename
);
554 nsresult GetContentDispositionHeader
(nsACString
*aContentDispositionHeader
);
559 uuid(35412859-b9d9
-423c
-8866-2d4559fdd2be
),
562 interface nsIHttpHeaderVisitor
: nsISupports
564 nsresult VisitHeader
(const nsACString
*aHeader
, const nsACString
*aValue
);
569 uuid(9277fe09
-f0cc
-4cd9
-bbce
-581dd94b0260
),
572 interface nsIHttpChannel
: nsIChannel
574 nsresult GetRequestMethod
(nsACString
*aRequestMethod
);
575 nsresult SetRequestMethod
(const nsACString
*aRequestMethod
);
576 nsresult GetReferrer
(nsIURI
**aReferrer
);
577 nsresult SetReferrer
(nsIURI
*aReferrer
);
578 nsresult GetRequestHeader
(const nsACString
*aHeader
, nsACString
*_retval
);
579 nsresult SetRequestHeader
(const nsACString
*aHeader
, const nsACString
*aValue
, bool aMerge
);
580 nsresult VisitRequestHeaders
(nsIHttpHeaderVisitor
*aVisitor
);
581 nsresult GetAllowPipelining
(bool
*aAllowPipelining
);
582 nsresult SetAllowPipelining
(bool aAllowPipelining
);
583 nsresult GetRedirectionLimit
(PRUint32
*aRedirectionLimit
);
584 nsresult SetRedirectionLimit
(PRUint32 aRedirectionLimit
);
585 nsresult GetResponseStatus
(PRUint32
*aResponseStatus
);
586 nsresult GetResponseStatusText
(nsACString
*aResponseStatusText
);
587 nsresult GetRequestSucceeded
(bool
*aRequestSucceeded
);
588 nsresult GetResponseHeader
(const nsACString
*header
, nsACString
*_retval
);
589 nsresult SetResponseHeader
(const nsACString
*header
, const nsACString
*value
, bool merge
);
590 nsresult VisitResponseHeaders
(nsIHttpHeaderVisitor
*aVisitor
);
591 nsresult IsNoStoreResponse
(bool
*_retval
);
592 nsresult IsNoCacheResponse
(bool
*_retval
);
597 uuid(9363fd96
-af59
-47e8
-bddf
-1d5e91acd336
),
600 interface nsIHttpChannelInternal
: nsISupports
602 nsresult GetDocumentURI
(nsIURI
**aDocumentURI
);
603 nsresult SetDocumentURI
(nsIURI
*aDocumentURI
);
604 nsresult GetRequestVersion
(PRUint32
*major
, PRUint32
*minor
);
605 nsresult GetResponseVersion
(PRUint32
*major
, PRUint32
*minor
);
606 nsresult SetCookie
(const char *aCookieHeader
);
607 nsresult SetupFallbackChannel
(const char *aFallbackKey
);
608 nsresult GetForceAllowThirdPartyCookie
(bool
*aForceAllowThirdPartyCookie
);
609 nsresult SetForceAllowThirdPartyCookie
(bool aForceAllowThirdPartyCookie
);
610 nsresult GetCanceled
(bool
*aCanceled
);
611 nsresult GetChannelIsForDownload
(bool
*aChannelIsForDownload
);
612 nsresult SetChannelIsForDownload
(bool aChannelIsForDownload
);
613 nsresult GetLocalAddress
(nsACString
*aLocalAddress
);
614 nsresult GetLocalPort
(PRInt32
*aLocalPort
);
615 nsresult GetRemoteAddress
(nsACString
*aRemoteAddress
);
616 nsresult GetRemotePort
(PRInt32
*aRemotePort
);
617 nsresult SetCacheKeysRedirectChain
(void /*nsTArray<nsCString>*/ *cacheKeys
);
618 nsresult HTTPUpgrade
(const nsACString
*aProtocolName
, nsIHttpUpgradeListener
*aListener
);
619 nsresult GetAllowSpdy
(bool
*aAllowSpdy
);
620 nsresult SetAllowSpdy
(bool aAllowSpdy
);
625 uuid(ddf633d8
-e9a4
-439d
-ad88
-de636fd9bb75
),
628 interface nsIUploadChannel
: nsISupports
630 nsresult SetUploadStream
(nsIInputStream
*aStream
, const nsACString
*aContentType
,
631 PRInt32 aContentLength
);
632 nsresult GetUploadStream
(nsIInputStream
**aUploadStream
);
637 uuid(8d171460
-a716
-41f1
-92be
-8c659db39b45
),
640 interface nsIAsyncVerifyRedirectCallback
: nsISupports
642 nsresult OnRedirectVerifyCallback
(nsresult result
);
647 uuid(a430d870
-df77
-4502-9570-d46a8de33154
),
650 interface nsIChannelEventSink
: nsISupports
652 cpp_quote
("#define REDIRECT_TEMPORARY 1")
653 cpp_quote
("#define REDIRECT_PERMANENT 2")
654 cpp_quote
("#define REDIRECT_INTERNAL 4")
656 nsresult AsyncOnChannelRedirect
(nsIChannel
*oldChannel
, nsIChannel
*newChannel
, PRUint32 flags
,
657 nsIAsyncVerifyRedirectCallback
*callback);
662 uuid(a6cf906d
-15b3
-11d2
-932e-00805f8add32
),
665 interface nsIDOMLocation
: nsISupports
667 nsresult GetHash
(nsAString
*aHash
);
668 nsresult SetHash
(const nsAString
*aHash
);
669 nsresult GetHost
(nsAString
*aHost
);
670 nsresult SetHost
(const nsAString
*aHost
);
671 nsresult GetHostname
(nsAString
*aHostname
);
672 nsresult SetHostname
(const nsAString
*aHostname
);
673 nsresult GetHref
(nsAString
*aHref
);
674 nsresult SetHref
(const nsAString
*aHref
);
675 nsresult GetPathname
(nsAString
*aPathname
);
676 nsresult SetPathname
(const nsAString
*aPathname
);
677 nsresult GetPort
(nsAString
*aPort
);
678 nsresult SetPort
(const nsAString
*aPort
);
679 nsresult GetProtocol
(nsAString
*aProtocol
);
680 nsresult SetProtocol
(const nsAString
*aProtocol
);
681 nsresult GetSearch
(nsAString
*aSearch
);
682 nsresult SetSearch
(const nsAString
*aSearch
);
683 nsresult Reload
(bool forceget
);
684 nsresult Replace
(const nsAString
*url
);
685 nsresult Assign
(const nsAString
*url
);
686 nsresult ToString
(nsAString
*_retval
);
691 uuid(2938307a
-9d70
-4b63
-8afc
-0197e82318ad
),
694 interface nsIDOMCSSRule
: nsISupports
696 nsresult GetType
(PRUint16
*aType
);
697 nsresult GetCssText
(nsAString
*aCssText
);
698 nsresult SetCssText
(const nsAString
*aCssText
);
699 nsresult GetParentStyleSheet
(nsIDOMCSSStyleSheet
**aParentStyleSheet
);
700 nsresult GetParentRule
(nsIDOMCSSRule
**aParentRule
);
705 uuid(a6cf90be
-15b3
-11d2
-932e-00805f8add32
),
708 interface nsIDOMCSSStyleDeclaration
: nsISupports
710 nsresult GetCssText
(nsAString
*aCssText
);
711 nsresult SetCssText
(const nsAString
*aCssText
);
712 nsresult GetPropertyValue
(const nsAString
*propertyName
, nsAString
*_retval
);
713 nsresult GetPropertyCSSValue
(const nsAString
*propertyName
, nsIDOMCSSValue
**_retval
);
714 nsresult RemoveProperty
(const nsAString
*propertyName
, nsAString
*_retval
);
715 nsresult GetPropertyPriority
(const nsAString
*propertyName
, nsAString
*_retval
);
716 nsresult SetProperty
(const nsAString
*propertyName
, const nsAString
*value
,
717 const nsAString
*priority
);
718 nsresult GetLength
(PRUint32
*aLength
);
719 nsresult Item
(PRUint32 index
, nsAString
*_retval
);
720 nsresult GetParentRule
(nsIDOMCSSRule
**aParentRule
);
725 uuid(a6cf90c0
-15b3
-11d2
-932e-00805f8add32
),
728 interface nsIDOMCSSRuleList
: nsISupports
730 nsresult GetLength
(PRUint32
*aLength
);
731 nsresult Item
(PRUint32 index
, nsIDOMCSSRule
**_retval
);
736 uuid(a6cf9080
-15b3
-11d2
-932e-00805f8add32
),
739 interface nsIDOMStyleSheet
: nsISupports
741 nsresult GetType
(nsAString
*aType
);
742 nsresult GetDisabled
(bool
*aDisabled
);
743 nsresult SetDisabled
(bool aDisabled
);
744 nsresult GetOwnerNode
(nsIDOMNode
**aOwnerNode
);
745 nsresult GetParentStyleSheet
(nsIDOMStyleSheet
**aParentStyleSheet
);
746 nsresult GetHref
(nsAString
*aHref
);
747 nsresult GetTitle
(nsAString
*aTitle
);
748 nsresult GetMedia
(nsIDOMMediaList
**aMedia
);
753 uuid(a6cf90c2
-15b3
-11d2
-932e-00805f8add32
),
756 interface nsIDOMCSSStyleSheet
: nsIDOMStyleSheet
758 nsresult GetOwnerRule
(nsIDOMCSSRule
**aOwnerRule
);
759 nsresult GetCssRules
(nsIDOMCSSRuleList
**aCssRules
);
760 nsresult InsertRule
(const nsAString
*rule
, PRUint32 index
, PRUint32
*_retval
);
761 nsresult DeleteRule
(PRUint32 index
);
766 uuid(a6cf9081
-15b3
-11d2
-932e-00805f8add32
),
769 interface nsIDOMStyleSheetList
: nsISupports
771 nsresult GetLength
(PRUint32
*aLength
);
772 nsresult Item
(PRUint32 index
, nsIDOMStyleSheet
**_retval
);
777 uuid(496852ba
-e48d
-4fa5
-982e
-e0dc1b475bf1
),
780 interface nsIDOMNodeList
: nsISupports
782 nsresult Item
(PRUint32 index
, nsIDOMNode
**_retval
);
783 nsresult GetLength
(PRUint32
*aLength
);
784 /* Followed by semi-internal API that we don't want to use */
789 uuid(a6cf907b
-15b3
-11d2
-932e-00805f8add32
),
792 interface nsIDOMNamedNodeMap
: nsISupports
794 nsresult GetNamedItem
(const nsAString
*name
, nsIDOMNode
**_retval
);
795 nsresult SetNamedItem
(nsIDOMNode
*arg
, nsIDOMNode
**_retval
);
796 nsresult RemoveNamedItem
(const nsAString
*name
, nsIDOMNode
**_retval
);
797 nsresult Item
(PRUint32 index
, nsIDOMNode
**_retval
);
798 nsresult GetLength
(PRUint32
*aLength
);
799 nsresult GetNamedItemNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsIDOMNode
**_retval
);
800 nsresult SetNamedItemNS
(nsIDOMNode
*arg
, nsIDOMNode
**_retval
);
801 nsresult RemoveNamedItemNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsIDOMNode
**_retval
);
806 uuid(5e9bcec9
-5928-4f77
-8a9c
-424ef01c20e1
),
809 interface nsIDOMNode
: nsISupports
815 CDATA_SELECTION_NODE
= 4,
816 ENTITY_REFERENCE_NODE
= 5,
818 PROCESSING_INSTRUCTION_NODE
= 7,
821 DOCUMENT_TYPE_NODE
= 10,
822 DOCUMENT_FRAGMENT_NODE
= 11,
827 DOCUMENT_POSITION_DISCONNECTED
= 1,
828 DOCUMENT_POSITION_PRECEDING
= 2,
829 DOCUMENT_POSITION_FOLLOWING
= 4,
830 DOCUMENT_POSITION_CONTAINS
= 8,
831 DOCUMENT_POSITION_CONTAINED_BY
= 16,
832 DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
= 32
835 nsresult GetNodeName
(nsAString
*aNodeName
);
836 nsresult GetNodeValue
(nsAString
*aNodeValue
);
837 nsresult SetNodeValue
(const nsAString
*aNodeValue
);
838 nsresult GetNodeType
(PRUint16
*aNodeType
);
839 nsresult GetParentNode
(nsIDOMNode
**aParentNode
);
840 nsresult GetParentElement
(nsIDOMElement
**aParentElement
);
841 nsresult GetChildNodes
(nsIDOMNodeList
**aChildNodes
);
842 nsresult GetFirstChild
(nsIDOMNode
**aFirstChild
);
843 nsresult GetLastChild
(nsIDOMNode
**aLastChild
);
844 nsresult GetPreviousSibling
(nsIDOMNode
**aPreviousSibling
);
845 nsresult GetNextSibling
(nsIDOMNode
**aNextSibling
);
846 nsresult GetAttributes
(nsIDOMNamedNodeMap
**aAttributes
);
847 nsresult GetOwnerDocument
(nsIDOMDocument
**aOwnerDocument
);
848 nsresult InsertBefore
(nsIDOMNode
*newChild
, nsIDOMNode
*refChild
, nsIDOMNode
**_retval
);
849 nsresult ReplaceChild
(nsIDOMNode
*newChild
, nsIDOMNode
*oldChild
, nsIDOMNode
**_retval
);
850 nsresult RemoveChild
(nsIDOMNode
*oldChild
, nsIDOMNode
**_retval
);
851 nsresult AppendChild
(nsIDOMNode
*newChild
, nsIDOMNode
**_retval
);
852 nsresult HasChildNodes
(bool
*_retval
);
853 nsresult CloneNode
(bool deep
, PRUint8 _argc
, nsIDOMNode
**_retval
);
854 nsresult Normalize
();
855 nsresult IsSupported
(const nsAString
*feature
, const nsAString
*version, bool
*_retval
);
856 nsresult GetNamespaceURI
(nsAString
*aNamespaceURI
);
857 nsresult GetPrefix
(nsAString
*aPrefix
);
858 nsresult GetLocalName
(nsAString
*aLocalName
);
859 nsresult HasAttributes
(bool
*_retval
);
860 nsresult GetDOMBaseURI
(nsAString
*aBaseURI
);
861 nsresult CompareDocumentPosition
(nsIDOMNode
*other
, PRUint16
*_retval
);
862 nsresult GetTextContent
(nsAString
*aTextContent
);
863 nsresult SetTextContent
(const nsAString
*aTextContent
);
864 nsresult LookupPrefix
(const nsAString
*namespaceURI
, nsAString
*_retval
);
865 nsresult IsDefaultNamespace
(const nsAString
*namespaceURI
, bool
*_retval
);
866 nsresult LookupNamespaceURI
(const nsAString
*prefix
, nsAString
*_retval
);
867 nsresult IsEqualNode
(nsIDOMNode
*arg
, bool
*_retval
);
868 nsresult SetUserData
(const nsAString
*key
, nsIVariant
*data
, nsIDOMUserDataHandler
*handler
, nsIVariant
**_retval
);
869 nsresult GetUserData
(const nsAString
*key
, nsIVariant
**_retval
);
870 nsresult Contains
(nsIDOMNode
*aOther
, bool
*_retval
);
875 uuid(03da4bc9
-1b9a
-41dc
-a1a4
-32414d48d704
),
878 interface nsIDOMAttr
: nsIDOMNode
880 nsresult GetName
(nsAString
*aName
);
881 nsresult GetSpecified
(bool
*aSpecified
);
882 nsresult GetValue
(nsAString
*aValue
);
883 nsresult SetValue
(const nsAString
*aValue
);
884 nsresult GetOwnerElement
(nsIDOMElement
**aOwnerElement
);
885 nsresult GetIsId
(bool
*aIsId
);
890 uuid(b2f824c4
-d9d3
-499b
-8d3b
-45c8245497c6
),
893 interface nsIDOMClientRect
: nsISupports
895 nsresult GetLeft
(float *aLeft
);
896 nsresult GetTop
(float *aTop
);
897 nsresult GetRight
(float *aRight
);
898 nsresult GetBottom
(float *aBottom
);
899 nsresult GetWidth
(float *aWidth
);
900 nsresult GetHeight
(float *aHeight
);
905 uuid(f561753a
-1d4f
-40c1
-b147
-ea955fc6fd94
),
908 interface nsIDOMElement
: nsIDOMNode
910 nsresult GetTagName
(nsAString
*aTagName
);
911 nsresult GetClassList
(nsIDOMDOMTokenList
**aClassList
);
912 nsresult GetAttribute
(const nsAString
*name
, nsAString
*_retval
);
913 nsresult GetAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsAString
*_retval
);
914 nsresult SetAttribute
(const nsAString
*name
, const nsAString
*value
);
915 nsresult SetAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*qualifiedName
, const nsAString
*value
);
916 nsresult RemoveAttribute
(const nsAString
*name
);
917 nsresult RemoveAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
);
918 nsresult HasAttribute
(const nsAString
*name
, bool
*_retval
);
919 nsresult HasAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, bool
*_retval
);
920 nsresult GetAttributeNode
(const nsAString
*name
, nsIDOMAttr
**_retval
);
921 nsresult SetAttributeNode
(nsIDOMAttr
*newAttr
, nsIDOMAttr
**_retval
);
922 nsresult RemoveAttributeNode
(nsIDOMAttr
*oldAttr
, nsIDOMAttr
**_retval
);
923 nsresult GetAttributeNodeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsIDOMAttr
**_retval
);
924 nsresult SetAttributeNodeNS
(nsIDOMAttr
*newAttr
, nsIDOMAttr
**_retval
);
925 nsresult GetElementsByTagName
(const nsAString
*name
, nsIDOMNodeList
**_retval
);
926 nsresult GetElementsByTagNameNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsIDOMNodeList
**_retval
);
927 nsresult GetElementsByClassName
(const nsAString
*classes
, nsIDOMNodeList
**_retval
);
928 nsresult GetChildElements
(nsIDOMNodeList
**aChildren
);
929 nsresult GetFirstElementChild
(nsIDOMElement
**aFirstElementChild
);
930 nsresult GetLastElementChild
(nsIDOMElement
**aLastElementChild
);
931 nsresult GetPreviousElementSibling
(nsIDOMElement
**aPreviousElementSibling
);
932 nsresult GetNextElementSibling
(nsIDOMElement
**aNextElementSibling
);
933 nsresult GetChildElementCount
(PRUint32
*aChildElementCount
);
934 nsresult GetOnmouseenter
(JSContext
*cx
, jsval
*aOnmouseenter
);
935 nsresult SetOnmouseenter
(JSContext
*cx
, const jsval
*aOnmouseenter
);
936 nsresult GetOnmouseleave
(JSContext
*cx
, jsval
*aOnmouseleave
);
937 nsresult SetOnmouseleave
(JSContext
*cx
, const jsval
*aOnmouseleave
);
938 nsresult GetClientRects
(nsIDOMClientRectList
**_retval
);
939 nsresult GetBoundingClientRect
(nsIDOMClientRect
**_retval
);
940 nsresult GetScrollTop
(PRInt32
*aScrollTop
);
941 nsresult SetScrollTop
(PRInt32 aScrollTop
);
942 nsresult GetScrollLeft
(PRInt32
*aScrollLeft
);
943 nsresult SetScrollLeft
(PRInt32 aScrollLeft
);
944 nsresult GetScrollWidth
(PRInt32
*aScrollWidth
);
945 nsresult GetScrollHeight
(PRInt32
*aScrollHeight
);
946 nsresult GetClientTop
(PRInt32
*aClientTop
);
947 nsresult GetClientLeft
(PRInt32
*aClientLeft
);
948 nsresult GetClientWidth
(PRInt32
*aClientWidth
);
949 nsresult GetClientHeight
(PRInt32
*aClientHeight
);
950 nsresult MozMatchesSelector
(const nsAString
*selector
, bool
*_retval
);
951 nsresult SetCapture
(bool retargetToElement
);
952 nsresult ReleaseCapture
();
957 uuid(99715845-95fc
-4a56
-aa53
-214b65c26e22
),
960 interface nsIDOMElementCSSInlineStyle
: nsISupports
962 nsresult GetStyle
(nsIDOMCSSStyleDeclaration
**aStyle
);
965 cpp_quote
("#undef GetClassName")
969 uuid(3de9f8c1
-5d76
-4d2e
-b6b9
-334c6eb0c113
),
972 interface nsIDOMHTMLElement
: nsIDOMElement
974 nsresult GetId
(nsAString
*aId
);
975 nsresult SetId
(const nsAString
*aId
);
976 nsresult GetTitle
(nsAString
*aTitle
);
977 nsresult SetTitle
(const nsAString
*aTitle
);
978 nsresult GetLang
(nsAString
*aLang
);
979 nsresult SetLang
(const nsAString
*aLang
);
980 nsresult GetDir
(nsAString
*aDir
);
981 nsresult SetDir
(const nsAString
*aDir
);
982 nsresult GetClassName
(nsAString
*aClassName
);
983 nsresult SetClassName
(const nsAString
*aClassName
);
984 nsresult GetDataset
(nsIDOMDOMStringMap
**aDataset
);
985 nsresult GetHidden
(bool
*aHidden
);
986 nsresult SetHidden
(bool aHidden
);
988 nsresult GetTabIndex
(PRInt32
*aTabIndex
);
989 nsresult SetTabIndex
(PRInt32 aTabIndex
);
992 nsresult GetAccessKey
(nsAString
*aAccessKey
);
993 nsresult SetAccessKey
(const nsAString
*aAccessKey
);
994 nsresult GetAccessKeyLabel
(nsAString
*aAccessKeyLabel
);
995 nsresult GetDraggable
(bool
*aDraggable
);
996 nsresult SetDraggable
(bool aDraggable
);
997 nsresult GetContentEditable
(nsAString
*aContentEditable
);
998 nsresult SetContentEditable
(const nsAString
*aContentEditable
);
999 nsresult GetIsContentEditable
(bool
*aIsContentEditable
);
1000 nsresult GetContextMenu
(nsIDOMHTMLMenuElement
**aContextMenu
);
1001 nsresult GetSpellcheck
(bool
*aSpellcheck
);
1002 nsresult SetSpellcheck
(bool aSpellcheck
);
1003 nsresult GetInnerHTML
(nsAString
*aInnerHTML
);
1004 nsresult SetInnerHTML
(const nsAString
*aInnerHTML
);
1005 nsresult GetOuterHTML
(nsAString
*aInnerHTML
);
1006 nsresult SetOuterHTML
(const nsAString
*aInnerHTML
);
1007 nsresult InsertAdjacentHTML
(const nsAString
*position
, const nsAString
*text
);
1008 nsresult ScrollIntoView
(bool top
, PRUint8 _argc
);
1009 nsresult GetOffsetParent
(nsIDOMElement
* *aOffsetParent
);
1010 nsresult GetOffsetTop
(PRInt32
*aOffsetTop
);
1011 nsresult GetOffsetLeft
(PRInt32
*aOffsetLeft
);
1012 nsresult GetOffsetWidth
(PRInt32
*aOffsetWidth
);
1013 nsresult GetOffsetHeight
(PRInt32
*aOffsetHeight
);
1014 nsresult MozRequestFullScreen
();
1019 uuid(b7ccd7b3
-86aa
-4322-a50c
-b972643bb662
),
1022 interface nsIDOMHTMLCollection
: nsISupports
1024 nsresult GetLength
(PRUint32
*aLength
);
1025 nsresult Item
(PRUint32 index
, nsIDOMNode
**_retval
);
1026 nsresult NamedItem
(const nsAString
*name
, nsIDOMNode
**_retval
);
1027 /* Followed by semi-internal API that we don't want to use */
1032 uuid(cb75c251
-afc7
-444f
-b2d6
-b9635555f3ed
),
1035 interface nsIDOMCharacterData
: nsIDOMNode
1037 nsresult GetData
(nsAString
*aData
);
1038 nsresult SetData
(const nsAString
*aData
);
1039 nsresult GetLength
(PRUint32
*aLength
);
1040 nsresult SubstringData
(PRUint32 offset
, PRUint32 count
, nsAString
*_retval
);
1041 nsresult AppendData
(const nsAString
*arg
);
1042 nsresult InsertData
(PRUint32 offset
, const nsAString
*arg
);
1043 nsresult DeleteData
(PRUint32 offset
, PRUint32 count
);
1044 nsresult ReplaceData
(PRUint32 offset
, PRUint32 count
, const nsAString
*arg
);
1049 uuid(437ed60c
-febd
-4bd0
-892f
-cf358adc3c96
),
1052 interface nsIDOMText
: nsIDOMCharacterData
1054 nsresult SplitText
(PRUint32 offset
, nsIDOMText
**_retval
);
1055 nsresult GetWholeText
(nsAString
*aWholeText
);
1060 uuid(cea49a35
-dac9
-4c4d
-9830-4660abb3b6bc
),
1063 interface nsIDOMComment
: nsIDOMCharacterData
1069 uuid(4a15eb0c
-d5bc
-4902-9d50
-21b12cab47e7
),
1072 interface nsIDOMDocumentFragment
: nsIDOMNode
1078 uuid(d7cdd08e
-1bfd
-4bc3
-9742-d66586781ee2
),
1081 interface nsIDOMDocument
: nsIDOMNode
1083 nsresult GetDoctype
(nsIDOMDocumentType
**aDoctype
);
1084 nsresult GetImplementation
(nsIDOMDOMImplementation
**aImplementation
);
1085 nsresult GetDocumentElement
(nsIDOMElement
**aDocumentElement
);
1086 nsresult CreateElement
(const nsAString
*tagName
, nsIDOMElement
**_retval
);
1087 nsresult CreateDocumentFragment
(nsIDOMDocumentFragment
**_retval
);
1088 nsresult CreateTextNode
(const nsAString
*data
, nsIDOMText
**_retval
);
1089 nsresult CreateComment
(const nsAString
*data
, nsIDOMComment
**_retval
);
1090 nsresult CreateCDATASection
(const nsAString
*data
, nsIDOMCDATASection
**_retval
);
1091 nsresult CreateProcessingInstruction
(const nsAString
*target
, const nsAString
*data
, nsIDOMProcessingInstruction
**_retval
);
1092 nsresult CreateAttribute
(const nsAString
*name
, nsIDOMAttr
**_retval
);
1093 nsresult GetElementsByTagName
(const nsAString
*tagname
, nsIDOMNodeList
**_retval
);
1094 nsresult ImportNode
(nsIDOMNode
*importedNode
, bool deep
, PRUint8 _argc
, nsIDOMNode
**_retval
);
1095 nsresult CreateElementNS
(const nsAString
*namespaceURI
, const nsAString
*qualifiedName
, nsIDOMElement
**_retval
);
1096 nsresult CreateAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*qualifiedName
, nsIDOMAttr
**_retval
);
1097 nsresult GetElementsByTagNameNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsIDOMNodeList
**_retval
);
1098 nsresult GetElementById
(const nsAString
*elementId
, nsIDOMElement
**_retval
);
1099 nsresult GetInputEncoding
(nsAString
*aInputEncoding
);
1100 nsresult GetDocumentURI
(nsAString
*aDocumentURI
);
1101 nsresult AdoptNode
(nsIDOMNode
*source, nsIDOMNode
**_retval
);
1102 nsresult CreateRange
(nsIDOMRange
**_retval
);
1103 nsresult CreateNodeIterator
(nsIDOMNode
*root
, PRUint32 whatToShow
, nsIDOMNodeFilter
*filter
, PRUint8 _argc
,
1104 nsIDOMNodeIterator
**_retval
);
1105 nsresult CreateTreeWalker
(nsIDOMNode
*root
, PRUint32 whatToShow
, nsIDOMNodeFilter
*filter
, PRUint8 _argc
,
1106 nsIDOMTreeWalker
**_retval
);
1107 cpp_quote
("#undef CreateEvent")
1108 nsresult CreateEvent
(const nsAString
*eventType
, nsIDOMEvent
**_retval
);
1109 nsresult GetDefaultView
(nsIDOMWindow
**aDefaultView
);
1110 nsresult GetCharacterSet
(nsAString
*aCharacterSet
);
1111 nsresult GetDir
(nsAString
*aDir
);
1112 nsresult SetDir
(const nsAString
*aDir
);
1113 nsresult GetLocation
(nsIDOMLocation
**aLocation
);
1114 nsresult GetTitle
(nsAString
*aTitle
);
1115 nsresult SetTitle
(const nsAString
*aTitle
);
1116 nsresult GetReadyState
(nsAString
*aReadyState
);
1117 nsresult GetLastModified
(nsAString
*aLastModified
);
1118 nsresult GetReferrer
(nsAString
*aReferrer
);
1119 nsresult HasFocus
(bool
*_retval
);
1120 nsresult GetActiveElement
(nsIDOMElement
**aActiveElement
);
1121 nsresult GetElementsByClassName
(const nsAString
*classes
, nsIDOMNodeList
**_retval
);
1122 nsresult GetStyleSheets
(nsIDOMStyleSheetList
**aStyleSheets
);
1123 nsresult GetPreferredStyleSheetSet
(nsAString
*aPreferredStyleSheetSet
);
1124 nsresult GetSelectedStyleSheetSet
(nsAString
*aSelectedStyleSheetSet
);
1125 nsresult SetSelectedStyleSheetSet
(const nsAString
*aSelectedStyleSheetSet
);
1126 nsresult GetLastStyleSheetSet
(nsAString
*aLastStyleSheetSet
);
1127 nsresult GetStyleSheetSets
(nsIDOMDOMStringList
**aStyleSheetSets
);
1128 nsresult EnableStyleSheetsForSet
(const nsAString
*name
);
1129 nsresult ElementFromPoint
(float x
, float y
, nsIDOMElement
**_retval
);
1130 nsresult GetContentType
(nsAString
*aContentType
);
1131 nsresult GetMozSyntheticDocument
(bool
*aMozSyntheticDocument
);
1132 nsresult GetCurrentScript
(nsIDOMElement
**aCurrentScript
);
1133 nsresult ReleaseCapture
();
1134 nsresult MozSetImageElement
(const nsAString
*aImageElementId
, nsIDOMElement
*aImageElement
);
1135 nsresult GetMozFullScreenElement
(nsIDOMHTMLElement
**aMozFullScreenElement
);
1136 nsresult MozCancelFullScreen
();
1137 nsresult GetMozFullScreen
(bool
*aMozFullScreen
);
1138 nsresult GetMozFullScreenEnabled
(bool
*aMozFullScreenEnabled
);
1139 nsresult GetOnreadystatechange
(JSContext
* cx
, jsval aOnreadystatechange
);
1140 nsresult SetOnreadystatechange
(JSContext
* cx
, const jsval
*aOnreadystatechange
);
1141 nsresult GetOnmouseenter
(JSContext
* cx
, jsval
*aOnmouseenter
);
1142 nsresult SetOnmouseenter
(JSContext
* cx
, const jsval
*aOnmouseenter
);
1143 nsresult GetOnmouseleave
(JSContext
* cx
, jsval
*aOnmouseleave
) = 0;
1144 nsresult SetOnmouseleave
(JSContext
* cx
, const jsval
*aOnmouseleave
);
1145 nsresult GetMozHidden
(bool
*aMozHidden
);
1146 nsresult GetMozVisibilityState
(nsAString
*aMozVisibilityState
);
1151 uuid(cc1af020
-6543-429c
-82d7
-840cda3be0b9
),
1154 interface nsIDOMHTMLDocument
: nsIDOMDocument
1156 nsresult GetURL
(nsAString
*aURL
);
1157 nsresult GetDomain
(nsAString
*aDomain
);
1158 nsresult SetDomain
(const nsAString
*aDomain
);
1159 nsresult GetCookie
(nsAString
*aCookie
);
1160 nsresult SetCookie
(const nsAString
*aCookie
);
1161 nsresult GetCompatMode
(nsAString
*aCompatMode
);
1162 nsresult GetHead
(nsIDOMHTMLHeadElement
**aHead
);
1163 nsresult GetBody
(nsIDOMHTMLElement
**aBody
);
1164 nsresult SetBody
(nsIDOMHTMLElement
*aBody
);
1165 nsresult GetImages
(nsIDOMHTMLCollection
**aImages
);
1166 nsresult GetEmbeds
(nsIDOMHTMLCollection
**aEmbeds
);
1167 nsresult GetPlugins
(nsIDOMHTMLCollection
**aPlugins
);
1168 nsresult GetLinks
(nsIDOMHTMLCollection
**aLinks
);
1169 nsresult GetForms
(nsIDOMHTMLCollection
**aForms
);
1170 nsresult GetScripts
(nsIDOMHTMLCollection
**aScripts
);
1171 nsresult GetElementsByName
(const nsAString
*elementName
, nsIDOMNodeList
**_retval
);
1172 nsresult Open
(const nsAString
*aContentTypeOrUrl
, const nsAString
*aReplaceOrName
, const nsAString
*aFeatures
,
1173 JSContext
*cx
, PRUint8 _argc
, nsISupports
**_retval
);
1175 nsresult Write
(const nsAString
*text
, JSContext
*cx
);
1176 nsresult Writeln
(const nsAString
*text
, JSContext
*cx
);
1177 nsresult GetDesignMode
(nsAString
*aDesignMode
);
1178 nsresult SetDesignMode
(const nsAString
*aDesignMode
);
1179 nsresult ExecCommand
(const nsAString
*commandID
, bool doShowUI
, const nsAString
*value
, bool
*_retval
);
1180 nsresult ExecCommandShowHelp
(const nsAString
*commandID
, bool
*_retval
);
1181 nsresult QueryCommandEnabled
(const nsAString
*commandID
, bool
*_retval
);
1182 nsresult QueryCommandIndeterm
(const nsAString
*commandID
, bool
*_retval
);
1183 nsresult QueryCommandState
(const nsAString
*commandID
, bool
*_retval
);
1184 nsresult QueryCommandSupported
(const nsAString
*commandID
, bool
*_retval
);
1185 nsresult QueryCommandText
(const nsAString
*commandID
, nsAString
*_retval
);
1186 nsresult QueryCommandValue
(const nsAString
*commandID
, nsAString
*_retval
);
1187 nsresult GetFgColor
(nsAString
*aFgColor
);
1188 nsresult SetFgColor
(const nsAString
*aFgColor
);
1189 nsresult GetBgColor
(nsAString
*aBgColor
);
1190 nsresult SetBgColor
(const nsAString
*aBgColor
);
1191 nsresult GetLinkColor
(nsAString
*aLinkColor
);
1192 nsresult SetLinkColor
(const nsAString
*aLinkColor
);
1193 nsresult GetVlinkColor
(nsAString
*aVlinkColor
);
1194 nsresult SetVlinkColor
(const nsAString
*aVlinkColor
);
1195 nsresult GetAlinkColor
(nsAString
*aAlinkColor
);
1196 nsresult SetAlinkColor
(const nsAString
*aAlinkColor
);
1197 nsresult GetAnchors
(nsIDOMHTMLCollection
**aAnchors
);
1198 nsresult GetApplets
(nsIDOMHTMLCollection
**aApplets
);
1200 nsresult GetSelection
(nsISelection
**_retval
);
1201 nsresult CaptureEvents
(PRInt32 eventFlags
);
1202 nsresult ReleaseEvents
(PRInt32 eventFlags
);
1203 nsresult RouteEvent
(nsIDOMEvent
*evt
);
1208 uuid(a059eea8
-fece
-4c14
-93d3
-7f50a944ae43
),
1211 interface nsIDOMRange
: nsISupports
1220 nsresult GetStartContainer
(nsIDOMNode
**aStartContainer
);
1221 nsresult GetStartOffset
(PRInt32
*aStartOffset
);
1222 nsresult GetEndContainer
(nsIDOMNode
**aEndContainer
);
1223 nsresult GetEndOffset
(PRInt32
*aEndOffset
);
1224 nsresult GetCollapsed
(bool
*aCollapsed
);
1225 nsresult GetCommonAncestorContainer
(nsIDOMNode
**aCommonAncestorContainer
);
1226 nsresult SetStart
(nsIDOMNode
*refNode
, PRInt32 offset
);
1227 nsresult SetEnd
(nsIDOMNode
*refNode
, PRInt32 offset
);
1228 nsresult SetStartBefore
(nsIDOMNode
*refNode
);
1229 nsresult SetStartAfter
(nsIDOMNode
*refNode
);
1230 nsresult SetEndBefore
(nsIDOMNode
*refNode
);
1231 nsresult SetEndAfter
(nsIDOMNode
*refNode
);
1232 nsresult Collapse
(bool toStart
);
1233 nsresult SelectNode
(nsIDOMNode
*refNode
);
1234 nsresult SelectNodeContents
(nsIDOMNode
*refNode
);
1235 nsresult CompareBoundaryPoints
(PRUint16 how
, nsIDOMRange
*sourceRange
, PRInt16
*_retval
);
1236 nsresult DeleteContents
();
1237 nsresult ExtractContents
(nsIDOMDocumentFragment
**_retval
);
1238 nsresult CloneContents
(nsIDOMDocumentFragment
**_retval
);
1239 nsresult InsertNode
(nsIDOMNode
*newNode
);
1240 nsresult SurroundContents
(nsIDOMNode
*newParent
);
1241 nsresult CloneRange
(nsIDOMRange
**_retval
);
1242 nsresult ToString
(nsAString
*_retval
);
1244 nsresult CreateContextualFragment
([in] const nsAString
*fragment
, [out] nsIDOMDocumentFragment
**_retval
);
1245 nsresult IsPointInRange
([in] nsIDOMNode
*parent
, [in] PRInt32 offset
, [out] bool
*_retval
);
1246 nsresult ComparePoint
([in] nsIDOMNode
*parent
, [in] PRInt32 offset
, [out] PRInt16
*_retval
);
1247 nsresult GetClientRects
(nsIDOMClientRectList
**_retval
);
1248 nsresult GetBoundingClientRect
(nsIDOMClientRect
**_retval
);
1253 uuid(5ac0cd5d
-3c08
-4c4c
-8e70
-230c433f5d5c
),
1256 interface nsISelection
: nsISupports
1258 nsresult GetAnchorNode
(nsIDOMNode
**aAnchorNode
);
1259 nsresult GetAnchorOffset
(PRInt32
*aAnchorOffset
);
1260 nsresult GetFocusNode
(nsIDOMNode
**aFocusNode
);
1261 nsresult GetFocusOffset
(PRInt32
*aFocusOffset
);
1262 nsresult GetIsCollapsed
(bool
*aIsCollapsed
);
1263 nsresult GetRangeCount
(PRInt32
*aRangeCount
);
1264 nsresult GetRangeAt
(PRInt32 index
, nsIDOMRange
**_retval
);
1265 nsresult Collapse
(nsIDOMNode
*parentNode
, PRInt32 offset
);
1266 nsresult CollapseNative
(nsINode
*parentNode
, PRInt32 offset
);
1267 nsresult Extend
(nsIDOMNode
*parentNode
, PRInt32 offset
);
1268 nsresult CollapseToStart
();
1269 nsresult CollapseToEnd
();
1270 nsresult ContainsNode
(nsIDOMNode
*node
, bool entirelyContained
, bool
*_retval
);
1271 nsresult SelectAllChildren
(nsIDOMNode
*parentNode
);
1272 nsresult AddRange
(nsIDOMRange
*range);
1273 nsresult RemoveRange
(nsIDOMRange
*range);
1274 nsresult RemoveAllRanges
();
1275 nsresult DeleteFromDocument
();
1276 nsresult SelectionLanguageChange
(bool langRTL
);
1277 nsresult ToString
(PRUnichar
**_retval
);
1278 nsresult Modify
(const nsAString
*alter
, const nsAString
*direction
, const nsAString
*granularity
);
1283 uuid(a6cf906f
-15b3
-11d2
-932e-00805f8add32
),
1286 interface nsIDOMWindowCollection
: nsISupports
1288 nsresult GetLength
(PRUint32
*aLength
);
1289 nsresult Item
(PRUint32 index
, nsIDOMWindow
**_retval
);
1290 nsresult NamedItem
(const nsAString
*name
, nsIDOMWindow
**_retval
);
1295 uuid(17400e2b
-f78b
-4e69
-b500
-c2a3135a40fd
),
1298 interface nsIDOMWindow
: nsISupports
1300 nsresult GetWindow
(nsIDOMWindow
**aWindow
);
1301 nsresult GetSelf
(nsIDOMWindow
**aSelf
);
1302 nsresult GetDocument
(nsIDOMDocument
**aDocument
);
1303 nsresult GetName
(nsAString
*aName
);
1304 nsresult SetName
(const nsAString
*aName
);
1305 nsresult GetLocation
(nsIDOMLocation
**aLocation
);
1306 nsresult GetHistory
(nsIDOMHistory
**aHistory
);
1307 nsresult GetLocationbar
(nsIDOMBarProp
**aLocationbar
);
1308 nsresult GetMenubar
(nsIDOMBarProp
**aMenubar
);
1309 nsresult GetPersonalbar
(nsIDOMBarProp
**aPersonalbar
);
1310 nsresult GetScrollbars
(nsIDOMBarProp
**aScrollbars
);
1311 nsresult GetStatusbar
(nsIDOMBarProp
**aStatusbar
);
1312 nsresult GetToolbar
(nsIDOMBarProp
**aToolbar
);
1313 nsresult GetStatus
(nsAString
*aStatus
);
1314 nsresult SetStatus
(const nsAString
*aStatus
);
1319 nsresult GetLength
(PRUint32
*aLength
);
1320 nsresult GetScriptableTop
(nsIDOMWindow
**aTop
);
1321 nsresult GetRealTop
(nsIDOMWindow
**aRealTop
);
1322 nsresult GetOpener
(nsIDOMWindow
**aOpener
);
1323 nsresult SetOpener
(nsIDOMWindow
*aOpener
);
1324 nsresult GetScriptableParent
(nsIDOMWindow
**aParent
);
1325 nsresult GetRealParent
(nsIDOMWindow
**aParent
);
1326 nsresult GetScriptableFrameElement
(nsIDOMElement
**aFrameElement
);
1327 nsresult GetRealFrameElement
(nsIDOMElement
**aFrameElement
);
1328 nsresult GetNavigator
(nsIDOMNavigator
**aNavigator
);
1329 nsresult GetApplicationCache
(nsIDOMOfflineResourceList
**aApplicationCache
);
1330 nsresult Alert
(const nsAString
*text
);
1331 nsresult Confirm
(const nsAString
*text
, bool
*_retval
);
1332 nsresult Prompt
(const nsAString
*aMessage
, const nsAString
*aInitial
, nsAString
*_retval
);
1334 nsresult ShowModalDialog
(const nsAString
*aURI
, nsIVariant
*aArgs
, const nsAString
*aOptions
, nsIVariant
**_retval
);
1335 nsresult PostMessageMoz
(const long /*jsval*/ *message, const nsAString
*targetOrigin
, JSContext
*cx
);
1336 nsresult Atob
(const nsAString
*aAsciiString
, nsAString
*_retval
);
1337 nsresult Btoa
(const nsAString
*aBase64Data
, nsAString
*_retval
);
1338 nsresult GetSessionStorage
(nsIDOMStorage
**aSessionStorage
);
1339 nsresult GetLocalStorage
(nsIDOMStorage
**aLocalStorage
);
1340 nsresult GetSelection
(nsISelection
**_retval
);
1341 nsresult MatchMedia
(const nsAString
*media_query_list
, nsIDOMMediaQueryList
**_retval
);
1342 nsresult GetScreen
(nsIDOMScreen
**aScreen
);
1343 nsresult GetInnerWidth
(PRInt32
*aInnerWidth
);
1344 nsresult SetInnerWidth
(PRInt32 aInnerWidth
);
1345 nsresult GetInnerHeight
(PRInt32
*aInnerHeight
);
1346 nsresult SetInnerHeight
(PRInt32 aInnerHeight
);
1347 nsresult GetScrollX
(PRInt32
*aScrollX
);
1348 nsresult GetPageXOffset
(PRInt32
*aPageXOffset
);
1349 nsresult GetScrollY
(PRInt32
*aScrollY
);
1350 nsresult GetPageYOffset
(PRInt32
*aPageYOffset
);
1351 nsresult Scroll
(PRInt32 xScroll
, PRInt32 yScroll
);
1352 nsresult ScrollTo
(PRInt32 xScroll
, PRInt32 yScroll
);
1353 nsresult ScrollBy
(PRInt32 xScrollDif
, PRInt32 yScrollDif
);
1354 nsresult GetScreenX
(PRInt32
*aScreenX
);
1355 nsresult SetScreenX
(PRInt32 aScreenX
);
1356 nsresult GetScreenY
(PRInt32
*aScreenY
);
1357 nsresult SetScreenY
(PRInt32 aScreenY
);
1358 nsresult GetOuterWidth
(PRInt32
*aOuterWidth
);
1359 nsresult SetOuterWidth
(PRInt32 aOuterWidth
);
1360 nsresult GetOuterHeight
(PRInt32
*aOuterHeight
);
1361 nsresult SetOuterHeight
(PRInt32 aOuterHeight
);
1362 nsresult GetComputedStyle
(nsIDOMElement
*elt
, const nsAString
*pseudoElt
, nsIDOMCSSStyleDeclaration
**_retval
);
1363 nsresult GetWindowRoot
(nsIDOMEventTarget
**aWindowRoot
);
1364 nsresult GetFrames
(nsIDOMWindowCollection
**aFrames
);
1365 nsresult GetTextZoom
(float *aTextZoom
);
1366 nsresult SetTextZoom
(float aTextZoom
);
1367 nsresult ScrollByLines
(PRInt32 numLines
);
1368 nsresult ScrollByPages
(PRInt32 numPages
);
1369 nsresult SizeToContent
();
1370 nsresult GetContent
(nsIDOMWindow
**aContent
);
1371 nsresult GetPrompter
(nsIPrompt
**aPrompter
);
1372 nsresult GetClosed
(bool
*aClosed
);
1373 nsresult GetCrypto
(nsIDOMCrypto
**aCrypto
);
1374 nsresult GetPkcs11
(nsIDOMPkcs11
**aPkcs11
);
1375 nsresult GetControllers
(nsIControllers
**aControllers
);
1376 nsresult GetDefaultStatus
(nsAString
*aDefaultStatus
);
1377 nsresult SetDefaultStatus
(const nsAString
*aDefaultStatus
);
1378 nsresult GetMozInnerScreenX
(float *aMozInnerScreenX
);
1379 nsresult GetMozInnerScreenY
(float *aMozInnerScreenY
);
1380 nsresult GetScrollMaxX
(PRInt32
*aScrollMaxX
);
1381 nsresult GetScrollMaxY
(PRInt32
*aScrollMaxY
);
1382 nsresult GetFullScreen
(bool
*aFullScreen
);
1383 nsresult SetFullScreen
(bool aFullScreen
);
1387 nsresult MoveTo
(PRInt32 xPos
, PRInt32 yPos
);
1388 nsresult MoveBy
(PRInt32 xDif
, PRInt32 yDif
);
1389 nsresult ResizeTo
(PRInt32 width
, PRInt32 height
);
1390 nsresult ResizeBy
(PRInt32 widthDif
, PRInt32 heightDif
);
1391 nsresult Open
(const nsAString
*url
, const nsAString
*name
, const nsAString
*options
, nsIDOMWindow
**_retval
);
1392 nsresult OpenDialog
(const nsAString
*url
, const nsAString
*name
, const nsAString
*options
, nsISupports
*aExtraArgument
,
1393 nsIDOMWindow
**_retval
);
1394 nsresult UpdateCommands
(const nsAString
*action
);
1395 nsresult Find
(const nsAString
*str
, bool caseSensitive
, bool backwards
, bool wrapAround
, bool wholeWord
,
1396 bool searchInFrames
, bool showDialog
, bool
*_retval
);
1397 nsresult GetMozPaintCount
(PRUint64
*aMozPaintCount
);
1398 nsresult MozRequestAnimationFrame
(nsIFrameRequestCallback
*aCallback
, PRInt32
*_retval
);
1399 nsresult MozCancelAnimationFrame
(PRInt32 aHandle
);
1400 nsresult MozCancelRequestAnimationFrame
(PRInt32 aHandle
);
1401 nsresult GetMozAnimationStartTime
(PRInt64
*aMozAnimationStartTime
);
1402 nsresult GetURL
(nsIDOMMozURLProperty
**aURL
);
1403 nsresult GetOnafterprint
(JSContext
*cx
, jsval
*aOnafterprint
);
1404 nsresult SetOnafterprint
(JSContext
*cx
, const jsval
*aOnafterprint
);
1405 nsresult GetOnbeforeprint
(JSContext
*cx
, jsval
*aOnbeforeprint
);
1406 nsresult SetOnbeforeprint
(JSContext
*cx
, const jsval
*aOnbeforeprint
);
1407 nsresult GetOnbeforeunload
(JSContext
*cx
, jsval
*aOnbeforeunload
);
1408 nsresult SetOnbeforeunload
(JSContext
*cx
, const jsval
*aOnbeforeunload
);
1409 nsresult GetOnhashchange
(JSContext
*cx
, jsval
*aOnhashchange
);
1410 nsresult SetOnhashchange
(JSContext
*cx
, const jsval
*aOnhashchange
);
1411 nsresult GetOnmessage
(JSContext
*cx
, jsval
*aOnmessage
);
1412 nsresult SetOnmessage
(JSContext
*cx
, const jsval
*aOnmessage
);
1413 nsresult GetOnoffline
(JSContext
*cx
, jsval
*aOnoffline
);
1414 nsresult SetOnoffline
(JSContext
*cx
, const jsval
*aOnoffline
);
1415 nsresult GetOnonline
(JSContext
*cx
, jsval
*aOnonline
);
1416 nsresult SetOnonline
(JSContext
*cx
, const jsval
*aOnonline
);
1417 nsresult GetOnpopstate
(JSContext
*cx
, jsval
*aOnpopstate
);
1418 nsresult SetOnpopstate
(JSContext
*cx
, const jsval
*aOnpopstate
);
1419 nsresult GetOnpagehide
(JSContext
*cx
, jsval
*aOnpagehide
);
1420 nsresult SetOnpagehide
(JSContext
*cx
, const jsval
*aOnpagehide
);
1421 nsresult GetOnpageshow
(JSContext
*cx
, jsval
*aOnpageshow
);
1422 nsresult SetOnpageshow
(JSContext
*cx
, const jsval
*aOnpageshow
);
1423 nsresult GetOnresize
(JSContext
*cx
, jsval
*aOnresize
);
1424 nsresult SetOnresize
(JSContext
*cx
, const jsval
*aOnresize
);
1425 nsresult GetOnunload
(JSContext
*cx
, jsval
*aOnunload
);
1426 nsresult SetOnunload
(JSContext
*cx
, const jsval
*aOnunload
);
1427 nsresult GetOndevicemotion
(JSContext
*cx
, jsval
*aOndevicemotion
);
1428 nsresult SetOndevicemotion
(JSContext
*cx
, const jsval
*aOndevicemotion
);
1429 nsresult GetOndeviceorientation
(JSContext
*cx
, jsval
*aOndeviceorientation
);
1430 nsresult SetOndeviceorientation
(JSContext
*cx
, const jsval
*aOndeviceorientation
);
1431 nsresult GetOnmouseenter
(JSContext
* cx
, jsval
*aOnmouseenter
);
1432 nsresult SetOnmouseenter
(JSContext
* cx
, const jsval
*aOnmouseenter
);
1433 nsresult GetOnmouseleave
(JSContext
* cx
, jsval
*aOnmouseleave
) = 0;
1434 nsresult SetOnmouseleave
(JSContext
* cx
, const jsval
*aOnmouseleave
);
1439 uuid(fbc08701
-776e-47d8
-8b14
-12b27aadc180
),
1442 interface nsIDOMHTMLBodyElement
: nsIDOMHTMLElement
1444 nsresult GetALink
(nsAString
*aALink
);
1445 nsresult SetALink
(const nsAString
*aALink
);
1446 nsresult GetBackground
(nsAString
*aBackground
);
1447 nsresult SetBackground
(const nsAString
*aBackground
);
1448 nsresult GetBgColor
(nsAString
*aBgColor
);
1449 nsresult SetBgColor
(const nsAString
*aBgColor
);
1450 nsresult GetLink
(nsAString
*aLink
);
1451 nsresult SetLink
(const nsAString
*aLink
);
1452 nsresult GetText
(nsAString
*aText
);
1453 nsresult SetText
(const nsAString
*aText
);
1454 nsresult GetVLink
(nsAString
*aVLink
);
1455 nsresult SetVLink
(const nsAString
*aVLink
);
1456 nsresult GetOnafterprint
(JSContext
*cx
, jsval
*aOnafterprint
);
1457 nsresult SetOnafterprint
(JSContext
*cx
, const jsval
*aOnafterprint
);
1458 nsresult GetOnbeforeprint
(JSContext
*cx
, jsval
*aOnbeforeprint
);
1459 nsresult SetOnbeforeprint
(JSContext
*cx
, const jsval
*aOnbeforeprint
);
1460 nsresult GetOnbeforeunload
(JSContext
*cx
, jsval
*aOnbeforeunload
);
1461 nsresult SetOnbeforeunload
(JSContext
*cx
, const jsval
*aOnbeforeunload
);
1462 nsresult GetOnhashchange
(JSContext
*cx
, jsval
*aOnhashchange
);
1463 nsresult SetOnhashchange
(JSContext
*cx
, const jsval
*aOnhashchange
);
1464 nsresult GetOnmessage
(JSContext
*cx
, jsval
*aOnmessage
);
1465 nsresult SetOnmessage
(JSContext
*cx
, const jsval
*aOnmessage
);
1466 nsresult GetOnoffline
(JSContext
*cx
, jsval
*aOnoffline
);
1467 nsresult SetOnoffline
(JSContext
*cx
, const jsval
*aOnoffline
);
1468 nsresult GetOnonline
(JSContext
*cx
, jsval
*aOnonline
);
1469 nsresult SetOnonline
(JSContext
*cx
, const jsval
*aOnonline
);
1470 nsresult GetOnpagehide
(JSContext
*cx
, jsval
*aOnpagehide
);
1471 nsresult SetOnpagehide
(JSContext
*cx
, const jsval
*aOnpagehide
);
1472 nsresult GetOnpageshow
(JSContext
*cx
, jsval
*aOnpageshow
);
1473 nsresult SetOnpageshow
(JSContext
*cx
, const jsval
*aOnpageshow
);
1474 nsresult GetOnpopstate
(JSContext
*cx
, jsval
*aOnpopstate
);
1475 nsresult SetOnpopstate
(JSContext
*cx
, const jsval
*aOnpopstate
);
1476 nsresult GetOnresize
(JSContext
*cx
, jsval
*aOnresize
);
1477 nsresult SetOnresize
(JSContext
*cx
, const jsval
*aOnresize
);
1478 nsresult GetOnunload
(JSContext
*cx
, jsval
*aOnunload
);
1479 nsresult SetOnunload
(JSContext
*cx
, const jsval
*aOnunload
);
1484 uuid(b0fa651a
-134c
-4b20
-ba4d
-35b956a4fc50
),
1487 interface nsIDOMHTMLFormElement
: nsIDOMHTMLElement
1489 nsresult GetAcceptCharset
(nsAString
*aAcceptCharset
);
1490 nsresult SetAcceptCharset
(const nsAString
*aAcceptCharset
);
1491 nsresult GetAction
(nsAString
*aAction
);
1492 nsresult SetAction
(const nsAString
*aAction
);
1493 nsresult GetAutocomplete
(nsAString
*aAutocomplete
);
1494 nsresult SetAutocomplete
(const nsAString
*aAutocomplete
);
1495 nsresult GetEnctype
(nsAString
*aEnctype
);
1496 nsresult SetEnctype
(const nsAString
*aEnctype
);
1497 nsresult GetEncoding
(nsAString
*aEncoding
);
1498 nsresult SetEncoding
(const nsAString
*aEncoding
);
1499 nsresult GetMethod
(nsAString
*aMethod
);
1500 nsresult SetMethod
(const nsAString
*aMethod
);
1501 nsresult GetName
(nsAString
*aName
);
1502 nsresult SetName
(const nsAString
*aName
);
1503 nsresult GetNoValidate
(bool
*aNoValidate
);
1504 nsresult SetNoValidate
(bool aNoValidate
);
1505 nsresult GetTarget
(nsAString
*aTarget
);
1506 nsresult SetTarget
(const nsAString
*aTarget
);
1507 nsresult GetElements
(nsIDOMHTMLCollection
**aElements
);
1508 nsresult GetLength
(PRInt32
*aLength
);
1511 nsresult CheckValidity
(bool
*_retval
);
1516 uuid(6b1175a5
-70dd
-4c26
-be99
-9e780c32550d
),
1519 interface nsIDOMHTMLInputElement
: nsIDOMHTMLElement
1521 nsresult GetAccept
(nsAString
*aAccept
);
1522 nsresult SetAccept
(const nsAString
*aAccept
);
1523 nsresult GetAlt
(nsAString
*aAlt
);
1524 nsresult SetAlt
(const nsAString
*aAlt
);
1525 nsresult GetAutocomplete
(nsAString
*aAutocomplete
);
1526 nsresult SetAutocomplete
(const nsAString
*aAutocomplete
);
1527 nsresult GetAutofocus
(bool
*aAutofocus
);
1528 nsresult SetAutofocus
(bool aAutofocus
);
1529 nsresult GetDefaultChecked
(bool
*aDefaultChecked
);
1530 nsresult SetDefaultChecked
(bool aDefaultChecked
);
1531 nsresult GetChecked
(bool
*aChecked
);
1532 nsresult SetChecked
(bool aChecked
);
1533 nsresult GetDisabled
(bool
*aDisabled
);
1534 nsresult SetDisabled
(bool aDisabled
);
1535 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1536 nsresult GetFormAction
(nsAString
*aFormAction
);
1537 nsresult SetFormAction
(const nsAString
*aFormAction
);
1538 nsresult GetFormEnctype
(nsAString
*aFormEnctype
);
1539 nsresult SetFormEnctype
(const nsAString
*aFormEnctype
);
1540 nsresult GetFormMethod
(nsAString
*aFormMethod
);
1541 nsresult SetFormMethod
(const nsAString
*aFormMethod
);
1542 nsresult GetFormNoValidate
(bool
*aFormNoValidate
);
1543 nsresult SetFormNoValidate
(bool aFormNoValidate
);
1544 nsresult GetFormTarget
(nsAString
*aFormTarget
);
1545 nsresult SetFormTarget
(const nsAString
*aFormTarget
);
1546 nsresult GetFiles
(nsIDOMFileList
**aFiles
);
1547 nsresult GetIndeterminate
(bool
*aIndeterminate
);
1548 nsresult SetIndeterminate
(bool aIndeterminate
);
1549 nsresult GetList
(nsIDOMHTMLElement
**aList
);
1550 nsresult GetMaxLength
(PRInt32
*aMaxLength
);
1551 nsresult SetMaxLength
(PRInt32 aMaxLength
);
1552 nsresult GetMultiple
(bool
*aMultiple
);
1553 nsresult SetMultiple
(bool aMultiple
);
1554 nsresult GetName
(nsAString
*aName
);
1555 nsresult SetName
(const nsAString
*aName
);
1556 nsresult GetPattern
(nsAString
*aPattern
);
1557 nsresult SetPattern
(const nsAString
*aPattern
);
1558 nsresult GetPlaceholder
(nsAString
*aPlaceholder
);
1559 nsresult SetPlaceholder
(const nsAString
*aPlaceholder
);
1560 nsresult GetReadOnly
(bool
*aReadOnly
);
1561 nsresult SetReadOnly
(bool aReadOnly
);
1562 nsresult GetRequired
(bool
*aRequired
);
1563 nsresult SetRequired
(bool aRequired
);
1564 nsresult GetAlign
(nsAString
*aAlign
);
1565 nsresult SetAlign
(const nsAString
*aAlign
);
1566 nsresult GetSize
(PRUint32
*aSize
);
1567 nsresult SetSize
(PRUint32 aSize
);
1568 nsresult GetSrc
(nsAString
*aSrc
);
1569 nsresult SetSrc
(const nsAString
*aSrc
);
1570 nsresult GetType
(nsAString
*aType
);
1571 nsresult SetType
(const nsAString
*aType
);
1572 nsresult GetDefaultValue
(nsAString
*aDefaultValue
);
1573 nsresult SetDefaultValue
(const nsAString
*aDefaultValue
);
1574 nsresult GetValue
(nsAString
*aValue
);
1575 nsresult SetValue
(const nsAString
*aValue
);
1576 nsresult GetWillValidate
(bool
*aWillValidate
);
1577 nsresult GetValidity
(nsIDOMValidityState
**aValidity
);
1578 nsresult GetValidationMessage
(nsAString
*aValidationMessage
);
1579 nsresult CheckValidity
(bool
*_retval
);
1580 nsresult SetCustomValidity
(const nsAString
*error
);
1582 nsresult GetSelectionStart
(PRInt32
*aSelectionStart
);
1583 nsresult SetSelectionStart
(PRInt32 aSelectionStart
);
1584 nsresult GetSelectionEnd
(PRInt32
*aSelectionEnd
);
1585 nsresult SetSelectionEnd
(PRInt32 aSelectionEnd
);
1586 nsresult SetSelectionRange
(PRInt32 selectionStart
, PRInt32 selectionEnd
, const nsAString
*direction
);
1587 nsresult GetSelectionDirection
(nsAString
*aSelectionDirection
);
1588 nsresult SetSelectionDirection
(const nsAString
*aSelectionDirection
);
1589 nsresult GetUseMap
(nsAString
*aUseMap
);
1590 nsresult SetUseMap
(const nsAString
*aUseMap
);
1591 nsresult GetControllers
(nsIControllers
**aControllers
);
1592 nsresult GetTextLength
(PRInt32
*aTextLength
);
1593 nsresult MozGetFileNameArray
(PRUint32
*aLength
, PRUnichar
***aFileNames
);
1594 nsresult MozSetFileNameArray
(const PRUnichar
**aFileNames
, PRUint32 aLength
);
1595 nsresult MozIsTextField
(bool aExcludePassword
, bool
*_retval
);
1600 uuid(ec3cfb59
-a945
-4821-8ea6
-2448970e7639
),
1603 interface nsIDOMHTMLOptionElement
: nsIDOMHTMLElement
1605 nsresult GetDisabled
(bool
*aDisabled
);
1606 nsresult SetDisabled
(bool aDisabled
);
1607 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1608 nsresult GetLabel
(nsAString
*aLabel
);
1609 nsresult SetLabel
(const nsAString
*aLabel
);
1610 nsresult GetDefaultSelected
(bool
*aDefaultSelected
);
1611 nsresult SetDefaultSelected
(bool aDefaultSelected
);
1612 nsresult GetSelected
(bool
*aSelected
);
1613 nsresult SetSelected
(bool aSelected
);
1614 nsresult GetValue
(nsAString
*aValue
);
1615 nsresult SetValue
(const nsAString
*aValue
);
1616 nsresult GetText
(nsAString
*aText
);
1617 nsresult SetText
(const nsAString
*aText
);
1618 nsresult GetIndex
(PRInt32
*aIndex
);
1623 uuid(429b041b
-06df
-486c
-9a3a
-a1d901cc76a2
),
1626 interface nsIDOMHTMLOptionsCollection
: nsISupports
1628 typedef int nsWrapperCache
;
1630 nsresult GetLength
(PRUint32
*aLength
);
1631 nsresult SetLength
(PRUint32 aLength
);
1632 nsresult Item
(PRUint32 index
, nsIDOMNode
**_retval
);
1633 nsresult NamedItem
(const nsAString
*name
, nsIDOMNode
**_retval
);
1634 nsISupports
* __cdecl GetNamedItem
(const nsAString
*name
, nsWrapperCache
**cache
);
1635 nsresult GetSelectedIndex
(PRInt32
*aSelectedIndex
);
1636 nsresult SetSelectedIndex
(PRInt32 aSelectedIndex
);
1637 nsresult SetOption
(PRUint32 index
, nsIDOMHTMLOptionElement
*option
);
1638 nsresult GetSelect
(nsIDOMHTMLSelectElement
**aSelect
);
1639 nsresult Add
(nsIDOMHTMLOptionElement
*option
, nsIVariant
*before
);
1640 nsresult Remove
(PRInt32 index
);
1645 uuid(6f0a4fee
-3aea
-4bb7
-85cb
-d4881a55ca43
),
1648 interface nsIDOMHTMLSelectElement
: nsIDOMHTMLElement
1650 nsresult GetAutofocus
(bool
*aAutofocus
);
1651 nsresult SetAutofocus
(bool aAutofocus
);
1652 nsresult GetDisabled
(bool
*aDisabled
);
1653 nsresult SetDisabled
(bool aDisabled
);
1654 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1655 nsresult GetMultiple
(bool
*aMultiple
);
1656 nsresult SetMultiple
(bool aMultiple
);
1657 nsresult GetName
(nsAString
*aName
);
1658 nsresult SetName
(const nsAString
*aName
);
1659 nsresult GetSize
(PRInt32
*aSize
);
1660 nsresult SetSize
(PRInt32 aSize
);
1661 nsresult GetType
(nsAString
*aType
);
1662 nsresult GetOptions
(nsIDOMHTMLOptionsCollection
**aOptions
);
1663 nsresult GetLength
(PRUint32
*aLength
);
1664 nsresult SetLength
(PRUint32 aLength
);
1665 nsresult Item
(PRUint32 index
, nsIDOMNode
**_retval
);
1666 nsresult NamedItem
(const nsAString
*name
, nsIDOMNode
**_retval
);
1667 nsresult Add
(nsIDOMHTMLElement
*element
, nsIVariant
*before
);
1668 nsresult Remove
(PRInt32 index
);
1669 nsresult GetSelectedIndex
(PRInt32
*aSelectedIndex
);
1670 nsresult SetSelectedIndex
(PRInt32 aSelectedIndex
);
1671 nsresult GetValue
(nsAString
*aValue
);
1672 nsresult SetValue
(const nsAString
*aValue
);
1673 nsresult GetWillValidate
(bool
*aWillValidate
);
1674 nsresult GetValidity
(nsIDOMValidityState
**aValidity
);
1675 nsresult GetValidationMessage
(nsAString
*aValidationMessage
);
1676 nsresult CheckValidity
(bool
*_retval
);
1677 nsresult SetCustomValidity
(const nsAString
*error
);
1678 nsresult GetRequired
(bool
*aRequired
);
1679 nsresult SetRequired
(bool aRequired
);
1684 uuid(0ad0571c
-f8ba
-44e2
-b5aa
-5e1c93fae7c0
),
1687 interface nsIDOMHTMLTextAreaElement
: nsIDOMHTMLElement
1689 nsresult GetAutofocus
(bool
*aAutofocus
);
1690 nsresult SetAutofocus
(bool aAutofocus
);
1691 nsresult GetCols
(PRUint32
*aCols
);
1692 nsresult SetCols
(PRUint32 aCols
);
1693 nsresult GetDisabled
(bool
*aDisabled
);
1694 nsresult SetDisabled
(bool aDisabled
);
1695 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1696 nsresult GetMaxLength
(PRInt32
*aMaxLength
);
1697 nsresult SetMaxLength
(PRInt32 aMaxLength
);
1698 nsresult GetName
(nsAString
*aName
);
1699 nsresult SetName
(const nsAString
*aName
);
1700 nsresult GetPlaceholder
(nsAString
*aPlaceholder
);
1701 nsresult SetPlaceholder
(const nsAString
*aPlaceholder
);
1702 nsresult GetReadOnly
(bool
*aReadOnly
);
1703 nsresult SetReadOnly
(bool aReadOnly
);
1704 nsresult GetRequired
(bool
*aRequired
);
1705 nsresult SetRequired
(bool aRequired
);
1706 nsresult GetRows
(PRUint32
*aRows
);
1707 nsresult SetRows
(PRUint32 aRows
);
1708 nsresult GetWrap
(nsAString
*aWrap
);
1709 nsresult SetWrap
(const nsAString
*aWrap
);
1710 nsresult GetType
(nsAString
*aType
);
1711 nsresult GetDefaultValue
(nsAString
*aDefaultValue
);
1712 nsresult SetDefaultValue
(const nsAString
*aDefaultValue
);
1713 nsresult GetValue
(nsAString
*aValue
);
1714 nsresult SetValue
(const nsAString
*aValue
);
1715 nsresult GetTextLength
(PRInt32
*aTextLength
);
1716 nsresult GetWillValidate
(bool
*aWillValidate
);
1717 nsresult GetValidity
(nsIDOMValidityState
**aValidity
);
1718 nsresult GetValidationMessage
(nsAString
*aValidationMessage
);
1719 nsresult CheckValidity
(bool
*_retval
);
1720 nsresult SetCustomValidity
(const nsAString
*error
);
1722 nsresult GetSelectionStart
(PRInt32
*aSelectionStart
);
1723 nsresult SetSelectionStart
(PRInt32 aSelectionStart
);
1724 nsresult GetSelectionEnd
(PRInt32
*aSelectionEnd
);
1725 nsresult SetSelectionEnd
(PRInt32 aSelectionEnd
);
1726 nsresult SetSelectionRange
(PRInt32 selectionStart
, PRInt32 selectionEnd
, const nsAString
*direction
);
1727 nsresult GetSelectionDirection
(nsAString
*aSelectionDirection
);
1728 nsresult SetSelectionDirection
(const nsAString
*aSelectionDirection
);
1729 nsresult GetControllers
(nsIControllers
**aControllers
);
1734 uuid(8b79bf24
-d127
-4b63
-a798
-f44bee76204d
),
1737 interface nsIDOMHTMLScriptElement
: nsIDOMHTMLElement
1739 nsresult GetSrc
(nsAString
*aSrc
);
1740 nsresult SetSrc
(const nsAString
*aSrc
);
1741 nsresult GetAsync
(bool
*aAsync
);
1742 nsresult SetAsync
(bool aAsync
);
1743 nsresult GetDefer
(bool
*aDefer
);
1744 nsresult SetDefer
(bool aDefer
);
1745 nsresult GetType
(nsAString
*aType
);
1746 nsresult SetType
(const nsAString
*aType
);
1747 nsresult GetCharset
(nsAString
*aCharset
);
1748 nsresult SetCharset
(const nsAString
*aCharset
);
1749 nsresult GetText
(nsAString
*aText
);
1750 nsresult SetText
(const nsAString
*aText
);
1751 nsresult GetHtmlFor
(nsAString
*aHtmlFor
);
1752 nsresult SetHtmlFor
(const nsAString
*aHtmlFor
);
1753 nsresult GetEvent
(nsAString
*aEvent
);
1754 nsresult SetEvent
(const nsAString
*aEvent
);
1759 uuid(3ed7023f
-24be
-4cd6
-984c
-c182a6b67bf9
),
1762 interface nsIDOMHTMLImageElement
: nsIDOMHTMLElement
1764 nsresult GetAlt
(nsAString
*aAlt
);
1765 nsresult SetAlt
(const nsAString
*aAlt
);
1766 nsresult GetSrc
(nsAString
*aSrc
);
1767 nsresult SetSrc
(const nsAString
*aSrc
);
1768 nsresult GetCrossOrigin
(nsAString
*aCrossOrigin
);
1769 nsresult SetCrossOrigin
(const nsAString
*aCrossOrigin
);
1770 nsresult GetUseMap
(nsAString
*aUseMap
);
1771 nsresult SetUseMap
(const nsAString
*aUseMap
);
1772 nsresult GetIsMap
(bool
*aIsMap
);
1773 nsresult SetIsMap
(bool aIsMap
);
1774 nsresult GetWidth
(PRUint32
*aWidth
);
1775 nsresult SetWidth
(PRUint32 aWidth
);
1776 nsresult GetHeight
(PRUint32
*aHeight
);
1777 nsresult SetHeight
(PRUint32 aHeight
);
1778 nsresult GetNaturalWidth
(PRUint32
*aNaturalWidth
);
1779 nsresult GetNaturalHeight
(PRUint32
*aNaturalHeight
);
1780 nsresult GetComplete
(bool
*aComplete
);
1781 nsresult GetName
(nsAString
*aName
);
1782 nsresult SetName
(const nsAString
*aName
);
1783 nsresult GetAlign
(nsAString
*aAlign
);
1784 nsresult SetAlign
(const nsAString
*aAlign
);
1785 nsresult GetBorder
(nsAString
*aBorder
);
1786 nsresult SetBorder
(const nsAString
*aBorder
);
1787 nsresult GetHspace
(PRInt32
*aHspace
);
1788 nsresult SetHspace
(PRInt32 aHspace
);
1789 nsresult GetLongDesc
(nsAString
*aLongDesc
);
1790 nsresult SetLongDesc
(const nsAString
*aLongDesc
);
1791 nsresult GetVspace
(PRInt32
*aVspace
);
1792 nsresult SetVspace
(PRInt32 aVspace
);
1793 nsresult GetLowsrc
(nsAString
*aLowsrc
);
1794 nsresult SetLowsrc
(const nsAString
*aLowsrc
);
1799 uuid(44a9c8e1
-2c95
-41e4
-86f1
-96033a452a4d
),
1802 interface nsIDOMHTMLAnchorElement
: nsIDOMHTMLElement
1804 nsresult GetHref
(nsAString
*aHref
);
1805 nsresult SetHref
(const nsAString
*aHref
);
1806 nsresult GetTarget
(nsAString
*aTarget
);
1807 nsresult SetTarget
(const nsAString
*aTarget
);
1808 nsresult GetPing
(nsAString
*aPing
);
1809 nsresult SetPing
(const nsAString
*aPing
);
1810 nsresult GetRel
(nsAString
*aRel
);
1811 nsresult SetRel
(const nsAString
*aRel
);
1812 nsresult GetHreflang
(nsAString
*aHreflang
);
1813 nsresult SetHreflang
(const nsAString
*aHreflang
);
1814 nsresult GetType
(nsAString
*aType
);
1815 nsresult SetType
(const nsAString
*aType
);
1816 nsresult GetText
(nsAString
*aText
);
1817 nsresult SetText
(const nsAString
*aText
);
1818 nsresult GetProtocol
(nsAString
*aProtocol
);
1819 nsresult SetProtocol
(const nsAString
*aProtocol
);
1820 nsresult GetHost
(nsAString
*aHost
);
1821 nsresult SetHost
(const nsAString
*aHost
);
1822 nsresult GetHostname
(nsAString
*aHostname
);
1823 nsresult SetHostname
(const nsAString
*aHostname
);
1824 nsresult GetPort
(nsAString
*aPort
);
1825 nsresult SetPort
(const nsAString
*aPort
);
1826 nsresult GetPathname
(nsAString
*aPathname
);
1827 nsresult SetPathname
(const nsAString
*aPathname
);
1828 nsresult GetSearch
(nsAString
*aSearch
);
1829 nsresult SetSearch
(const nsAString
*aSearch
);
1830 nsresult GetHash
(nsAString
*aHash
);
1831 nsresult SetHash
(const nsAString
*aHash
);
1832 nsresult GetCharset
(nsAString
*aCharset
);
1833 nsresult SetCharset
(const nsAString
*aCharset
);
1834 nsresult GetCoords
(nsAString
*aCoords
);
1835 nsresult SetCoords
(const nsAString
*aCoords
);
1836 nsresult GetName
(nsAString
*aName
);
1837 nsresult SetName
(const nsAString
*aName
);
1838 nsresult GetRev
(nsAString
*aRev
);
1839 nsresult SetRev
(const nsAString
*aRev
);
1840 nsresult GetShape
(nsAString
*aShape
);
1841 nsresult SetShape
(const nsAString
*aShape
);
1842 nsresult ToString
(nsAString
*_retval
);
1847 uuid(7b9d43a6
-7e9e
-4618
-970b
-29eb3547d506
),
1850 interface nsIDOMHTMLTableElement
: nsIDOMHTMLElement
1852 nsresult GetCaption
(nsIDOMHTMLTableCaptionElement
**aCaption
);
1853 nsresult SetCaption
(nsIDOMHTMLTableCaptionElement
*aCaption
);
1854 nsresult GetTHead
(nsIDOMHTMLTableSectionElement
**aTHead
);
1855 nsresult SetTHead
(nsIDOMHTMLTableSectionElement
*aTHead
);
1856 nsresult GetTFoot
(nsIDOMHTMLTableSectionElement
**aTFoot
);
1857 nsresult SetTFoot
(nsIDOMHTMLTableSectionElement
*aTFoot
);
1858 nsresult GetRows
(nsIDOMHTMLCollection
**aRows
);
1859 nsresult GetTBodies
(nsIDOMHTMLCollection
**aTBodies
);
1860 nsresult GetAlign
(nsAString
*aAlign
);
1861 nsresult SetAlign
(const nsAString
*aAlign
);
1862 nsresult GetBgColor
(nsAString
*aBgColor
);
1863 nsresult SetBgColor
(const nsAString
*aBgColor
);
1864 nsresult GetBorder
(nsAString
*aBorder
);
1865 nsresult SetBorder
(const nsAString
*aBorder
);
1866 nsresult GetCellPadding
(nsAString
*aCellPadding
);
1867 nsresult SetCellPadding
(const nsAString
*aCellPadding
);
1868 nsresult GetCellSpacing
(nsAString
*aCellSpacing
);
1869 nsresult SetCellSpacing
(const nsAString
*aCellSpacing
);
1870 nsresult GetFrame
(nsAString
*aFrame
);
1871 nsresult SetFrame
(const nsAString
*aFrame
);
1872 nsresult GetRules
(nsAString
*aRules
);
1873 nsresult SetRules
(const nsAString
*aRules
);
1874 nsresult GetSummary
(nsAString
*aSummary
);
1875 nsresult SetSummary
(const nsAString
*aSummary
);
1876 nsresult GetWidth
(nsAString
*aWidth
);
1877 nsresult SetWidth
(const nsAString
*aWidth
);
1878 nsresult CreateTHead
(nsIDOMHTMLElement
**_retval
);
1879 nsresult DeleteTHead
();
1880 nsresult CreateTFoot
(nsIDOMHTMLElement
**_retval
);
1881 nsresult DeleteTFoot
();
1882 nsresult CreateCaption
(nsIDOMHTMLElement
**_retval
);
1883 nsresult DeleteCaption
();
1884 nsresult InsertRow
(PRInt32 index
, nsIDOMHTMLElement
**_retval
);
1885 nsresult DeleteRow
(PRInt32 index
);
1890 uuid(f76a1d42
-25b9
-41b9
-a58e
-7d934e1be0a2
),
1893 interface nsIDOMHTMLTableRowElement
: nsIDOMHTMLElement
1895 nsresult GetRowIndex
(PRInt32
*aRowIndex
);
1896 nsresult GetSectionRowIndex
(PRInt32
*aSectionRowIndex
);
1897 nsresult GetCells
(nsIDOMHTMLCollection
**aCells
);
1898 nsresult GetAlign
(nsAString
*aAlign
);
1899 nsresult SetAlign
(const nsAString
*aAlign
);
1900 nsresult GetBgColor
(nsAString
*aBgColor
);
1901 nsresult SetBgColor
(const nsAString
*aBgColor
);
1902 nsresult GetCh
(nsAString
*aCh
);
1903 nsresult SetCh
(const nsAString
*aCh
);
1904 nsresult GetChOff
(nsAString
*aChOff
);
1905 nsresult SetChOff
(const nsAString
*aChOff
);
1906 nsresult GetVAlign
(nsAString
*aVAlign
);
1907 nsresult SetVAlign
(const nsAString
*aVAlign
);
1908 nsresult InsertCell
(PRInt32 index
, nsIDOMHTMLElement
**_retval
);
1909 nsresult DeleteCell
(PRInt32 index
);
1914 uuid(d4e870bd
-452c
-4860-b93c
-f4ee00ba33f6
),
1917 interface nsIDOMHTMLIFrameElement
: nsIDOMHTMLElement
1919 nsresult GetAlign
(nsAString
*aAlign
);
1920 nsresult SetAlign
(const nsAString
*aAlign
);
1921 nsresult GetFrameBorder
(nsAString
*aFrameBorder
);
1922 nsresult SetFrameBorder
(const nsAString
*aFrameBorder
);
1923 nsresult GetHeight
(nsAString
*aHeight
);
1924 nsresult SetHeight
(const nsAString
*aHeight
);
1925 nsresult GetLongDesc
(nsAString
*aLongDesc
);
1926 nsresult SetLongDesc
(const nsAString
*aLongDesc
);
1927 nsresult GetMarginHeight
(nsAString
*aMarginHeight
);
1928 nsresult SetMarginHeight
(const nsAString
*aMarginHeight
);
1929 nsresult GetMarginWidth
(nsAString
*aMarginWidth
);
1930 nsresult SetMarginWidth
(const nsAString
*aMarginWidth
);
1931 nsresult GetName
(nsAString
*aName
);
1932 nsresult SetName
(const nsAString
*aName
);
1933 nsresult GetScrolling
(nsAString
*aScrolling
);
1934 nsresult SetScrolling
(const nsAString
*aScrolling
);
1935 nsresult GetSrc
(nsAString
*aSrc
);
1936 nsresult SetSrc
(const nsAString
*aSrc
);
1937 nsresult GetWidth
(nsAString
*aWidth
);
1938 nsresult SetWidth
(const nsAString
*aWidth
);
1939 nsresult GetContentDocument
(nsIDOMDocument
**aContentDocument
);
1940 nsresult GetContentWindow
(nsIDOMWindow
**aContentWindow
);
1941 nsresult GetMozAllowFullScreen
(bool
*aMozAllowFullScreen
);
1942 nsresult SetMozAllowFullScreen
(bool aMozAllowFullScreen
);
1947 uuid(4b529afd
-ada8
-4a2c
-a70b
-a4e2ead2329d
),
1950 interface nsIDOMHTMLFrameElement
: nsIDOMHTMLElement
1952 nsresult GetFrameBorder
(nsAString
*aFrameBorder
);
1953 nsresult SetFrameBorder
(const nsAString
*aFrameBorder
);
1954 nsresult GetLongDesc
(nsAString
*aLongDesc
);
1955 nsresult SetLongDesc
(const nsAString
*aLongDesc
);
1956 nsresult GetMarginHeight
(nsAString
*aMarginHeight
);
1957 nsresult SetMarginHeight
(const nsAString
*aMarginHeight
);
1958 nsresult GetMarginWidth
(nsAString
*aMarginWidth
);
1959 nsresult SetMarginWidth
(const nsAString
*aMarginWidth
);
1960 nsresult GetName
(nsAString
*aName
);
1961 nsresult SetName
(const nsAString
*aName
);
1962 nsresult GetNoResize
(bool
*aNoResize
);
1963 nsresult SetNoResize
(bool aNoResize
);
1964 nsresult GetScrolling
(nsAString
*aScrolling
);
1965 nsresult SetScrolling
(const nsAString
*aScrolling
);
1966 nsresult GetSrc
(nsAString
*aSrc
);
1967 nsresult SetSrc
(const nsAString
*aSrc
);
1968 nsresult GetContentDocument
(nsIDOMDocument
**aContentDocument
);
1969 nsresult GetContentWindow
(nsIDOMWindow
**aContentWindow
);
1974 uuid(dbb14d7b
-05ce
-4abd
-a980
-9aedede612af
),
1977 interface nsIDOMHTMLObjectElement
: nsIDOMHTMLElement
1979 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1980 nsresult GetCode
(nsAString
*aCode
);
1981 nsresult SetCode
(const nsAString
*aCode
);
1982 nsresult GetAlign
(nsAString
*aAlign
);
1983 nsresult SetAlign
(const nsAString
*aAlign
);
1984 nsresult GetArchive
(nsAString
*aArchive
);
1985 nsresult SetArchive
(const nsAString
*aArchive
);
1986 nsresult GetBorder
(nsAString
*aBorder
);
1987 nsresult SetBorder
(const nsAString
*aBorder
);
1988 nsresult GetCodeBase
(nsAString
*aCodeBase
);
1989 nsresult SetCodeBase
(const nsAString
*aCodeBase
);
1990 nsresult GetCodeType
(nsAString
*aCodeType
);
1991 nsresult SetCodeType
(const nsAString
*aCodeType
);
1992 nsresult GetData
(nsAString
*aData
);
1993 nsresult SetData
(const nsAString
*aData
);
1994 nsresult GetDeclare
(bool
*aDeclare
);
1995 nsresult SetDeclare
(bool aDeclare
);
1996 nsresult GetHeight
(nsAString
*aHeight
);
1997 nsresult SetHeight
(const nsAString
*aHeight
);
1998 nsresult GetHspace
(PRInt32
*aHspace
);
1999 nsresult SetHspace
(PRInt32 aHspace
);
2000 nsresult GetName
(nsAString
*aName
);
2001 nsresult SetName
(const nsAString
*aName
);
2002 nsresult GetStandby
(nsAString
*aStandby
);
2003 nsresult SetStandby
(const nsAString
*aStandby
);
2004 nsresult GetType
(nsAString
*aType
);
2005 nsresult SetType
(const nsAString
*aType
);
2006 nsresult GetUseMap
(nsAString
*aUseMap
);
2007 nsresult SetUseMap
(const nsAString
*aUseMap
);
2008 nsresult GetVspace
(PRInt32
*aVspace
);
2009 nsresult SetVspace
(PRInt32 aVspace
);
2010 nsresult GetWidth
(nsAString
*aWidth
);
2011 nsresult SetWidth
(const nsAString
*aWidth
);
2012 nsresult GetContentDocument
(nsIDOMDocument
**aContentDocument
);
2013 nsresult GetWillValidate
(bool
*aWillValidate
);
2014 nsresult GetValidity
(nsIDOMValidityState
**aValidity
);
2015 nsresult GetValidationMessage
(nsAString
*aValidationMessage
);
2016 nsresult CheckValidity
(bool
*_retval
);
2017 nsresult SetCustomValidity
(const nsAString
*error
);
2022 uuid(1f0685fb
-bf49
-4c39
-b08d
-7d75b1e5e493
),
2025 interface nsIDOMHTMLParamElement
: nsIDOMHTMLElement
2027 nsresult GetName
(nsAString
*aName
);
2028 nsresult SetName
(const nsAString
*aName
);
2029 nsresult GetType
(nsAString
*aType
);
2030 nsresult SetType
(const nsAString
*aType
);
2031 nsresult GetValue
(nsAString
*aValue
);
2032 nsresult SetValue
(const nsAString
*aValue
);
2033 nsresult GetValueType
(nsAString
*aValueType
);
2034 nsresult SetValueType
(const nsAString
*aValueType
);
2039 uuid(04c29aaa
-2239-42a9
-ade0
-0ba3134c1a8e
),
2042 interface nsIDOMHTMLStyleElement
: nsIDOMHTMLElement
2044 nsresult GetDisabled
(bool
*aDisabled
);
2045 nsresult SetDisabled
(bool aDisabled
);
2046 nsresult GetMedia
(nsAString
*aMedia
);
2047 nsresult SetMedia
(const nsAString
*aMedia
);
2048 nsresult GetType
(nsAString
*aType
);
2049 nsresult SetType
(const nsAString
*aType
);
2054 uuid(94928ab3
-8b63
-11d3
-989d
-001083010e9b
),
2057 interface nsIURIContentListener
: nsISupports
2059 nsresult OnStartURIOpen
(nsIURI
*aURI
, bool
*_retval
);
2060 nsresult DoContent
(const char *aContentType
, bool aIsContentPreferred
, nsIRequest
*aRequest
,
2061 nsIStreamListener
**aContentHandler
, bool
*_retval
);
2062 nsresult IsPreferred
(const char *aContentType
, char **aDesiredContentType
, bool
*_retval
);
2063 nsresult CanHandleContent
(const char *aContentType
, bool aIsContentPreferred
,
2064 char **aDesiredContentType
, bool
*_retval
);
2065 nsresult GetLoadCookie
(nsISupports
**aLoadCookie
);
2066 nsresult SetLoadCookie
(nsISupports
*aLoadCookie
);
2067 nsresult GetParentContentListener
(nsIURIContentListener
**aParentContentListener
);
2068 nsresult SetParentContentListener
(nsIURIContentListener
*aParentContentListener
);
2073 uuid(44b78386
-1dd2
-11b2
-9ad2
-e4eee2ca1916
),
2076 interface nsITooltipListener
: nsISupports
2078 nsresult OnShowTooltip
(PRInt32 aXCoords
, PRInt32 aYCoords
, const PRUnichar
*aTipText
);
2079 nsresult OnHideTooltip
();
2084 uuid(33e9d001
-caab
-4ba9
-8961-54902f197202
),
2087 interface nsIWebBrowser
: nsISupports
2089 nsresult AddWebBrowserListener
(nsIWeakReference
*aListener
, const nsIID
*aIID
);
2090 nsresult RemoveWebBrowserListener
(nsIWeakReference
*aListener
, const nsIID
*aIID
);
2091 nsresult GetContainerWindow
(nsIWebBrowserChrome
**aContainerWindow
);
2092 nsresult SetContainerWindow
(nsIWebBrowserChrome
*aContainerWindow
);
2093 nsresult GetParentURIContentListener
(nsIURIContentListener
**aParentURIContentListener
);
2094 nsresult SetParentURIContentListener
(nsIURIContentListener
*aParentURIContentListener
);
2095 nsresult GetContentDOMWindow
(nsIDOMWindow
**aContentDOMWindow
);
2096 nsresult GetIsActive
(bool
*aIsActive
);
2097 nsresult SetIsActive
(bool aIsActive
);
2100 cpp_quote
("#define SETUP_ALLOW_JAVASCRIPT 2")
2101 cpp_quote
("#define SETUP_IS_CHROME_WRAPPER 7")
2105 uuid(f15398a0
-8018-11d3
-af70
-00a024ffc08c
),
2108 interface nsIWebBrowserSetup
: nsISupports
2110 nsresult SetProperty
(PRUint32 aId
, PRUint32 aValue
);
2113 typedef void* nativeWindow
;
2117 uuid(7144ac8b
-6702-4a4b
-a73d
-d1d4e9717e46
),
2120 interface nsIBaseWindow
: nsISupports
2122 nsresult InitWindow
(nativeWindow parentNativeWindow
, nsIWidget
*parentWidget
, PRInt32 x
,
2123 PRInt32 y
, PRInt32 cx
, PRInt32 cy
);
2126 nsresult SetPosition
(PRInt32 x
, PRInt32 y
);
2127 nsresult GetPosition
(PRInt32
*x
, PRInt32
*y
);
2128 nsresult SetSize
(PRInt32 cx
, PRInt32 cy
, bool fRepaint
);
2129 nsresult GetSize
(PRInt32
*cx
, PRInt32
*cy
);
2130 nsresult SetPositionAndSize
(PRInt32 x
, PRInt32 y
, PRInt32 cx
, PRInt32 cy
, bool fRepaint
);
2131 nsresult GetPositionAndSize
(PRInt32
*x
, PRInt32
*y
, PRInt32
*cx
, PRInt32
*cy
);
2132 nsresult Repaint
(bool force
);
2133 nsresult GetParentWidget
(nsIWidget
**aParentWidget
);
2134 nsresult SetParentWidget
(nsIWidget
*aParentWidget
);
2135 nsresult GetParentNativeWindow
(nativeWindow
*aParentNativeWindow
);
2136 nsresult SetParentNativeWindow
(nativeWindow aParentNativeWindow
);
2137 nsresult GetVisibility
(bool
*aVisibility
);
2138 nsresult SetVisibility
(bool aVisibility
);
2139 nsresult GetEnabled
(bool
*aEnabled
);
2140 nsresult SetEnabled
(bool aEnabled
);
2141 nsresult GetMainWidget
(nsIWidget
**aMainWidget
);
2142 nsresult SetFocus
();
2143 nsresult GetTitle
(PRUnichar
**aTitle
);
2144 nsresult SetTitle
(const PRUnichar
*aTitle
);
2147 cpp_quote
("#define LOAD_FLAGS_NONE 0x00000000")
2148 cpp_quote
("#define LOAD_REPLACE 0x00040000")
2149 cpp_quote
("#define LOAD_INITIAL_DOCUMENT_URI 0x00080000")
2153 uuid(f5d9e7b0
-d930
-11d3
-b057
-00a024ffc08c
),
2156 interface nsIWebNavigation
: nsISupports
2158 nsresult GetCanGoBack
(bool
*aCanGoBack
);
2159 nsresult GetCanGoForward
(bool
*aCanGoForward
);
2161 nsresult GoForward
();
2162 nsresult GotoIndex
(PRInt32 index
);
2163 nsresult LoadURI
(const PRUnichar
*aURI
, PRUint32 aLoadFlags
, nsIURI
*aReferrer
,
2164 nsIInputStream
*aPostData
, nsIInputStream
*aHeaders
);
2165 nsresult Reload
(PRUint32 aReloadFlags
);
2166 nsresult Stop
(PRUint32 aStopFlags
);
2167 nsresult GetDocument
(nsIDOMDocument
**aDocument
);
2168 nsresult GetCurrentURI
(nsIURI
**aCurrentURI
);
2169 nsresult GetReferringURI
(nsIURI
**aReferringURI
);
2170 nsresult GetSessionHistory
(nsISHistory
**aSessionHistory
);
2171 nsresult SetSessionHistory
(nsISHistory
*aSessionHistory
);
2176 uuid(570f39d0
-efd0
-11d3
-b093
-00a024ffc08c
),
2179 interface nsIWebProgress
: nsISupports
2181 nsresult AddProgressListener
(nsIWebProgressListener
*aListener
, PRUint32 aNotifyMask
);
2182 nsresult RemoveProgressListener
(nsIWebProgressListener
*aListener
);
2183 nsresult GetDOMWindow
(nsIDOMWindow
**aDOMWindow
);
2184 nsresult GetIsLoadingDocument
(bool
*aIsLoadingDocument
);
2189 uuid(4404c94b
-0506-4255-9e3c
-4582dba6cfbb
),
2192 interface nsIPrintSettings
: nsISupports
2194 typedef struct { char dummy
; } nsIntMargin
;
2196 nsresult SetPrintOptions
(PRInt32 aType
, bool aTurnOnOff
);
2197 nsresult GetPrintOptions
(PRInt32 aType
, bool
*_retval
);
2198 nsresult GetPrintOptionsBits
(PRInt32
*_retval
);
2199 nsresult GetEffectivePageSize
(double *aWidth
, double *aHeight
);
2200 nsresult Clone
(nsIPrintSettings
**_retval
);
2201 nsresult Assign
(nsIPrintSettings
*aPS
);
2202 nsresult GetPrintSession
(nsIPrintSession
**aPrintSession
);
2203 nsresult SetPrintSession
(nsIPrintSession
*aPrintSession
);
2204 nsresult GetStartPageRange
(PRInt32
*aStartPageRange
);
2205 nsresult SetStartPageRange
(PRInt32 aStartPageRange
);
2206 nsresult GetEndPageRange
(PRInt32
*aEndPageRange
);
2207 nsresult SetEndPageRange
(PRInt32 aEndPageRange
);
2208 nsresult GetEdgeTop
(double *aEdgeTop
);
2209 nsresult SetEdgeTop
(double aEdgeTop
);
2210 nsresult GetEdgeLeft
(double *aEdgeLeft
);
2211 nsresult SetEdgeLeft
(double aEdgeLeft
);
2212 nsresult GetEdgeBottom
(double *aEdgeBottom
);
2213 nsresult SetEdgeBottom
(double aEdgeBottom
);
2214 nsresult GetEdgeRight
(double *aEdgeRight
);
2215 nsresult SetEdgeRight
(double aEdgeRight
);
2216 nsresult GetMarginTop
(double *aMarginTop
);
2217 nsresult SetMarginTop
(double aMarginTop
);
2218 nsresult GetMarginLeft
(double *aMarginLeft
);
2219 nsresult SetMarginLeft
(double aMarginLeft
);
2220 nsresult GetMarginBottom
(double *aMarginBottom
);
2221 nsresult SetMarginBottom
(double aMarginBottom
);
2222 nsresult GetMarginRight
(double *aMarginRight
);
2223 nsresult SetMarginRight
(double aMarginRight
);
2224 nsresult GetUnwriteableMarginTop
(double *aUnwriteableMarginTop
);
2225 nsresult SetUnwriteableMarginTop
(double aUnwriteableMarginTop
);
2226 nsresult GetUnwriteableMarginLeft
(double *aUnwriteableMarginLeft
);
2227 nsresult SetUnwriteableMarginLeft
(double aUnwriteableMarginLeft
);
2228 nsresult GetUnwriteableMarginBottom
(double *aUnwriteableMarginBottom
);
2229 nsresult SetUnwriteableMarginBottom
(double aUnwriteableMarginBottom
);
2230 nsresult GetUnwriteableMarginRight
(double *aUnwriteableMarginRight
);
2231 nsresult SetUnwriteableMarginRight
(double aUnwriteableMarginRight
);
2232 nsresult GetScaling
(double *aScaling
);
2233 nsresult SetScaling
(double aScaling
);
2234 nsresult GetPrintBGColors
(bool
*aPrintBGColors
);
2235 nsresult SetPrintBGColors
(bool aPrintBGColors
);
2236 nsresult GetPrintBGImages
(bool
*aPrintBGImages
);
2237 nsresult SetPrintBGImages
(bool aPrintBGImages
);
2238 nsresult GetPrintRange
(PRInt16
*aPrintRange
);
2239 nsresult SetPrintRange
(PRInt16 aPrintRange
);
2240 nsresult GetTitle
(PRUnichar
**aTitle
);
2241 nsresult SetTitle
(const PRUnichar
*aTitle
);
2242 nsresult GetDocURL
(PRUnichar
**aDocURL
);
2243 nsresult SetDocURL
(const PRUnichar
*aDocURL
);
2244 nsresult GetHeaderStrLeft
(PRUnichar
**aHeaderStrLeft
);
2245 nsresult SetHeaderStrLeft
(const PRUnichar
*aHeaderStrLeft
);
2246 nsresult GetHeaderStrCenter
(PRUnichar
**aHeaderStrCenter
);
2247 nsresult SetHeaderStrCenter
(const PRUnichar
*aHeaderStrCenter
);
2248 nsresult GetHeaderStrRight
(PRUnichar
**aHeaderStrRight
);
2249 nsresult SetHeaderStrRight
(const PRUnichar
*aHeaderStrRight
);
2250 nsresult GetFooterStrLeft
(PRUnichar
**aFooterStrLeft
);
2251 nsresult SetFooterStrLeft
(const PRUnichar
*aFooterStrLeft
);
2252 nsresult GetFooterStrCenter
(PRUnichar
**aFooterStrCenter
);
2253 nsresult SetFooterStrCenter
(const PRUnichar
*aFooterStrCenter
);
2254 nsresult GetFooterStrRight
(PRUnichar
**aFooterStrRight
);
2255 nsresult SetFooterStrRight
(const PRUnichar
*aFooterStrRight
);
2256 nsresult GetHowToEnableFrameUI
(PRInt16
*aHowToEnableFrameUI
);
2257 nsresult SetHowToEnableFrameUI
(PRInt16 aHowToEnableFrameUI
);
2258 nsresult GetIsCancelled
(bool
*aIsCancelled
);
2259 nsresult SetIsCancelled
(bool aIsCancelled
);
2260 nsresult GetPrintFrameTypeUsage
(PRInt16
*aPrintFrameTypeUsage
);
2261 nsresult SetPrintFrameTypeUsage
(PRInt16 aPrintFrameTypeUsage
);
2262 nsresult GetPrintFrameType
(PRInt16
*aPrintFrameType
);
2263 nsresult SetPrintFrameType
(PRInt16 aPrintFrameType
);
2264 nsresult GetPrintSilent
(bool
*aPrintSilent
);
2265 nsresult SetPrintSilent
(bool aPrintSilent
);
2266 nsresult GetShrinkToFit
(bool
*aShrinkToFit
);
2267 nsresult SetShrinkToFit
(bool aShrinkToFit
);
2268 nsresult GetShowPrintProgress
(bool
*aShowPrintProgress
);
2269 nsresult SetShowPrintProgress
(bool aShowPrintProgress
);
2270 nsresult GetPaperName
(PRUnichar
**aPaperName
);
2271 nsresult SetPaperName
(const PRUnichar
*aPaperName
);
2272 nsresult GetPaperSizeType
(PRInt16
*aPaperSizeType
);
2273 nsresult SetPaperSizeType
(PRInt16 aPaperSizeType
);
2274 nsresult GetPaperData
(PRInt16
*aPaperData
);
2275 nsresult SetPaperData
(PRInt16 aPaperData
);
2276 nsresult GetPaperWidth
(double *aPaperWidth
);
2277 nsresult SetPaperWidth
(double aPaperWidth
);
2278 nsresult GetPaperHeight
(double *aPaperHeight
);
2279 nsresult SetPaperHeight
(double aPaperHeight
);
2280 nsresult GetPaperSizeUnit
(PRInt16
*aPaperSizeUnit
);
2281 nsresult SetPaperSizeUnit
(PRInt16 aPaperSizeUnit
);
2282 nsresult GetPlexName
(PRUnichar
**aPlexName
);
2283 nsresult SetPlexName
(const PRUnichar
*aPlexName
);
2284 nsresult GetColorspace
(PRUnichar
**aColorspace
);
2285 nsresult SetColorspace
(const PRUnichar
*aColorspace
);
2286 nsresult GetResolutionName
(PRUnichar
**aResolutionName
);
2287 nsresult SetResolutionName
(const PRUnichar aResolutionName
);
2288 nsresult GetDownloadFonts
(bool
*aDownloadFonts
);
2289 nsresult SetDownloadFonts
(bool aDownloadFonts
);
2290 nsresult GetPrintReversed
(bool
*aPrintReversed
);
2291 nsresult SetPrintReversed
(bool aPrintReversed
);
2292 nsresult GetPrintInColor
(bool
*aPrintInColor
);
2293 nsresult SetPrintInColor
(bool aPrintInColor
);
2294 nsresult GetOrientation
(PRInt32
*aOrientation
);
2295 nsresult SetOrientation
(PRInt32 aOrientation
);
2296 nsresult GetPrintCommand
(PRUnichar
**aPrintCommand
);
2297 nsresult SetPrintCommand
(const PRUnichar
*aPrintCommand
);
2298 nsresult GetNumCopies
(PRInt32
*aNumCopies
);
2299 nsresult SetNumCopies
(PRInt32 aNumCopies
);
2300 nsresult GetPrinterName
(PRUnichar
**aPrinterName
);
2301 nsresult SetPrinterName
(const PRUnichar
*aPrinterName
);
2302 nsresult GetPrintToFile
(bool
*aPrintToFile
);
2303 nsresult SetPrintToFile
(bool aPrintToFile
);
2304 nsresult GetToFileName
(PRUnichar
**aToFileName
);
2305 nsresult SetToFileName
(const PRUnichar
*aToFileName
);
2306 nsresult GetOutputFormat
(PRInt16
*aOutputFormat
);
2307 nsresult SetOutputFormat
(PRInt16 aOutputFormat
);
2308 nsresult GetPrintPageDelay
(PRInt32
*aPrintPageDelay
);
2309 nsresult SetPrintPageDelay
(PRInt32 aPrintPageDelay
);
2310 nsresult GetIsInitializedFromPrinter
(bool
*aIsInitializedFromPrinter
);
2311 nsresult SetIsInitializedFromPrinter
(bool aIsInitializedFromPrinter
);
2312 nsresult GetIsInitializedFromPrefs
(bool
*aIsInitializedFromPrefs
);
2313 nsresult SetIsInitializedFromPrefs
(bool aIsInitializedFromPrefs
);
2314 nsresult SetMarginInTwips
(nsIntMargin
*aMargin
);
2315 nsresult SetEdgeInTwips
(nsIntMargin
*aEdge
);
2316 nsresult GetMarginInTwips
(nsIntMargin
*aMargin
);
2317 nsresult GetEdgeInTwips
(nsIntMargin
*aEdge
);
2318 nsresult SetupSilentPrinting
();
2319 nsresult SetUnwriteableMarginInTwips
(nsIntMargin
*aEdge
);
2320 nsresult GetUnwriteableMarginInTwips
(nsIntMargin
*aEdge
);
2321 nsresult GetPageRanges
(void * /*nsTArray<PRInt32>&*/ aPages
);
2326 uuid(9a7ca4b0
-fbba
-11d4
-a869
-00105a183419
),
2329 interface nsIWebBrowserPrint
: nsISupports
2331 nsresult GetGlobalPrintSettings
(nsIPrintSettings
**aGlobalPrintSettings
);
2332 nsresult GetCurrentPrintSettings
(nsIPrintSettings
**aCurrentPrintSettings
);
2333 nsresult GetCurrentChildDOMWindow
(nsIDOMWindow
**aCurrentChildDOMWindow
);
2334 nsresult GetDoingPrint
(bool
*aDoingPrint
);
2335 nsresult GetDoingPrintPreview
(bool
*aDoingPrintPreview
);
2336 nsresult GetIsFramesetDocument
(bool
*aIsFramesetDocument
);
2337 nsresult GetIsFramesetFrameSelected
(bool
*aIsFramesetFrameSelected
);
2338 nsresult GetIsIFrameSelected
(bool
*aIsIFrameSelected
);
2339 nsresult GetIsRangeSelection
(bool
*aIsRangeSelection
);
2340 nsresult GetPrintPreviewNumPages
(PRInt32
*aPrintPreviewNumPages
);
2341 nsresult Print
(nsIPrintSettings
*aThePrintSettings
, nsIWebProgressListener
*aWPListener
);
2342 nsresult PrintPreview
(nsIPrintSettings
*aThePrintSettings
, nsIDOMWindow
*aChildDOMWin
,
2343 nsIWebProgressListener
*aWPListener
);
2344 nsresult PrintPreviewNavigate
(PRInt16 aNavType
, PRInt32 aPageNum
);
2346 nsresult EnumerateDocumentNames
(PRUint32
*aCount
, PRUnichar
***aResult
);
2347 nsresult ExitPrintPreview
();
2352 uuid(919e792a
-6490-40b8
-bba5
-f9e9ad5640c8
),
2355 interface nsIScrollable
: nsISupports
2358 ScrollOrientation_X
= 1,
2359 ScrollOrientation_Y
= 2
2364 Scrollbar_Never
= 2,
2365 Scrollbar_Always
= 3
2368 nsresult GetCurScrollPos
(PRInt32 scrollOrientation
, PRInt32
*curPos
);
2369 nsresult SetCurScrollPos
(PRInt32 scrollOrientation
, PRInt32 curPos
);
2370 nsresult SetCurScrollPosEx
(PRInt32 curHorizontalPos
, PRInt32 curVerticalPos
);
2371 nsresult GetScrollRange
(PRInt32 scrollOrientation
, PRInt32
*minPos
, PRInt32
*maxPos
);
2372 nsresult SetScrollRange
(PRInt32 scrollOrientation
, PRInt32 minPos
, PRInt32 maxPos
);
2373 nsresult SetScrollRangeEx
(PRInt32 minHorizontalPos
, PRInt32 maxHorizontalPos
,
2374 PRInt32 minVerticalPos
, PRInt32 maxVerticalPos
);
2375 nsresult GetDefaultScrollbarPreferences
(PRInt32 scrollOrientation
, PRInt32
*scrollbarPref
);
2376 nsresult SetDefaultScrollbarPreferences
(PRInt32 scrollOrientation
, PRInt32 scrollbarPref
);
2377 nsresult GetScrollbarVisibility
(bool
*verticalVisible
, bool
*horizontalVisible
);
2382 uuid(c8c0a080
-0868-11d3
-915f
-d9d889d48e3c
),
2385 interface nsIFile
: nsISupports
2387 nsresult Append
(const nsAString
*node
);
2388 nsresult AppendNative
(const nsAString
*node
);
2389 nsresult Normalize
();
2390 nsresult Create
(PRUint32 type
, PRUint32 permission
);
2391 nsresult GetLeafName
(nsAString
*aLeafName
);
2392 nsresult SetLeafName
(const nsAString
*aLeafName
);
2393 nsresult GetNativeLeafName
(nsAString
*aLeafName
);
2394 nsresult SetNativeLeafName
(const nsAString
*aLeafName
);
2395 nsresult CopyTo
(nsIFile
*newParentDir
, const nsAString
*newName
);
2396 nsresult CopyToNative
(nsIFile
*newParentDir
, const nsAString
*newName
);
2397 nsresult CopyToFollowingLinks
(nsIFile
*newParentDir
, const nsAString
*newName
);
2398 nsresult CopyToFollowingLinksNative
(nsIFile
*newParentDir
, const nsAString
*newName
);
2399 nsresult MoveTo
(nsIFile
*newParentDir
, const nsAString
*newName
);
2400 nsresult MoveToNative
(nsIFile
*newParentDir
, const nsAString
*newName
);
2401 nsresult Remove
(bool recursive
);
2402 nsresult GetPermissions
(PRUint32
*aPermissions
);
2403 nsresult SetPermissions
(PRUint32 pPermissions
);
2404 nsresult GetPermissionsOfLink
(PRUint32
*aPermissions
);
2405 nsresult SetPermissionsOfLink
(PRUint32 pPermissions
);
2406 nsresult GetLastModifiedTime
(PRInt64
*aLastModifiedTime
);
2407 nsresult SetLastModifiedTime
(PRInt64 aLastModifiedTime
);
2408 nsresult GetLastModifiedTimeOfLink
(PRInt64
*aLastModifiedTimeOfLink
);
2409 nsresult SetLastModifiedTimeOfLink
(PRInt64 aLastModifiedTimeOfLink
);
2410 nsresult GetFileSize
(PRInt64
*aFileSize
);
2411 nsresult SetFileSize
(PRInt64 aFileSize
);
2412 nsresult GetFileSizeOfLink
(PRInt64
*aFileSizeOfLink
);
2413 nsresult GetTarget
(nsAString
*aTarget
);
2414 nsresult GetNativeTarget
(nsACString
*aNativeTarget
);
2415 nsresult GetPath
(nsAString
*aPath
);
2416 nsresult GetNativePath
(nsACString
*aNativePath
);
2417 nsresult Exists
(bool
*_retval
);
2418 nsresult IsWritable
(bool
*_retval
);
2419 nsresult IsReadable
(bool
*_retval
);
2420 nsresult IsExecutable
(bool
*_retval
);
2421 nsresult IsHidden
(bool
*_retval
);
2422 nsresult IsDirectory
(bool
*_retval
);
2423 nsresult IsFile
(bool
*_retval
);
2424 nsresult IsSymlink
(bool
*_retval
);
2425 nsresult IsSpecial
(bool
*_retval
);
2426 nsresult CreateUnique
(PRUint32 type
, PRUint32 permission
);
2427 nsresult Clone
(nsIFile
**_retval
);
2428 nsresult Equals
(nsIFile
*inFile
, bool
*_retval
);
2429 nsresult Contains
(nsIFile
*inFile
, bool recir
, bool
*_retval
);
2430 nsresult GetParent
(nsIFile
**aParent
);
2431 nsresult GetDirectoryEntries
(nsISimpleEnumerator
**aDirectoryEntries
);
2436 uuid(7df46a54
-d8b0
-448e-903c
-4341a1b2499c
),
2439 interface nsIPrefBranch
: nsISupports
2441 nsresult GetRoot
(char **aRoot
);
2442 nsresult GetPrefType
(const char *aPrefName
, PRInt32
*_retval
);
2443 nsresult GetBoolPref
(const char *aPrefName
, bool
*_retval
);
2444 nsresult SetBoolPref
(const char *aPrefName
, bool aValue
);
2445 nsresult GetCharPref
(const char *aPrefName
, char **_retval
);
2446 nsresult SetCharPref
(const char *aPrefName
, const char *aValue
);
2447 nsresult GetIntPref
(const char *aPrefName
, PRInt32
*_retval
);
2448 nsresult SetIntPref
(const char *aPrefName
, PRInt32 aValue
);
2449 nsresult GetComplexValue
(const char *aPrefName
, const nsIID
*aType
, void **aValue
);
2450 nsresult SetComplexValue
(const char *aPrefName
, const nsIID
*aType
, nsISupports
*aValue
);
2451 nsresult ClearUserPref
(const char *aPrefName
);
2452 nsresult LockPref
(const char *aPrefName
);
2453 nsresult PrefHasUserValue
(const char *aPrefName
, bool
*_retval
);
2454 nsresult PrefIsLocked
(const char *aPrefName
, bool
*_retval
);
2455 nsresult UnlockPref
(const char *aPrefName
);
2456 nsresult DeleteBranch
(const char *aStartingAt
);
2457 nsresult GetChildList
(const char *aStartingAt
, PRUint32
*aCount
, char ***aChildArray
);
2458 nsresult ResetBranch
(const char *aStartingAt
);
2459 nsresult AddObserver
(const char *aDomain
, nsIObserver
*aObserver
, bool aHoldWeak
);
2460 nsresult RemoveObserver
(const char *aDomain
, nsIObserver
*aObserver
);
2465 uuid(bbf8cab0
-d43a
-11d3
-8cc2
-00609792278c
),
2468 interface nsIDirectoryServiceProvider
: nsISupports
2470 nsresult GetFile
(const char *prop
, bool
*persistent
, nsIFile
**_retval
);
2475 uuid(15fd6940
-8ea7
-11d3
-93ad
-00104ba0fd40
),
2478 interface nsIProtocolHandler
: nsISupports
2480 nsresult GetScheme
(nsACString
*aScheme
);
2481 nsresult GetDefaultPort
(PRInt32
*aDefaultPort
);
2482 nsresult GetProtocolFlags
(PRUint32
*aProtocolFlags
);
2483 nsresult NewURI
(const nsACString
*aSpec
, const char *aOriginCharset
,
2484 nsIURI
*aBaseURI
, nsIURI
**_retval
);
2485 nsresult NewChannel
(nsIURI
*aURI
, nsIChannel
**_retval
);
2486 nsresult AllowPort
(PRInt32 port
, const char *scheme
, bool
*_retval
);
2491 uuid(0e61f3b2
-34d7
-4c79
-bfdc
-4860bc7341b7
),
2494 interface nsIExternalProtocolHandler
: nsIProtocolHandler
2496 nsresult ExternalAppExistsForScheme
(const nsACString
*scheme
, bool
*_retval
);
2501 uuid(bddeda3f
-9020-4d12
-8c70
-984ee9f7935e
),
2504 interface nsIIOService
: nsISupports
2506 nsresult GetProtocolHandler
(const char *aScheme
, nsIProtocolHandler
**_retval
);
2507 nsresult GetProtocolFlags
(const char *aScheme
, PRUint32
*_retval
);
2508 nsresult NewURI
(const nsACString
*aSpec
, const char *aOriginCharset
, nsIURI
*aBaseURI
,
2510 nsresult NewFileURI
(nsIFile
*aFile
, nsIURI
**_retval
);
2511 nsresult NewChannelFromURI
(nsIURI
*aURI
, nsIChannel
**_retval
);
2512 nsresult NewChannel
(const nsACString
*aSpec
, const char *aOriginCharset
, nsIURI
*aBaseURI
,
2513 nsIChannel
**_retval
);
2514 nsresult GetOffline
(bool
*aOffline
);
2515 nsresult SetOffline
(bool aOffline
);
2516 nsresult AllowPort
(PRInt32 aPort
, const char *aScheme
, bool
*_retval
);
2517 nsresult ExtractScheme
(const nsACString
*urlString
, nsACString
*_retval
);
2522 uuid(ca68c485
-9db3
-4c12
-82a6
-4fab7948e2d5
),
2525 interface nsINetUtil
: nsISupports
2527 nsresult ParseContentType
(const nsACString
*aTypeHeader
, nsACString
*aCharset
,
2528 bool
*aHadCharset
, nsACString
*_retval
);
2529 nsresult ProtocolHasFlags
(nsIURI
*aURI
, PRUint32 aFlag
, bool
*_retval
);
2530 nsresult URIChainHasFlags
(nsIURI
*aURI
, PRUint32 aFlags
, bool
*_retval
);
2531 nsresult ToImmutableURI
(nsIURI
*aURI
, nsIURI
**_retval
);
2532 nsresult NewSimpleNestedURI
(nsIURI
*aURI
, nsIURI
**_retval
);
2533 nsresult EscapeString
(const nsACString
*aString
, PRUint32 aEscapeType
, nsACString
*_retval
);
2534 nsresult EscapeURL
(const nsACString
*aStr
, PRUint32 aFlags
, nsACString
*_retval
);
2535 nsresult UnescapeString
(const nsACString
*aStr
, PRUint32 aFlags
, nsACString
*_retval
);
2536 nsresult ExtractCharsetFromContentType
(const nsACString
*aTypeHeader
, nsACString
*aCharset
,
2537 PRInt32
*aCharsetStart
, PRInt32
*aCharsetEnd
, bool
*_retval
);
2542 uuid(9c5d3c58
-1dd1
-11b2
-a1c9
-f3699284657a
),
2545 interface nsIWebBrowserFocus
: nsISupports
2547 nsresult Activate
();
2548 nsresult Deactivate
();
2549 nsresult SetFocusAtFirstElement
();
2550 nsresult SetFocusAtLastElement
();
2551 nsresult GetFocusedWindow
(nsIDOMWindow
**aFocusedWindow
);
2552 nsresult SetFocusedWindow
(nsIDOMWindow
*aFocusedWindow
);
2553 nsresult GetFocusedElement
(nsIDOMElement
**aFocusedElement
);
2554 nsresult SetFocusedElement
(nsIDOMElement
*aFocusedElement
);
2559 uuid(e8c414c4
-dc38
-4ba3
-ab4e
-ec4cbbe22907
),
2562 interface nsIWebBrowserChrome
: nsISupports
2564 nsresult SetStatus
(PRUint32 statusType
, const PRUnichar
*status
);
2565 nsresult GetWebBrowser
(nsIWebBrowser
**aWebBrowser
);
2566 nsresult SetWebBrowser
(nsIWebBrowser
*aWebBrowser
);
2567 nsresult GetChromeFlags
(PRUint32
*aChromeFlags
);
2568 nsresult SetChromeFlags
(PRUint32 aChromeFlags
);
2569 nsresult DestroyBrowserWindow
();
2570 nsresult SizeBrowserTo
(PRInt32 aCX
, PRInt32 aCY
);
2571 nsresult ShowAsModal
();
2572 nsresult IsWindowModal
(bool
*_retval
);
2573 nsresult ExitModalEventLoop
(nsresult aStatus
);
2578 uuid(df31c120
-ded6
-11d1
-bd85
-00805f8ae3f4
),
2581 interface nsIDOMEventListener
: nsISupports
2583 nsresult HandleEvent
(nsIDOMEvent
*event
);
2588 uuid(8e375931
-298d
-4d0a
-9cb4
-5668f0cdc5a8
),
2591 interface nsIDOMEventTarget
: nsISupports
2593 nsresult AddEventListener
(const nsAString
*type
, nsIDOMEventListener
*listener
, bool useCapture
, bool wantsUntrusted
, PRUint8 _argc
);
2594 nsresult AddSystemEventListener
(const nsAString
*type
, nsIDOMEventListener
*listener
, bool aUseCapture
, bool aWantsUntrusted
, PRUint8 _argc
);
2595 nsresult RemoveEventListener
(const nsAString
*type
, nsIDOMEventListener
*listener
, bool useCapture
);
2596 nsresult RemoveSystemEventListener
(const nsAString
*type
, nsIDOMEventListener
*listener
, bool aUseCapture
);
2597 nsresult DispatchEvent
(nsIDOMEvent
*evt
, bool
*_retval
);
2599 /* Followed by methods we should try to avoid using */
2604 uuid(e85cff74
-951f
-45c1
-be0c
-89442ea2f500
),
2607 interface nsIDOMEvent
: nsISupports
2609 nsresult GetType
(nsAString
*aType
);
2610 nsresult GetTarget
(nsIDOMEventTarget
**aTarget
);
2611 nsresult GetCurrentTarget
(nsIDOMEventTarget
**aCurrentTarget
);
2612 nsresult GetEventPhase
(PRUint16
*aEventPhase
);
2613 nsresult GetBubbles
(bool
*aBubbles
);
2614 nsresult GetCancelable
(bool
*aCancelable
);
2615 nsresult GetTimeStamp
(DOMTimeStamp
*aTimeStamp
);
2616 nsresult StopPropagation
();
2617 nsresult PreventDefault
();
2618 nsresult InitEvent
(const nsAString
*eventTypeArg
, bool canBubbleArg
, bool cancelableArg
);
2619 nsresult GetDefaultPrevented
(bool
*aDefaultPrevented
);
2620 nsresult StopImmediatePropagation
();
2623 cpp_quote
("#define CONTEXT_NONE 0x00")
2624 cpp_quote
("#define CONTEXT_LINK 0x01")
2625 cpp_quote
("#define CONTEXT_IMAGE 0x02")
2626 cpp_quote
("#define CONTEXT_DOCUMENT 0x04")
2627 cpp_quote
("#define CONTEXT_TEXT 0x08")
2628 cpp_quote
("#define CONTEXT_INPUT 0x10")
2629 cpp_quote
("#define CONTEXT_BACKGROUND_IMAGE 0x20")
2633 uuid(3478b6b0
-3875-11d4
-94ef
-0020183bf181
),
2636 interface nsIContextMenuListener
: nsISupports
2638 nsresult OnShowContextMenu
(PRUint32 aContextFlags
, nsIDOMEvent
*aEvent
, nsIDOMNode
*aNode
);
2643 uuid(af3f130e
-0c22
-4613-a150
-780a46c22e3a
),
2646 interface nsIDOMUIEvent
: nsIDOMEvent
2648 nsresult GetView
(nsIDOMWindow
**aView
);
2649 nsresult GetDetail
(PRInt32
*aDetail
);
2650 nsresult InitUIEvent
(const nsAString
*typeArg
, bool canBubbleArg
, bool cancelableArg
,
2651 nsIDOMWindow
*viewArg
, PRInt32 detailArg
);
2652 nsresult GetLayerX
(PRInt32
*aLayerX
);
2653 nsresult GetLayerY
(PRInt32
*aLayerY
);
2654 nsresult GetPageX
(PRInt32
*aPageX
);
2655 nsresult GetPageY
(PRInt32
*aPageY
);
2656 nsresult GetWhich
(PRUint32
*aWhich
);
2657 nsresult GetRangeParent
(nsIDOMNode
* *aRangeParent
);
2658 nsresult GetRangeOffset
(PRInt32
*aRangeOffset
);
2659 nsresult GetCancelBubble
(bool
*aCancelBubble
);
2660 nsresult SetCancelBubble
(bool aCancelBubble
);
2661 nsresult GetIsChar
(bool
*aIsChar
);
2666 uuid(7f57aa45
-6792-4d8b
-ba5b
-201533cf0b2f
),
2669 interface nsIDOMMouseEvent
: nsIDOMUIEvent
2671 nsresult GetScreenX
(PRInt32
*aScreenX
);
2672 nsresult GetScreenY
(PRInt32
*aScreenY
);
2673 nsresult GetClientX
(PRInt32
*aClientX
);
2674 nsresult GetClientY
(PRInt32
*aClientY
);
2675 nsresult GetCtrlKey
(bool
*aCtrlKey
);
2676 nsresult GetShiftKey
(bool
*aShiftKey
);
2677 nsresult GetAltKey
(bool
*aAltKey
);
2678 nsresult GetMetaKey
(bool
*aMetaKey
);
2679 nsresult GetButton
(PRUint16
*aButton
);
2680 nsresult GetRelatedTarget
(nsIDOMEventTarget
**aRelatedTarget
);
2681 nsresult InitMouseEvent
(const nsAString
*typeArg
, bool canBubbleArg
, bool cancelableArg
,
2682 nsIDOMWindow
*viewArg
, PRInt32 detailArg
, PRInt32 screenXArg
, PRInt32 screenYArg
,
2683 PRInt32 clientXArg
, PRInt32 clientYArg
, bool ctrlKeyArg
, bool altKeyArg
,
2684 bool shiftKeyArg
, bool metaKeyArg
, PRUint16 buttonArg
,
2685 nsIDOMEventTarget
*relatedTargetArg
);
2686 nsresult GetMozPressure
(float *aMozPressure
);
2687 nsresult GetMozInputSource
(PRUint16
*aMozInputSource
);
2688 nsresult InitNSMouseEvent
(const nsAString
*typeArg
, bool canBubbleArg
, bool cancelableArg
,
2689 nsIDOMWindow
*viewArg
, PRInt32 detailArg
, PRInt32 screenXArg
, PRInt32 screenYArg
,
2690 PRInt32 clientXArg
, PRInt32 clientYArg
, bool ctrlKeyArg
, bool altKeyArg
, bool shiftKeyArg
,
2691 bool metaKeyArg
, PRUint16 buttonArg
, nsIDOMEventTarget
*relatedTargetArg
, float pressure
,
2692 PRUint16 inputSourceArg
);
2697 uuid(def974c3
-b491
-481b
-bc67
-29174af4b26a
),
2700 interface nsIDOMKeyEvent
: nsIDOMUIEvent
2702 nsresult GetCharCode
(PRUint32
*aCharCode
);
2703 nsresult GetKeyCode
(PRUint32
*aKeyCode
);
2704 nsresult GetAltKey
(bool
*aAltKey
);
2705 nsresult GetCtrlKey
(bool
*aCtrlKey
);
2706 nsresult GetShiftKey
(bool
*aShiftKey
);
2707 nsresult GetMetaKey
(bool
*aMetaKey
);
2708 nsresult InitKeyEvent
(const nsAString
*typeArg
, bool canBubbleArg
,
2709 bool cancelableArg
, nsIDOMWindow
*viewArg
, bool ctrlKeyArg
,
2710 bool altKeyArg
, bool shiftKeyArg
, bool metaKeyArg
, PRUint32 keyCodeArg
,
2711 PRUint32 charCodeArg
);
2716 uuid(3e5432cd
-9568-4bd1
-8cbe
-d50aba110743
),
2719 interface nsIEmbeddingSiteWindow
: nsISupports
2721 nsresult SetDimensions
(PRUint32 flags
, PRInt32 x
, PRInt32 y
, PRInt32 cx
, PRInt32 cy
);
2722 nsresult GetDimensions
(PRUint32 flags
, PRInt32
*x
, PRInt32
*y
, PRInt32
*cx
, PRInt32
*cy
);
2723 nsresult SetFocus
();
2724 nsresult GetVisibility
(bool
*aVisibility
);
2725 nsresult SetVisibility
(bool aVisibility
);
2726 nsresult GetTitle
(PRUnichar
**aTitle
);
2727 nsresult SetTitle
(const PRUnichar
*aTitle
);
2728 nsresult GetSiteWindow
(void **aSiteWindow
);
2733 uuid(2417cbfe
-65ad
-48a6
-b4b6
-eb84db174392
),
2736 interface nsIComponentRegistrar
: nsISupports
2738 nsresult AutoRegister
(nsIFile
*aSpec
);
2739 nsresult AutoUnregister
(nsIFile
*aSpec
);
2740 nsresult RegisterFactory
(const nsCID
*aClass
, const char *aClassName
,
2741 const char *aContractID
, nsIFactory
*aFactory
);
2742 nsresult UnregisterFactory
(const nsCID
*aClass
, nsIFactory
*aFactory
);
2743 nsresult RegisterFactoryLocation
(const nsCID
*aClass
, const char *aClassName
,
2744 const char *aContractID
, nsIFile
*aFile
, const char *aLoaderStr
,
2746 nsresult UnregisterFactoryLocation
(const nsCID
*aClass
, nsIFile
*aFile
);
2747 nsresult IsCIDRegistered
(const nsCID
*aClass
, bool
*_retval
);
2748 nsresult IsContractIDRegistered
(const char *aContractID
, bool
*_retval
);
2749 nsresult EnumerateCIDs
(nsISimpleEnumerator
**_retval
);
2750 nsresult EnumerateContractIDs
(nsISimpleEnumerator
**_retval
);
2751 nsresult CIDToContractID
(const nsCID
*aClass
, char **_retval
);
2752 nsresult ContractIDToCID
(const char *aContractID
, nsCID
**_retval
);
2757 uuid(1630c61a
-325e-49ca
-8759-a31b16c47aa5
),
2760 interface nsIPromptService
: nsISupports
2762 nsresult Alert
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2763 const PRUnichar
*aText
);
2764 nsresult AlertCheck
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2765 const PRUnichar
*aText
, const PRUnichar
*aCheckMsg
, bool
*aCheckState
);
2766 nsresult Confirm
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2767 const PRUnichar
*aText
, bool
*_retval
);
2768 nsresult ConfirmCheck
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2769 const PRUnichar
*aText
, const PRUnichar
*aCheckMsg
, bool
*aCheckState
,
2771 nsresult ConfirmEx
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2772 const PRUnichar
*aText
, PRUint32 aButtonFlags
, const PRUnichar
*aButton0Title
,
2773 const PRUnichar
*aButton1Title
, const PRUnichar
*aButton2Title
,
2774 const PRUnichar
*aCheckMsg
, bool
*aCheckState
, PRInt32
*_retval
);
2775 nsresult Prompt
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2776 const PRUnichar
*aText
, PRUnichar
**aValue
, const PRUnichar
*aCheckMsg
,
2777 bool
*aCheckState
, bool
*_retval
);
2778 nsresult PromptUsernameAndPassword
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2779 const PRUnichar
*aText
, PRUnichar
**aUsername
, PRUnichar
**aPassword
,
2780 const PRUnichar
*aCheckMsg
, bool
*aCheckState
, bool
*_retval
);
2781 nsresult PromptPassword
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2782 const PRUnichar
*aText
, PRUnichar
**aPassword
, const PRUnichar
*aCheckMsg
,
2783 bool
*aCheckState
, bool
*_retval
);
2784 nsresult Select
(nsIDOMWindow
*aParent
, const PRUnichar
*aDialogTitle
,
2785 const PRUnichar
*aText
, PRUint32 aCount
, const PRUnichar
**aSelectList
,
2786 PRInt32
*aOutSelection
, bool
*_retval
);
2791 uuid(b128a1e6
-44f3
-4331-8fbe
-5af360ff21ee
),
2794 interface nsITooltipTextProvider
: nsISupports
2796 nsresult GetNodeText
(nsIDOMNode
*aNode
, PRUnichar
**aText
, bool
*_retval
);
2801 uuid(02b0625a
-e7f3
-11d2
-9f5a
-006008a6efe9
),
2804 interface nsIProfile
: nsISupports
2806 nsresult GetProfileCount
(PRInt32
*aProfileCount
);
2807 nsresult GetProfileList
(PRUint32
*length
, PRUnichar
***profileNames
);
2808 nsresult ProfileExists
(const PRUnichar
*profileName
, bool
*_retval
);
2809 nsresult GetCurrentProfile
(PRUnichar
**aCurrentProfile
);
2810 nsresult SetCurrentProfile
(const PRUnichar
*aCurrentProfile
);
2811 nsresult ShutDownCurrentProfile
(PRUint32 shutDownType
);
2812 nsresult CreateNewProfile
(const PRUnichar
*profileName
,
2813 const PRUnichar
*nativeProfileDir
, const PRUnichar
*langcode
,
2814 bool useExistingDir
);
2815 nsresult RenameProfile
(const PRUnichar
*oldName
, const PRUnichar
*newName
);
2816 nsresult DeleteProfile
(const PRUnichar
*name
, bool canDeleteFiles
);
2817 nsresult CloneProfile
(const PRUnichar
*profileName
);
2822 uuid(24f3f4da
-18a4
-448d
-876d
-7360fefac029
),
2825 interface nsIEditingSession
: nsISupports
2827 nsresult GetEditorStatus
(PRUint32
*aEditorStatus
);
2828 nsresult MakeWindowEditable
(nsIDOMWindow
*window
, const char *aEditorType
,
2829 bool doAfterUriLoad
, bool aMakeWholeDocumentEditable
, bool aInteractive
);
2830 nsresult WindowIsEditable
(nsIDOMWindow
*window
, bool
*_retval
);
2831 nsresult GetEditorForWindow
(nsIDOMWindow
*window
, nsIEditor
**_retval
);
2832 nsresult SetupEditorOnWindow
(nsIDOMWindow
*window
);
2833 nsresult TearDownEditorOnWindow
(nsIDOMWindow
*window
);
2834 nsresult SetEditorOnControllers
(nsIDOMWindow
*aWindow
, nsIEditor
*aEditor
);
2835 nsresult DisableJSAndPlugins
(nsIDOMWindow
*aWindow
);
2836 nsresult RestoreJSAndPlugins
(nsIDOMWindow
*aWindow
);
2837 nsresult DetachFromWindow
(nsIDOMWindow
*aWindow
);
2838 nsresult ReattachToWindow
(nsIDOMWindow
*aWindow
);
2839 nsresult GetJsAndPluginsDisabled
(bool
*aJsAndPluginsDisabled
);
2844 uuid(83f892cf
-7ed3
-490e-967a
-62640f3158e1
),
2847 interface nsICommandParams
: nsISupports
2849 nsresult GetValueType
(const char *name
, PRInt16
*_retval
);
2850 nsresult GetBooleanValue
(const char *name
, bool
*_retval
);
2851 nsresult GetLongValue
(const char *name
, PRInt32
*_retval
);
2852 nsresult GetDoubleValue
(const char *name
, double *_retval
);
2853 nsresult GetStringValue
(const char *name
, nsAString
*_retval
);
2854 nsresult GetCStringValue
(const char *name
, char **_retval
);
2855 nsresult GetISupportsValue
(const char *name
, nsISupports
**_retval
);
2856 nsresult SetBooleanValue
(const char *name
, bool value
);
2857 nsresult SetLongValue
(const char *name
, PRInt32 value
);
2858 nsresult SetDoubleValue
(const char *name
, double value
);
2859 nsresult SetStringValue
(const char *name
, const nsAString
*value
);
2860 nsresult SetCStringValue
(const char *name
, const char *value
);
2861 nsresult SetISupportsValue
(const char *name
, nsISupports
*value
);
2862 nsresult RemoveValue
(const char *name
);
2863 nsresult HasMoreElements
(bool
*_retval
);
2865 nsresult GetNext
(char **_retval
);
2870 uuid(080d2001
-f91e
-11d4
-a73c
-f9242928207c
),
2873 interface nsICommandManager
: nsISupports
2875 nsresult AddCommandObserver
(nsIObserver
*aCommandObserver
, const char *aCommandToObserve
);
2876 nsresult RemoveCommandObserver
(nsIObserver
*aCommandObserver
, const char *aCommandObserved
);
2877 nsresult IsCommandSupported
(const char *aCommandName
, nsIDOMWindow
*aTargetWindow
, bool
*_retval
);
2878 nsresult IsCommandEnabled
(const char *aCommandName
, nsIDOMWindow
*aTargetWindow
, bool
*_retval
);
2879 nsresult GetCommandState
(const char *aCommandName
, nsIDOMWindow
*aTargetWindow
,
2880 nsICommandParams
*aCommandParams
);
2881 nsresult DoCommand
(const char *aCommandName
, nsICommandParams
*aCommandParams
,
2882 nsIDOMWindow
*aTargetWindow
);
2887 uuid(47b82b60
-a36f
-4167-8072-6f421151ed50
),
2890 interface nsIControllerContext
: nsISupports
2892 nsresult Init
(nsIControllerCommandTable
*aCommandTable
);
2893 nsresult SetCommandContext
(nsISupports
*aCommandContext
);
2898 uuid(d5b61b82
-1da4
-11d3
-bf87
-00105a1b0627
),
2901 interface nsIController
: nsISupports
2903 nsresult IsCommandEnabled
(const char *command
, bool
*_retval
);
2904 nsresult SupportsCommand
(const char *command
, bool
*_retval
);
2905 nsresult DoCommand
(const char *command
);
2906 nsresult OnEvent
(const char *eventName
);
2911 uuid(94671671-9e1b
-447a
-adb7
-c32e056a96c9
),
2914 interface nsIContent
: nsISupports
2916 /* This is not a real interface declaration. It's too internal for us. */
2921 uuid(283ec27d
-5b23
-49b2
-94d9
-09b5db453073
),
2924 interface nsIDocument
: nsISupports
2926 /* This is not a real interface declaration. It's too internal for us. */
2931 uuid(b1ee32f2
-b8c4
-49b9
-93df
-b6fab5d54688
),
2934 interface nsIContentSerializer
: nsISupports
2936 nsresult Init
(PRUint32 flags
, PRUint32 aWrapColumn
, const char *aCharSet
, bool aIsCopying
,
2937 bool aIsWholeDocument
);
2938 nsresult AppendText
(nsIContent
*aText
, PRInt32 aStartOffset
, PRInt32 aEndOffset
, nsAString
*aStr
);
2939 nsresult AppendCDATASection
(nsIContent
*aCDATASection
, PRInt32 aStartOffset
,
2940 PRInt32 aEndOffset
, nsAString
*aStr
);
2941 nsresult AppendProcessingInstruction
(nsIContent
*aPI
, PRInt32 aStartOffset
,
2942 PRInt32 aEndOffset
, nsAString
*aStr
);
2943 nsresult AppendComment
(nsIContent
*aComment
, PRInt32 aStartOffset
, PRInt32 aEndOffset
,
2945 nsresult AppendDoctype
(nsIContent
*aDoctype
, nsAString
*aStr
);
2946 nsresult AppendElementStart
(nsIContent
*aElement
, nsIContent
*aOriginalElement
,
2948 nsresult AppendElementEnd
(nsIContent
*aElement
, nsAString
*aStr
);
2949 nsresult Flush
(nsAString
*aStr
);
2950 nsresult AppendDocumentStart
(nsIDocument
*aDocument
, nsAString
*aStr
);
2955 uuid(656005d2
-d900
-4839-81bf
-6274a3c38537
),
2958 interface nsIEditor
: nsISupports
2960 typedef void *nsIContentPtr
;
2962 nsresult GetSelection
([out] nsISelection
*_retval
);
2963 nsresult Init
([in] nsIDOMDocument
*doc
, [in] nsIContentPtr aRoot
, [in] nsISelectionController
*aSelCon
, [in] PRUint32 aFlags
);
2964 nsresult SetAttributeOrEquivalent
([in] nsIDOMElement
*element
, [in] const nsAString
*sourceAttrName
, [in] const nsAString
*sourceAttrValue
, [in] bool aSuppressTransaction
);
2965 nsresult RemoveAttributeOrEquivalent
([in] nsIDOMElement
*element
, [in] const nsAString
*sourceAttrName
, [in] bool aSuppressTransaction
);
2966 nsresult PostCreate
();
2967 nsresult PreDestroy
();
2968 nsresult GetFlags
([out] PRUint32
*_retval
);
2969 nsresult SetFlags
([in] PRUint32 val
);
2970 nsresult GetContentsMIMEType
([out] char **_retval
);
2971 nsresult SetContentsMIMEType
([in] const char *val
);
2972 nsresult GetIsDocumentEditable
([out] bool
*_retval
);
2973 nsresult GetIsSelectionEditable
(bool
*aIsSelectionEditable
);
2974 nsresult GetDocument
([out] nsIDOMDocument
**_retval
);
2975 nsresult GetRootElement
([out] nsIDOMElement
**_retval
);
2976 nsresult GetSelectionController
([out] nsISelectionController
**_retval
);
2977 nsresult DeleteSelection
([in] PRInt16 action
);
2978 nsresult GetDocumentIsEmpty
([out] bool
*_retval
);
2979 nsresult GetDocumentModified
([out] bool
*_retval
);
2980 nsresult GetDocumentCharacterSet
([out] nsACString
*_retval
);
2981 nsresult SetDocumentCharacterSet
([in] const nsACString
*val
);
2982 nsresult ResetModificationCount
();
2983 nsresult GetModificationCount
([out] PRInt32
*_retval
);
2984 nsresult IncrementModificationCount
([in] PRInt32 aModCount
);
2985 nsresult GetTransactionManager
([out] nsITransactionManager
**_retval
);
2986 nsresult SetTransactionManager
(nsITransactionManager
*aTransactionManager
);
2987 nsresult DoTransaction
([in] nsITransaction
*txn
);
2988 nsresult EnableUndo
([in] bool enable
);
2989 nsresult GetNumberOfUndoItems
(PRInt32
*aNumberOfUndoItems
);
2990 nsresult GetNumberOfRedoItems
(PRInt32
*aNumberOfRedoItems
);
2991 nsresult Undo
([in] PRUint32 count
);
2992 nsresult CanUndo
([out] bool
*isEnabled
, [out] bool
*canUndo
);
2993 nsresult Redo
([in] PRUint32 count
);
2994 nsresult CanRedo
([out] bool
*isEnabled
, [out] bool
*canRedo
);
2995 nsresult BeginTransaction
();
2996 nsresult EndTransaction
();
2997 nsresult BeginPlaceHolderTransaction
([in] nsIAtom
*name
);
2998 nsresult EndPlaceHolderTransaction
();
2999 nsresult ShouldTxnSetSelection
([out] bool
*_retval
);
3000 nsresult SetShouldTxnSetSelection
([in] bool should
);
3001 nsresult GetInlineSpellChecker
([out] nsIInlineSpellChecker
**_retval
);
3002 nsresult SyncRealTimeSpell
();
3003 nsresult SetSpellcheckUserOverride
(bool enable
);
3005 nsresult CanCut
([out] bool
*_retval
);
3007 nsresult CanCopy
([out] bool
*_retval
);
3008 nsresult Paste
([in] PRInt32 aSelectionType
);
3009 nsresult PasteTransferable
(nsITransferable
*aTransferable
);
3010 nsresult CanPaste
([in] PRInt32 aSelectionType
, [out] bool
*_retval
);
3011 nsresult CanPasteTransferable
(nsITransferable
*aTransferable
, bool
*_retval
);
3012 nsresult SelectAll
();
3013 nsresult BeginningOfDocument
();
3014 nsresult EndOfDocument
();
3015 nsresult SetAttribute
([in] nsIDOMElement
*aElement
, [in] const nsAString
*attributestr
, [in] const nsAString
*attvalue
);
3016 nsresult GetAttributeValue
([in] nsIDOMElement
*aElement
, [in] const nsAString
*attributestr
, [out] nsAString
*resultValue
, bool
*_retval
);
3017 nsresult RemoveAttribute
([in] nsIDOMElement
*aElement
, [in] const nsAString
*aAttribute
);
3018 nsresult CloneAttribute
([in] const nsAString
*aAttribute
, [in] nsIDOMNode
*aDestNode
, [in] nsIDOMNode
*aSourceNode
);
3019 nsresult CloneAttributes
([in] nsIDOMNode
*destNode
, [in] nsIDOMNode
*sourceNode
);
3020 nsresult CreateNode
([in] const nsAString
*tag
, [in] nsIDOMNode
*parent
, [in] PRInt32 position
, [out] nsIDOMNode
**_retval
);
3021 nsresult InsertNode
([in] nsIDOMNode
*node
, [in] nsIDOMNode
*parent
, [in] PRInt32 aPosition
);
3022 nsresult SplitNode
([in] nsIDOMNode
*existingRightNode
, [in] PRInt32 offset
, [out] nsIDOMNode
**newLeftNode
);
3023 nsresult JoinNodes
([in] nsIDOMNode
*leftNode
, [in] nsIDOMNode
*rightNode
, [in] nsIDOMNode
*parent
);
3024 nsresult DeleteNode
([in] nsIDOMNode
*child
);
3025 nsresult MarkNodeDirty
([in] nsIDOMNode
*node
);
3026 nsresult SwitchTextDirection
();
3027 nsresult OutputToString
([in] nsAString formatType
, [in] PRUint32 flags
, [out] nsAString
*_retval
);
3028 nsresult OutputToStream
([in] nsIOutputStream
*aStream
, [in] nsAString
*formatType
, [in] nsACString
*charsetOverride
, [in] PRUint32 flags
);
3029 nsresult AddEditorObserver
([in] nsIEditorObserver
*observer
);
3030 nsresult RemoveEditorObserver
([in] nsIEditorObserver
*observer
);
3031 nsresult AddEditActionListener
([in] nsIEditActionListener
*listener
);
3032 nsresult RemoveEditActionListener
([in] nsIEditActionListener
*listener
);
3033 nsresult AddDocumentStateListener
([in] nsIDocumentStateListener
*listener
);
3034 nsresult RemoveDocumentStateListener
([in] nsIDocumentStateListener
*listener
);
3035 nsresult DumpContentTree
();
3036 nsresult DebugDumpContent
();
3037 nsresult DebugUnitTests
([out] PRInt32
*outNumTests
, [out] PRInt32
*outNumTestsFailed
);
3038 bool IsModifiableNode
(nsIDOMNode
*aNode
);
3039 nsresult GetLastKeypressEventTrusted
(bool
*aLastKeypressEventTrusted
);
3044 uuid(ff67ad39
-ed58
-4cd1
-a1a3
-dcd988390a97
),
3047 interface nsIHTMLEditor
: nsISupports
3049 nsresult AddDefaultProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
);
3050 nsresult RemoveDefaultProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
);
3051 nsresult RemoveAllDefaultProperties
();
3052 nsresult SetCSSInlineProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
);
3053 nsresult SetInlineProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
);
3054 nsresult GetInlineProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
, [out] bool
*aFirst
, [out] bool
*aAny
, [out] bool
*aAll
);
3055 nsresult GetInlinePropertyWithAttrValue
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
, [out] bool
*aFirst
, [out] bool
*aAny
, [out] bool
*aAll
, [out] nsAString
*_retval
);
3056 nsresult RemoveAllInlineProperties
();
3057 nsresult RemoveInlineProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
);
3058 nsresult IncreaseFontSize
();
3059 nsresult DecreaseFontSize
();
3060 nsresult NodeIsBlock
([in] nsIDOMNode
*node
, bool
*_retval
);
3061 nsresult InsertHTML
([in] nsAString
*aInputString
);
3062 nsresult PasteNoFormatting
([in] PRInt32 aSelectionType
);
3063 nsresult RebuildDocumentFromSource
([in] nsAString
*aSourceString
);
3064 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
);
3065 nsresult InsertElementAtSelection
([in] nsIDOMElement
*aElement
, [in] bool aDeleteSelection
);
3066 nsresult SetDocumentTitle
([in] nsAString
*aTitle
);
3067 nsresult UpdateBaseURL
();
3068 nsresult SelectElement
([in] nsIDOMElement
*aElement
);
3069 nsresult SetCaretAfterElement
([in] nsIDOMElement
*aElement
);
3070 nsresult SetParagraphFormat
([in] nsAString
*aParagraphFormat
);
3071 nsresult GetParagraphState
([out] bool
*aMixed
, [out] nsAString
*_retval
);
3072 nsresult GetFontFaceState
([out] bool
*aMixed
, [out] nsAString
*_retval
);
3073 nsresult GetFontColorState
([out] bool
*aMixed
, [out] nsAString
*_retval
);
3074 nsresult GetBackgroundColorState
([out] bool
*aMixed
, [out] nsAString
*_retval
);
3075 nsresult GetHighlightColorState
([out] bool
*aMixed
, [out] nsAString
*_retval
);
3076 nsresult GetListState
([out] bool
*aMixed
, [out] bool
*aOL
, [out] bool
*aUL
, [out] bool
*aDL
);
3077 nsresult GetListItemState
([out] bool
*aMixed
, [out] bool
*aLI
, [out] bool
*aDT
, [out] bool
*aDD
);
3078 nsresult GetAlignment
([out] bool
*aMixed
, [out] PRInt16
*aAlign
);
3079 nsresult GetIndentState
([out] bool
*aCanIndent
, [out] bool
*aCanOutdent
);
3080 nsresult MakeOrChangeList
([in] nsAString
*aListType
, [in] bool entireList
, [in] nsAString
*aBulletType
);
3081 nsresult RemoveList
([in] nsAString
*aListType
);
3082 nsresult Indent
([in] nsAString
*aIndent
);
3083 nsresult Align
([in] nsAString
*aAlign
);
3084 nsresult GetElementOrParentByTagName
([in] nsAString
*aTagName
, [in] nsIDOMNode
*aNode
, [out] nsIDOMElement
**_retval
);
3085 nsresult GetSelectedElement
([in] nsAString
*aTagName
, [out] nsIDOMElement
**_retval
);
3086 nsresult GetHeadContentsAsHTML
([out] nsAString
*_retval
);
3087 nsresult ReplaceHeadContentsWithHTML
([in] nsAString
*aSourceToInsert
);
3088 nsresult CreateElementWithDefaults
([in] nsAString
*aTagName
, [out] nsIDOMElement
**_retval
);
3089 nsresult InsertLinkAroundSelection
([in] nsIDOMElement
*aAnchorElement
);
3090 nsresult SetBackgroundColor
([in] nsAString
*aColor
);
3091 nsresult SetBodyAttribute
([in] nsAString
*aAttr
, [in] nsAString
*aValue
);
3092 nsresult GetLinkedObjects
([out] nsISupportsArray
**_retval
);
3093 nsresult GetIsCSSEnabled
([out] bool
*_retval
);
3094 nsresult SetIsCSSEnabled
([in] bool prb
);
3095 nsresult AddInsertionListener
([in] nsIContentFilter
*inFilter
);
3096 nsresult RemoveInsertionListener
([in] nsIContentFilter
*inFilter
);
3097 nsresult CreateAnonymousElement
([in] nsAString
*aTag
, [in] nsIDOMNode
*aParentNode
, [in] nsAString
*aAnonClass
, [in] bool aIsCreatedHidden
, [out] nsIDOMElement
**_retval
);
3098 nsresult GetSelectionContainer
([out] nsIDOMElement
**_retval
);
3099 nsresult CheckSelectionStateForAnonymousButtons
([in] nsISelection
*aSelection
);
3100 nsresult IsAnonymousElement
([in] nsIDOMElement
*aElement
, [out] bool
*_retval
);
3101 nsresult GetReturnInParagraphCreatesNewParagraph
([out] bool
*_retval
);
3102 nsresult SetReturnInParagraphCreatesNewParagraph
([in] bool prb
);
3103 nsresult BreakIsVisible
(nsIDOMNode
*aNode
, bool
*_retval
);
3104 nsIContent
*GetActiveEditingHost
();
3109 uuid(dbd39c21
-5788-4c68
-9d97
-0fcee289bce1
),
3112 interface nsIDocShell
: nsISupports
3114 nsresult LoadURI
(nsIURI
*uri
, nsIDocShellLoadInfo
*loadInfo
, PRUint32 aLoadFlags
, bool firstParty
);
3115 nsresult LoadStream
(nsIInputStream
*aStream
, nsIURI
*aURI
, const nsACString
*aContentType
,
3116 const nsACString
*aContentCharset
, nsIDocShellLoadInfo
*aLoadInfo
);
3117 nsresult InternalLoad
(nsIURI
*aURI
, nsIURI
*aReferrer
, nsISupports
*aOwner
, PRUint32 aFlags
, const PRUnichar
*aWindowTarget
,
3118 const char *aTypeHint
, nsIInputStream
*aPostDataStream
, nsIInputStream
*aHeadersStream
, PRUint32 aLoadFlags
,
3119 nsISHEntry
*aSHEntry
, bool firstParty
, nsIDocShell
**aDocShell
, nsIRequest
**aRequest
);
3120 nsresult AddState
(nsIVariant
*aData
, const nsAString
*aTitle
, const nsAString
*aURL
, bool aReplace
, JSContext
*cx
);
3121 nsresult CreateLoadInfo
(nsIDocShellLoadInfo
**loadInfo
);
3122 nsresult PrepareForNewContentModel
();
3123 nsresult SetCurrentURI
(nsIURI
*aURI
);
3124 nsresult FirePageHideNotification
(bool isUnload
);
3125 nsresult GetPresContext
(void /*nsPresContext*/ **aPresContext
);
3126 nsresult GetPresShell
(nsIPresShell
**aPresShell
);
3127 nsresult GetEldestPresShell
(nsIPresShell
**aEldestPresShell
);
3128 nsresult GetContentViewer
(nsIContentViewer
**aContentViewer
);
3129 nsresult GetChromeEventHandler
(nsIDOMEventTarget
**aChromeEventHandler
);
3130 nsresult SetChromeEventHandler
(nsIDOMEventTarget
*aChromeEventHandler
);
3131 nsresult GetAllowPlugins
(bool
*aAllowPlugins
);
3132 nsresult SetAllowPlugins
(bool aAllowPlugins
);
3133 nsresult GetAllowJavascript
(bool
*aAllowJavascript
);
3134 nsresult SetAllowJavascript
(bool aAllowJavascript
);
3135 nsresult GetAllowMetaRedirects
(bool
*aAllowMetaRedirects
);
3136 nsresult SetAllowMetaRedirects
(bool aAllowMetaRedirects
);
3137 nsresult GetAllowSubframes
(bool
*aAllowSubframes
);
3138 nsresult SetAllowSubframes
(bool aAllowSubframes
);
3139 nsresult GetAllowImages
(bool
*aAllowImages
);
3140 nsresult SetAllowImages
(bool aAllowImages
);
3141 nsresult GetAllowDNSPrefetch
(bool
*aAllowDNSPrefetch
);
3142 nsresult SetAllowDNSPrefetch
(bool aAllowDNSPrefetch
);
3143 nsresult GetAllowWindowControl
(bool
*aAllowWindowControl
);
3144 nsresult SetAllowWindowControl
(bool aAllowWindowControl
);
3145 nsresult GetDocShellEnumerator
(PRInt32 aItemType
, PRInt32 aDirection
, nsISimpleEnumerator
**_retval
);
3146 nsresult GetAppType
(PRUint32
*aAppType
);
3147 nsresult SetAppType
(PRUint32 aAppType
);
3148 nsresult GetAllowAuth
(bool
*aAllowAuth
);
3149 nsresult SetAllowAuth
(bool aAllowAuth
);
3150 nsresult GetZoom
(float *aZoom
);
3151 nsresult SetZoom
(float aZoom
);
3152 nsresult GetMarginWidth
(PRInt32
*aMarginWidth
);
3153 nsresult SetMarginWidth
(PRInt32 aMarginWidth
);
3154 nsresult GetMarginHeight
(PRInt32
*aMarginHeight
);
3155 nsresult SetMarginHeight
(PRInt32 aMarginHeight
);
3156 nsresult TabToTreeOwner
(bool forward
, bool
*tookFocus
);
3157 nsresult GetBusyFlags
(PRUint32
*aBusyFlags
);
3158 nsresult GetLoadType
(PRUint32
*aLoadType
);
3159 nsresult SetLoadType
(PRUint32 aLoadType
);
3160 nsresult IsBeingDestroyed
(bool
*_retval
);
3161 nsresult GetIsExecutingOnLoadHandler
(bool
*aIsExecutingOnLoadHandler
);
3162 nsresult GetLayoutHistoryState
(nsILayoutHistoryState
**aLayoutHistoryState
);
3163 nsresult SetLayoutHistoryState
(nsILayoutHistoryState
*aLayoutHistoryState
);
3164 nsresult GetShouldSaveLayoutState
(bool
*aShouldSaveLayoutState
);
3165 nsresult GetSecurityUI
(nsISecureBrowserUI
**aSecurityUI
);
3166 nsresult SetSecurityUI
(nsISecureBrowserUI
*aSecurityUI
);
3167 nsresult SuspendRefreshURIs
();
3168 nsresult ResumeRefreshURIs
();
3169 nsresult BeginRestore
(nsIContentViewer
*viewer
, bool top
);
3170 nsresult FinishRestore
();
3171 nsresult GetRestoringDocument
(bool
*aRestoringDocument
);
3172 nsresult GetUseErrorPages
(bool
*aUseErrorPages
);
3173 nsresult SetUseErrorPages
(bool aUseErrorPages
);
3174 nsresult GetPreviousTransIndex
(PRInt32
*aPreviousTransIndex
);
3175 nsresult GetLoadedTransIndex
(PRInt32
*aLoadedTransIndex
);
3176 nsresult HistoryPurged
(PRInt32 numEntries
);
3177 nsresult GetSessionStorageForURI
(nsIURI
*uri
, const nsAString
*documentURI
, nsIDOMStorage
**_retval
);
3178 nsresult GetSessionStorageForPrincipal
(nsIPrincipal
*principal
, const nsAString
*documentURI
,
3179 bool create
, nsIDOMStorage
**_retval
);
3180 nsresult AddSessionStorage
(nsIPrincipal
*principal
, nsIDOMStorage
*storage
);
3181 nsresult GetCurrentDocumentChannel
(nsIChannel
**aCurrentDocumentChannel
);
3182 nsresult SetChildOffset
(PRUint32 offset
);
3183 nsresult GetIsInUnload
(bool
*aIsInUnload
);
3184 nsresult GetChannelIsUnsafe
(bool
*aChannelIsUnsafe
);
3185 void DetachEditorFromWindow
();
3186 nsresult GetIsOffScreenBrowser
(bool
*aIsOffScreenBrowser
);
3187 nsresult SetIsOffScreenBrowser
(bool aIsOffScreenBrowser
);
3188 nsresult GetPrintPreview
(nsIWebBrowserPrint
**aPrintPreview
);
3189 nsresult GetCanExecuteScripts
(bool
*aCanExecuteScripts
);
3190 nsresult GetIsActive
(bool
*aIsActive
);
3191 nsresult SetIsActive
(bool aIsActive
);
3192 nsresult GetHistoryID
(PRUint64
*aHistoryID
);
3193 nsresult GetIsAppTab
(bool
*aIsAppTab
);
3194 nsresult SetIsAppTab
(bool aIsAppTab
);
3195 nsresult CreateAboutBlankContentViewer
(nsIPrincipal
*aPrincipal
);
3196 nsresult GetCharset
(char **aCharset
);
3197 nsresult SetCharset
(const char * aCharset
);
3198 nsresult GetForcedCharset
(nsIAtom
**aForcedCharset
);
3199 nsresult SetForcedCharset
(nsIAtom
*aForcedCharset
);
3200 nsresult GetParentCharset
(nsIAtom
**aParentCharset
);
3201 nsresult SetParentCharset
(nsIAtom
*aParentCharset
);
3202 nsresult GetParentCharsetSource
(PRInt32
*aParentCharsetSource
);
3203 nsresult SetParentCharsetSource
(PRInt32 aParentCharsetSource
);
3204 nsresult GetIsBrowserFrame
(bool
*aIsBrowserFrame
);
3205 nsresult SetIsBrowserFrame
(bool aIsBrowserFrame
);
3210 uuid(85eea794
-ed8e
-4e1b
-a128
-d09300ae51aa
),
3213 interface nsIMutationObserver
: nsISupports
3215 void CharacterDataWillChange
(nsIDocument
*aDocument
, nsIContent
*aContent
,
3216 void /*CharacterDataChangeInfo*/ *aInfo
);
3217 void CharacterDataChanged
(nsIDocument
*aDocument
, nsIContent
*aContent
,
3218 void /*CharacterDataChangeInfo*/ *aInfo
);
3219 void AttributeWillChange
(nsIDocument
*aDocument
, nsIContent
*aContent
, PRInt32 aNameSpaceID
,
3220 nsIAtom
*aAttribute
, PRInt32 aModType
);
3221 void AttributeChanged
(nsIDocument
*aDocument
, nsIContent
*aContent
, PRInt32 aNameSpaceID
,
3222 nsIAtom
*aAttribute
, PRInt32 aModType
);
3223 void ContentAppended
(nsIDocument
*aDocument
, nsIContent
*aContainer
, nsIContent
*aFirstNewContent
,
3224 PRInt32 aNewIndexInContainer
);
3225 void ContentInserted
(nsIDocument
*aDocument
, nsIContent
*aContainer
, nsIContent
*aChild
,
3226 PRInt32 aIndexInContainer
);
3227 void ContentRemoved
(nsIDocument
*aDocument
, nsIContent
*aContainer
, nsIContent
*aChild
,
3228 PRInt32 aIndexInContainer
, nsIContent
*aPreviousSibling
);
3229 void NodeWillBeDestroyed
(const nsINode
*aNode
);
3230 void ParentChainChanged
(nsIContent
*aContent
);
3235 uuid(d064f0d6
-44e3
-4366-a705
-cf7a912614b6
),
3238 interface nsIParser
: nsISupports
3240 typedef int nsDTDMode
;
3241 typedef int eParserCommands
;
3243 /* From nsParserBase: */
3244 bool IsParserEnabled
();
3245 nsresult GetChannel
(nsIChannel
**aChannel
);
3247 void SetContentSink
(nsIContentSink
*aSink
);
3248 nsIContentSink
*GetContentSink
();
3249 void GetCommand
(nsACString
*aCommand
);
3250 void SetCommand2
(const char *aCommand
);
3251 void SetCommand
(eParserCommands aParserCommand
);
3252 void SetDocumentCharset
(const nsACString
*aCharset
, PRInt32 aSource
);
3253 void GetDocumentCharset
(nsACString
*oCharset
, PRInt32
*oSource
);
3254 nsresult GetDTD
(nsIDTD
**aDTD
);
3255 nsIStreamListener
*GetStreamListener
();
3256 nsresult ContinueInterruptedParsing
();
3258 void UnblockParser
();
3259 void ContinueInterruptedParsingAsync
();
3261 nsresult Parse
(nsIURI
*aURL
, nsIRequestObserver
*aListener
, void *aKey
, nsDTDMode aMode
);
3262 nsresult Parse2
(const nsAString
*aSourceBuffer
, void *aKey
, const nsACString
*aMimeType
, bool aLastCall
, nsDTDMode aMode
);
3263 nsresult Terminate
();
3264 nsresult ParseFragment
(const nsAString
*aSourceBuffer
, void /*nsTArray<nsString>*/ *aTagStack
);
3265 nsresult BuildModel
();
3266 nsresult CancelParsingEvents
();
3268 bool IsInsertionPointDefined
();
3269 void BeginEvaluatingParserInsertedScript
();
3270 void EndEvaluatingParserInsertedScript
();
3271 void MarkAsNotScriptCreated
(const char *aCommand
);
3272 bool IsScriptCreated
();
3277 uuid(900bc4bc
-8b6c
-4cba
-82fa
-568a80fffd3e
),
3280 interface nsIDocumentObserver
: nsIMutationObserver
3282 typedef PRUint32 nsUpdateType
;
3288 void BeginUpdate
(nsIDocument
*aDocument
, nsUpdateType aUpdateType
);
3289 void EndUpdate
(nsIDocument
*aDocument
, nsUpdateType aUpdateType
);
3290 void BeginLoad
(nsIDocument
*aDocument
);
3291 void EndLoad
(nsIDocument
*aDocument
);
3292 void ContentStatesChanged
(nsIDocument
*aDocument
, nsIContent
*aContent
, nsEventStates
*aStateMask
);
3293 void DocumentStatesChanged
(nsIDocument
*aDocument
, nsEventStates
*aStateMask
);
3294 void StyleSheetAdded
(nsIDocument
*aDocument
, nsIStyleSheet
*aStyleSheet
, bool aDocumentSheet
);
3295 void StyleSheetRemoved
(nsIDocument
*aDocument
, nsIStyleSheet
*aStyleSheet
, bool aDocumentSheet
);
3296 void StyleSheetApplicableStateChanged
(nsIDocument
*aDocument
, nsIStyleSheet
*aStyleSheet
,
3298 void StyleRuleChanged
(nsIDocument
*aDocument
, nsIStyleSheet
*aStyleSheet
, nsIStyleRule
*aOldStyleRule
,
3299 nsIStyleRule
*aNewStyleRule
);
3300 void StyleRuleAdded
(nsIDocument
*aDocument
, nsIStyleSheet
*aStyleSheet
, nsIStyleRule
*aStyleRule
);
3301 void StyleRuleRemoved
(nsIDocument
*aDocument
, nsIStyleSheet
*aStyleSheet
, nsIStyleRule
*aStyleRule
);
3302 void BindToDocument
(nsIDocument
*aDocument
, nsIContent
*aContent
);
3303 void AttemptToExecuteScript
(nsIContent
*aContent
, nsIParser
*aParser
, bool
*aBlock
);
3308 uuid(3682dd99
-8560-44f4
-9b8f
-ccce9d7b96fb
),
3311 interface nsIContentUtils
: nsISupports
3313 bool IsSafeToRunScript
();
3314 nsresult AddDocumentObserver
(nsIDocument
*aDocument
, nsIDocumentObserver
*aObserver
);
3315 nsresult RemoveDocumentObserver
(nsIDocument
*aDocument
, nsIDocumentObserver
*aObserver
);
3316 nsresult AddMutationObserver
(nsINode
*aNode
, nsIMutationObserver
*aObserver
);
3317 nsresult RemoveMutationObserver
(nsINode
*aNode
, nsIMutationObserver
*aObserver
);
3318 nsresult AddScriptRunner
(nsIRunnable
*aRunnable
);
3323 uuid(8f672000
-bab9
-4c60
-aaaf
-2673c4e2a4c6
),
3326 interface nsIPluginInstance
: nsISupports
3328 nsresult GetDOMElement
(nsIDOMElement
**aDOMElement
);