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 #pragma makedep header
28 cpp_quote
("#define GECKO_VERSION \"2.47.4\"")
29 cpp_quote
("#define GECKO_VERSION_STRING \"Wine Gecko \" GECKO_VERSION")
33 cpp_quote
("#ifdef WINE_NO_UNICODE_MACROS")
34 cpp_quote
("#undef GetForm")
35 cpp_quote
("#undef SetPort")
36 cpp_quote
("#undef GetClassName")
39 typedef HRESULT nsresult
;
40 typedef ULONG nsrefcnt
;
45 typedef REFIID nsIIDRef
;
46 typedef nsIIDRef nsCIDRef
;
48 typedef WCHAR PRUnichar
;
51 * Mozilla uses stdint.h types for its headers. Following defines make this IDL file
52 * more similar to original declarations. Note that it's only a widl trick, we can't
53 * use stdint.h types in C.
60 #define uint16_t UINT16
61 #define uint32_t UINT32
62 #define uint64_t UINT64
64 #define char16_t PRUnichar
66 typedef uint64_t DOMTimeStamp
;
67 typedef uint32_t nsLoadFlags
;
68 typedef int64_t PRTime
;
70 /* Similar trick to stdint.h types for C++ bool type */
71 typedef unsigned char cpp_bool
;
88 typedef nsCStringContainer nsACString
;
89 typedef nsStringContainer nsAString
;
91 interface nsIWebBrowserChrome
;
92 interface nsILoadGroup
;
95 interface nsIDOMDocument
;
96 interface nsIDOMEvent
;
98 interface nsISelectionController
;
99 interface nsITransactionManager
;
100 interface nsITransaction
;
101 interface nsIInlineSpellChecker
;
102 interface nsIOutputStream
;
103 interface nsIEditorObserver
;
104 interface nsIEditActionListener
;
105 interface nsIDocumentStateListener
;
106 interface nsIDOMCSSStyleSheet
;
107 interface nsIDOMDocumentView
;
108 interface nsIDOMWindow
;
109 interface nsIDOMElement
;
110 interface nsIDOMRange
;
111 interface nsIDOMEventTarget
;
112 interface nsISelection
;
113 interface nsIDOMHTMLSelectElement
;
115 interface nsIDocShell
;
116 interface mozIDOMWindowProxy
;
117 interface nsIDOMMediaQueryListListener
;
123 uuid(00000000-0000-0000-c000
-000000000046),
126 interface nsISupports
128 nsresult QueryInterface
(nsIIDRef riid
, void **result
);
133 /* Currently we don't need a full declaration of these interfaces */
134 typedef nsISupports nsISHistory
;
135 typedef nsISupports nsIWidget
;
136 typedef nsISupports nsIPrompt
;
137 typedef nsISupports nsIAuthPrompt
;
138 typedef nsISupports nsIDOMCDATASection
;
139 typedef nsISupports nsIDOMProcessingInstruction
;
140 typedef nsISupports nsIDOMEntityReference
;
141 typedef nsISupports nsIWebProgressListener
;
142 typedef nsISupports nsIDOMCSSValue
;
143 typedef nsISupports nsIPrintSession
;
144 typedef nsISupports nsIControllerCommandTable
;
145 typedef nsISupports nsIPrincipal
;
146 typedef nsISupports nsIAtom
;
147 typedef nsISupports nsISupportsArray
;
148 typedef nsISupports nsIContentFilter
;
149 typedef nsISupports nsIDOMMediaList
;
150 typedef nsISupports nsIDOMHTMLTableSectionElement
;
151 typedef nsISupports nsINode
;
152 typedef nsISupports nsIDOMUserDataHandler
;
153 typedef nsISupports nsISHEntry
;
154 typedef nsISupports nsIPresShell
;
155 typedef nsISupports nsIDocumentCharsetInfo
;
156 typedef nsISupports nsILayoutHistoryState
;
157 typedef nsISupports nsISecureBrowserUI
;
158 typedef nsISupports nsIDOMStorage
;
159 typedef nsISupports nsIDOMDOMTokenList
;
160 typedef nsISupports nsITransferable
;
161 typedef nsISupports nsIDOMFileList
;
162 typedef nsISupports nsIDOMFile
;
163 typedef nsISupports nsIControllers
;
164 typedef nsISupports nsIDOMValidityState
;
165 typedef nsISupports nsIPluginInstanceOwner
;
166 typedef nsISupports nsIPluginStreamListener
;
167 typedef nsISupports nsIContentSink
;
168 typedef nsISupports nsIParserFilter
;
169 typedef nsISupports nsIDTD
;
170 typedef nsISupports nsIObserver
;
171 typedef nsISupports nsIDOMNodeFilter
;
172 typedef nsISupports nsIDOMNodeIterator
;
173 typedef nsISupports nsIDOMTreeWalker
;
174 typedef nsISupports nsIHttpUpgradeListener
;
175 typedef nsISupports nsIDOMOfflineResourceList
;
176 typedef nsISupports nsIDOMNavigator
;
177 typedef nsISupports nsIDOMScreen
;
178 typedef nsISupports nsIAnimationFrameListener
;
179 typedef nsISupports nsIDOMStorageList
;
180 typedef nsISupports nsILocalFile
;
181 typedef nsISupports nsIDOMHTMLMenuElement
;
182 typedef nsISupports nsIDOMCaretPosition
;
183 typedef nsISupports nsIFrameRequestCallback
;
184 typedef nsISupports nsICycleCollectorListener
;
185 typedef nsISupports nsIDOMHTMLCanvasElement
;
186 typedef nsISupports nsIQueryContentEventResult
;
187 typedef nsISupports nsIDOMBlob
;
188 typedef nsISupports nsIPrivacyTransitionObserver
;
189 typedef nsISupports nsIDOMHTMLPropertiesCollection
;
190 typedef nsISupports mozIDOMApplication
;
191 typedef nsISupports nsIDOMCrypto
;
192 typedef nsISupports nsIDOMPkcs11
;
193 typedef nsISupports nsIDocShellTreeOwner
;
194 typedef nsISupports nsIArray
;
195 typedef nsISupports nsILoadInfo
;
196 typedef nsISupports nsIContentSecurityPolicy
;
197 typedef nsISupports nsIXMLHttpRequestUpload
;
198 typedef nsISupports nsIClassInfo
;
199 typedef nsISupports nsILoadContext
;
200 typedef nsISupports nsIDomainPolicy
;
201 typedef nsISupports nsIScriptContext
;
202 typedef nsISupports nsIObjectInputStream
;
203 typedef nsISupports nsIObjectOutputStream
;
205 typedef void *JSContext
;
206 typedef void *JSObject
;
207 typedef uint64_t jsval
;
211 uuid(8bb35ed9
-e332
-462d
-9155-4a002ab5c958
),
214 interface nsIServiceManager
: nsISupports
216 nsresult GetService
(nsCIDRef aClass
, nsIIDRef aIID
, void **result
);
217 nsresult GetServiceByContractID
(const char *aContractID
, nsIIDRef aIID
, void **result
);
218 nsresult IsServiceInstantiated
(nsCIDRef aClass
, nsIIDRef aIID
, BOOL
*_retval
);
219 nsresult IsServiceInstantiatedByContractID
(const char *aContractID
, nsIIDRef aIID
, BOOL
*_retval
);
224 uuid(00000001-0000-0000-c000
-000000000046),
227 interface nsIFactory
: nsISupports
229 nsresult CreateInstance
(nsISupports
*aOuter
, const nsIID
*iid
, void **result
);
230 nsresult LockFactory
(bool lock
);
235 uuid(9188bc85
-f92e
-11d2
-81ef
-0060083a0bcf
),
238 interface nsIWeakReference
: nsISupports
240 nsresult QueryReferent
(const nsIID
*riid
, void **result
);
245 uuid(9188bc86
-f92e
-11d2
-81ef
-0060083a0bcf
),
248 interface nsISupportsWeakReference
: nsISupports
250 nsresult GetWeakReference
(nsIWeakReference
**_retval
);
255 uuid(033a1470
-8b2a
-11d3
-af88
-00a024ffc08c
),
258 interface nsIInterfaceRequestor
: nsISupports
260 nsresult GetInterface
(const nsIID
*riid
, void **result
);
265 uuid(4a2abaf0
-6886-11d3
-9382-00104ba0fd40
),
268 interface nsIRunnable
: nsISupports
275 uuid(d1899240
-f9d2
-11d2
-bdd6
-000064657374),
278 interface nsISimpleEnumerator
: nsISupports
280 nsresult HasMoreElements
(bool
*_retval
);
281 nsresult GetNext
(nsISupports
**_retval
);
286 uuid(81e4c2de
-acac
-4ad6
-901a
-b5fb1b851a0d
),
289 interface nsIVariant
: nsISupports
291 nsresult GetDataType
(uint16_t
*aDataType
);
292 nsresult GetAsInt8
(uint8_t
*_retval
);
293 nsresult GetAsInt16
(int16_t
*_retval
);
294 nsresult GetAsInt32
(int32_t
*_retval
);
295 nsresult GetAsInt64
(int64_t
*_retval
);
296 nsresult GetAsUint8
(uint8_t
*_retval
);
297 nsresult GetAsUint16
(uint16_t
*_retval
);
298 nsresult GetAsUint32
(uint32_t
*_retval
);
299 nsresult GetAsUint64
(uint64_t
*_retval
);
300 nsresult GetAsFloat
(float *_retval
);
301 nsresult GetAsDouble
(double *_retval
);
302 nsresult GetAsBool
(bool
*_retval
);
303 nsresult GetAsChar
(char *_retval
);
304 nsresult GetAsWChar
(PRUnichar
*_retval
);
305 nsresult GetAsID
(nsID
*retval);
306 nsresult GetAsAString
(nsAString
*_retval
);
307 nsresult GetAsDOMString
(nsAString
*_retval
);
308 nsresult GetAsACString
(nsACString
*_retval
);
309 nsresult GetAsAUTF8String
(nsACString
*_retval
);
310 nsresult GetAsString
(char * *_retval
);
311 nsresult GetAsWString
(PRUnichar
* *_retval
);
312 nsresult GetAsISupports
(nsISupports
* *_retval
);
313 nsresult GetAsJSVal
(long /*jsval*/ *_retval
);
314 nsresult GetAsInterface
(nsIID
**iid
, void **iface
);
315 nsresult GetAsArray
(uint16_t
*type
, nsIID
*iid
, uint32_t
*count
, void **ptr);
316 nsresult GetAsStringWithSize
(uint32_t
*size
, char **str
);
317 nsresult GetAsWStringWithSize
(uint32_t
*size
, PRUnichar
**str
);
322 uuid(5586a590
-8c82
-11d5
-90f3
-0010a4e73d9a
),
325 interface nsIWritableVariant
: nsIVariant
327 nsresult GetWritable
(bool
*aWritable
);
328 nsresult SetWritable
(bool aWritable
);
329 nsresult SetAsInt8
(uint8_t aValue
);
330 nsresult SetAsInt16
(int16_t aValue
);
331 nsresult SetAsInt32
(int32_t aValue
);
332 nsresult SetAsInt64
(int64_t aValue
);
333 nsresult SetAsUint8
(uint8_t aValue
);
334 nsresult SetAsUint16
(uint16_t aValue
);
335 nsresult SetAsUint32
(uint32_t aValue
);
336 nsresult SetAsUint64
(uint64_t aValue
);
337 nsresult SetAsFloat
(float aValue
);
338 nsresult SetAsDouble
(double aValue
);
339 nsresult SetAsBool
(bool aValue
);
340 nsresult SetAsChar
(char aValue
);
341 nsresult SetAsWChar
(PRUnichar aValue
);
342 nsresult SetAsID
(const nsID
*aValue
);
343 nsresult SetAsAString
(const nsAString
*aValue
);
344 nsresult SetAsDOMString
(const nsAString
*aValue
);
345 nsresult SetAsACString
(const nsACString
*aValue
);
346 nsresult SetAsAUTF8String
(const nsACString
*aValue
);
347 nsresult SetAsString
(const char * aValue
);
348 nsresult SetAsWString
(const PRUnichar
* aValue
);
349 nsresult SetAsISupports
(nsISupports
*aValue
);
350 nsresult SetAsInterface
(const nsIID
*iid
, void *iface
);
351 nsresult SetAsArray
(uint16_t type
, const nsIID
*iid
, uint32_t count
, void *ptr);
352 nsresult SetAsStringWithSize
(uint32_t size
, const char *str
);
353 nsresult SetAsWStringWithSize
(uint32_t size
, const PRUnichar
*str
);
354 nsresult SetAsVoid
();
355 nsresult SetAsEmpty
();
356 nsresult SetAsEmptyArray
();
357 nsresult SetFromVariant
(nsIVariant
*aValue
);
362 uuid(53cdbc97
-c2d7
-4e30
-b2c3
-45b2ee79db18
),
365 interface nsIInputStream
: nsISupports
368 nsresult Available
(uint64_t
*_retval
);
369 nsresult Read
(char *aBuf
, uint32_t aCount
, uint32_t
*_retval
);
370 nsresult ReadSegments
(nsresult
(*aWriter
)(nsIInputStream
*aInStream
,
371 void *aClosure
, const char *aFromSegment
, uint32_t aToOffset
,
372 uint32_t aCount
, uint32_t
*aWriteCount
),
373 void *aClosure
, uint32_t aCount
, uint32_t
*_retval
);
374 nsresult IsNonBlocking
(bool
*_retval
);
379 uuid(8429d350
-1040-4661-8b71
-f2a6ba455980
),
382 interface nsISeekableStream
: nsISupports
390 nsresult Seek
(int32_t whence
, int64_t offset
);
391 nsresult Tell
(int64_t
*_retval
);
397 uuid(92073a54
-6d78
-4f30
-913a
-b871813208c6
),
400 interface nsIURI
: nsISupports
402 nsresult GetSpec
(nsACString
*aSpec
);
403 nsresult SetSpec
(const nsACString
*aSpec
);
404 nsresult GetPrePath
(nsACString
*aPrePath
);
405 nsresult GetScheme
(nsACString
*aScheme
);
406 nsresult SetScheme
(const nsACString
*aScheme
);
407 nsresult GetUserPass
(nsACString
*aUserPass
);
408 nsresult SetUserPass
(const nsACString
*aUserPass
);
409 nsresult GetUsername
(nsACString
*aUsername
);
410 nsresult SetUsername
(const nsACString
*aUsername
);
411 nsresult GetPassword
(nsACString
*aPassword
);
412 nsresult SetPassword
(const nsACString
*aPassword
);
413 nsresult GetHostPort
(nsACString
*aHostPort
);
414 nsresult SetHostPort
(const nsACString
*aHostPort
);
415 nsresult GetHost
(nsACString
*aHost
);
416 nsresult SetHost
(const nsACString
*aHost
);
417 nsresult GetPort
(int32_t
*aPort
);
418 nsresult SetPort
(int32_t aPort
);
419 nsresult GetPath
(nsACString
*aPath
);
420 nsresult SetPath
(const nsACString
*aPath
);
421 nsresult Equals
(nsIURI
*other
, bool
*_retval
);
422 nsresult SchemeIs
(const char *scheme
, bool
*_retval
);
423 nsresult Clone
(nsIURI
**_retval
);
424 nsresult Resolve
(const nsACString
*relativePath
, nsACString
*_retval
);
425 nsresult GetAsciiSpec
(nsACString
*aAsciiSpec
);
426 nsresult GetAsciiHostPort
(nsACString
*aAsciiHostPort
);
427 nsresult GetAsciiHost
(nsACString
*aAsciiHost
);
428 nsresult GetOriginCharset
(nsACString
*aOriginCharset
);
429 nsresult GetRef
(nsACString
*aRef
);
430 nsresult SetRef
(const nsACString
*aRef
);
431 nsresult EqualsExceptRef
(nsIURI
*other
, bool
*_retval
);
432 nsresult CloneIgnoringRef
(nsIURI
**_retval
);
433 nsresult GetSpecIgnoringRef
(nsACString
*aSpecIgnoringRef
);
434 nsresult GetHasRef
(bool
*aHasRef
);
439 uuid(86adcd89
-0b70
-47a2
-b0fe
-5bb2c5f37e31
),
442 interface nsIURL
: nsIURI
444 nsresult GetFilePath
(nsACString
*aFilePath
);
445 nsresult SetFilePath
(const nsACString
*aFilePath
);
446 nsresult GetQuery
(nsACString
*aQuery
);
447 nsresult SetQuery
(const nsACString
*aQuery
);
448 nsresult GetDirectory
(nsACString
*aDirectory
);
449 nsresult SetDirectory
(const nsACString
*aDirectory
);
450 nsresult GetFileName
(nsACString
*aFileName
);
451 nsresult SetFileName
(const nsACString
*aFileName
);
452 nsresult GetFileBaseName
(nsACString
*aFileBaseName
);
453 nsresult SetFileBaseName
(const nsACString
*aFileBaseName
);
454 nsresult GetFileExtension
(nsACString
*aFileExtension
);
455 nsresult SetFileExtension
(const nsACString
*aFileExtension
);
456 nsresult GetCommonBaseSpec
(nsIURI
*aURIToCompare
, nsACString
*_retval
);
457 nsresult GetRelativeSpec
(nsIURI
*aURIToCompare
, nsACString
*_retval
);
462 uuid(e91ac988
-27c2
-448b
-b1a1
-3822e1ef1987
),
465 interface nsIFileURL
: nsIURL
467 nsresult GetFile
(nsIFile
**aFile
);
468 nsresult SetFile
(nsIFile
*aFile
);
473 uuid(321578d0
-03c1
-4d95
-8821-021ac612d18d
),
476 interface nsIMutable
: nsISupports
478 nsresult GetMutable
(bool
*aMutable
);
479 nsresult SetMutable
(bool aMutable
);
484 uuid(babd6cca
-ebe7
-4329-967c
-d6b9e33caa81
),
487 interface nsIStandardURL
: nsIMutable
489 nsresult Init
(uint32_t aUrlType
, int32_t aDefaultPort
, const nsACString
*aSpec
, const char *aOriginCharset
, nsIURI
*aBaseURI
);
490 nsresult SetDefaultPort
(int32_t aNewDefaultPort
);
495 uuid(ef6bfbd2
-fd46
-48d8
-96b7
-9f8f0fd387fe
),
498 interface nsIRequest
: nsISupports
500 const UINT LOAD_NORMAL
= 0;
501 const UINT LOAD_BACKGROUND
= 1 << 1;
502 const UINT INHIBIT_CACHING
= 1 << 7;
503 const UINT INHIBIT_PERSISTENT_CACHING
= 1 << 8;
504 const UINT LOAD_BYPASS_CACHE
= 1 << 9;
505 const UINT LOAD_FROM_CACHE
= 1 << 10;
506 const UINT VALIDATE_ALWAYS
= 1 << 11;
507 const UINT VALIDATE_NEVER
= 1 << 12;
508 const UINT VALIDATE_ONCE_PER_SESSION
= 1 << 13;
510 nsresult GetName
(nsACString
*aName
);
511 nsresult IsPending
(bool
*_retval
);
512 nsresult GetStatus
(nsresult
*aStatus
);
513 nsresult Cancel
(nsresult aStatus
);
516 nsresult GetLoadGroup
(nsILoadGroup
**aLoadGroup
);
517 nsresult SetLoadGroup
(nsILoadGroup
*aLoadGroup
);
518 nsresult GetLoadFlags
(nsLoadFlags
*aLoadFlags
);
519 nsresult SetLoadFlags
(nsLoadFlags aLoadFlags
);
524 uuid(fd91e2e0
-1481-11d3
-9333-00104ba0fd40
),
527 interface nsIRequestObserver
: nsISupports
529 nsresult OnStartRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
);
530 nsresult OnStopRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
, nsresult aStatusCode
);
535 uuid(3b4c8a77
-76ba
-4610-b316
-678c73a3b88c
),
538 interface nsIStreamListener
: nsIRequestObserver
540 nsresult OnDataAvailable
(nsIRequest
*aRequest
, nsISupports
*aContext
,
541 nsIInputStream
*aInputStream
, uint64_t aOffset
, uint32_t aCount
);
546 uuid(f0c87725
-7a35
-463c
-9ceb
-2c07f23406cc
),
549 interface nsILoadGroup
: nsIRequest
551 nsresult GetGroupObserver
(nsIRequestObserver
**aGroupObserver
);
552 nsresult SetGroupObserver
(nsIRequestObserver
*aGroupObserver
);
553 nsresult GetDefaultLoadRequest
(nsIRequest
**aDefaultLoadRequest
);
554 nsresult SetDefaultLoadRequest
(nsIRequest
*aDefaultLoadRequest
);
555 nsresult AddRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
);
556 nsresult RemoveRequest
(nsIRequest
*aRequest
, nsISupports
*aContext
, nsresult aStatus
);
557 nsresult GetRequests
(nsISimpleEnumerator
**aRequests
);
558 nsresult GetActiveCount
(uint32_t
*aActiveCount
);
559 nsresult GetNotificationCallbacks
(nsIInterfaceRequestor
**aNotificationCallbacks
);
560 nsresult SetNotificationCallbacks
(nsIInterfaceRequestor
*aNotificationCallbacks
);
561 nsresult GetSchedulingContextID
(nsID
*aSchedulingContextID
);
562 nsresult GetDefaultLoadFlags
(nsLoadFlags
*aDefaultLoadFlags
);
563 nsresult SetDefaultLoadFlags
(nsLoadFlags aDefaultLoadFlags
);
564 nsresult GetUserAgentOverrideCache
(nsACString
*aUserAgentOverrideCache
);
565 nsresult SetUserAgentOverrideCache
(const nsACString
*aUserAgentOverrideCache
);
570 uuid(2c389865
-23db
-4aa7
-9fe5
-60cc7b00697e
),
573 interface nsIChannel
: nsIRequest
575 const UINT LOAD_DOCUMENT_URI
= 1 << 16;
576 const UINT LOAD_RETARGETED_DOCUMENT_URI
= 1 << 17;
577 const UINT LOAD_REPLACE
= 1 << 18;
578 const UINT LOAD_INITIAL_DOCUMENT_URI
= 1 << 19;
579 const UINT LOAD_TARGETED
= 1 << 20;
580 const UINT LOAD_CALL_CONTENT_SNIFFERS
= 1 << 21;
581 const UINT LOAD_CLASSIFY_URI
= 1 << 22;
582 const UINT LOAD_MEDIA_SNIFFER_OVERRIDES_CONTENT_TYPE
= 1 << 23;
583 const UINT LOAD_EXPLICIT_CREDENTIALS
= 1 << 24;
584 const UINT LOAD_BYPASS_SERVICE_WORKER
= 1 << 25;
586 nsresult GetOriginalURI
(nsIURI
**aOriginalURI
);
587 nsresult SetOriginalURI
(nsIURI
*aOriginalURI
);
588 nsresult GetURI
(nsIURI
**aURI
);
589 nsresult GetOwner
(nsISupports
**aOwner
);
590 nsresult SetOwner
(nsISupports
*aOwner
);
591 nsresult GetNotificationCallbacks
(nsIInterfaceRequestor
**aNotificationCallbacks
);
592 nsresult SetNotificationCallbacks
(nsIInterfaceRequestor
*aNotificationCallbacks
);
593 nsresult GetSecurityInfo
(nsISupports
**aSecurityInfo
);
594 nsresult GetContentType
(nsACString
*aContentType
);
595 nsresult SetContentType
(const nsACString
*aContentType
);
596 nsresult GetContentCharset
(nsACString
*aContentCharset
);
597 nsresult SetContentCharset
(const nsACString
*aContentCharset
);
598 nsresult GetContentLength
(int64_t
*aContentLength
);
599 nsresult SetContentLength
(int64_t aContentLength
);
600 nsresult Open
(nsIInputStream
**_retval
);
601 nsresult Open2
(nsIInputStream
**_retval
);
602 nsresult AsyncOpen
(nsIStreamListener
*aListener
, nsISupports
*aContext
);
603 nsresult AsyncOpen2
(nsIStreamListener
*aListener
);
604 nsresult GetContentDisposition
(uint32_t
*aContentDisposition
);
605 nsresult SetContentDisposition
(uint32_t aContentDisposition
);
606 nsresult GetContentDispositionFilename
(nsAString
*aContentDispositionFilename
);
607 nsresult SetContentDispositionFilename
(const nsAString
*aContentDispositionFilename
);
608 nsresult GetContentDispositionHeader
(nsACString
*aContentDispositionHeader
);
609 nsresult GetLoadInfo
(nsILoadInfo
**aLoadInfo
);
610 nsresult SetLoadInfo
(nsILoadInfo
*aLoadInfo
);
615 uuid(35412859-b9d9
-423c
-8866-2d4559fdd2be
),
618 interface nsIHttpHeaderVisitor
: nsISupports
620 nsresult VisitHeader
(const nsACString
*aHeader
, const nsACString
*aValue
);
625 uuid(b2596105
-3d0d
-4e6a
-824f
-0539713bb879
),
628 interface nsIHttpChannel
: nsIChannel
630 nsresult GetRequestMethod
(nsACString
*aRequestMethod
);
631 nsresult SetRequestMethod
(const nsACString
*aRequestMethod
);
632 nsresult GetReferrer
(nsIURI
**aReferrer
);
633 nsresult SetReferrer
(nsIURI
*aReferrer
);
634 nsresult GetReferrerPolicy
(uint32_t
*aReferrerPolicy
);
635 nsresult SetReferrerWithPolicy
(nsIURI
*referrer
, uint32_t referrerPolicy
);
636 nsresult GetProtocolVersion
(nsACString
*aProtocolVersion
);
637 nsresult GetTransferSize
(uint64_t
*aTransferSize
);
638 nsresult GetDecodedBodySize
(uint64_t
*aDecodedBodySize
);
639 nsresult GetEncodedBodySize
(uint64_t
*aEncodedBodySize
);
640 nsresult GetRequestHeader
(const nsACString
*aHeader
, nsACString
*_retval
);
641 nsresult SetRequestHeader
(const nsACString
*aHeader
, const nsACString
*aValue
, bool aMerge
);
642 nsresult SetEmptyRequestHeader
(const nsACString
*aHeader
);
643 nsresult VisitRequestHeaders
(nsIHttpHeaderVisitor
*aVisitor
);
644 nsresult VisitNonDefaultRequestHeaders
(nsIHttpHeaderVisitor
*aVisitor
);
645 nsresult GetAllowPipelining
(bool
*aAllowPipelining
);
646 nsresult SetAllowPipelining
(bool aAllowPipelining
);
647 nsresult GetAllowSTS
(bool
*aAllowSTS
);
648 nsresult SetAllowSTS
(bool aAllowSTS
);
649 nsresult GetRedirectionLimit
(uint32_t
*aRedirectionLimit
);
650 nsresult SetRedirectionLimit
(uint32_t aRedirectionLimit
);
651 nsresult GetResponseStatus
(uint32_t
*aResponseStatus
);
652 nsresult GetResponseStatusText
(nsACString
*aResponseStatusText
);
653 nsresult GetRequestSucceeded
(bool
*aRequestSucceeded
);
654 nsresult GetIsMainDocumentChannel
(bool
*aIsMainDocumentChannel
);
655 nsresult SetIsMainDocumentChannel
(bool aIsMainDocumentChannel
);
656 nsresult GetResponseHeader
(const nsACString
*header
, nsACString
*_retval
);
657 nsresult SetResponseHeader
(const nsACString
*header
, const nsACString
*value
, bool merge
);
658 nsresult VisitResponseHeaders
(nsIHttpHeaderVisitor
*aVisitor
);
659 nsresult IsNoStoreResponse
(bool
*_retval
);
660 nsresult IsNoCacheResponse
(bool
*_retval
);
661 nsresult IsPrivateResponse
(bool
*_retval
);
662 nsresult RedirectTo
(nsIURI
*aTargetURI
);
663 nsresult GetSchedulingContextID
(nsID
*aSchedulingContextID
);
664 nsresult SetSchedulingContextID
(const nsID aSchedulingContextID
);
669 uuid(4e28263d
-1e03
-46f4
-aa5c
-9512f91957f9
),
672 interface nsIHttpChannelInternal
: nsISupports
674 nsresult GetDocumentURI
(nsIURI
**aDocumentURI
);
675 nsresult SetDocumentURI
(nsIURI
*aDocumentURI
);
676 nsresult GetRequestVersion
(uint32_t
*major
, uint32_t
*minor
);
677 nsresult GetResponseVersion
(uint32_t
*major
, uint32_t
*minor
);
678 nsresult TakeAllSecurityMessages
(void /*nsCOMArray<nsISecurityConsoleMessage>*/ *aMessages
);
679 nsresult SetCookie
(const char *aCookieHeader
);
680 nsresult SetupFallbackChannel
(const char *aFallbackKey
);
681 nsresult GetThirdPartyFlags
(uint32_t
*aThirdPartyFlags
);
682 nsresult SetThirdPartyFlags
(uint32_t aThirdPartyFlags
);
683 nsresult GetForceAllowThirdPartyCookie
(bool
*aForceAllowThirdPartyCookie
);
684 nsresult SetForceAllowThirdPartyCookie
(bool aForceAllowThirdPartyCookie
);
685 nsresult GetCanceled
(bool
*aCanceled
);
686 nsresult GetChannelIsForDownload
(bool
*aChannelIsForDownload
);
687 nsresult SetChannelIsForDownload
(bool aChannelIsForDownload
);
688 nsresult GetLocalAddress
(nsACString
*aLocalAddress
);
689 nsresult GetLocalPort
(int32_t
*aLocalPort
);
690 nsresult GetRemoteAddress
(nsACString
*aRemoteAddress
);
691 nsresult GetRemotePort
(int32_t
*aRemotePort
);
692 nsresult SetCacheKeysRedirectChain
(void /*nsTArray<nsCString>*/ *cacheKeys
);
693 nsresult HTTPUpgrade
(const nsACString
*aProtocolName
, nsIHttpUpgradeListener
*aListener
);
694 nsresult GetAllowSpdy
(bool
*aAllowSpdy
);
695 nsresult SetAllowSpdy
(bool aAllowSpdy
);
696 nsresult GetResponseTimeoutEnabled
(bool
*aResponseTimeoutEnabled
);
697 nsresult SetResponseTimeoutEnabled
(bool aResponseTimeoutEnabled
);
698 nsresult GetInitialRwin
(uint32_t
*aInitialRwin
) ;
699 nsresult SetInitialRwin
(uint32_t aInitialRwin
);
700 nsresult GetApiRedirectToURI
(nsIURI
**aApiRedirectToURI
);
701 nsresult GetAllowAltSvc
(bool
*aAllowAltSvc
);
702 nsresult SetAllowAltSvc
(bool aAllowAltSvc
);
703 nsresult GetLastModifiedTime
(PRTime
*aLastModifiedTime
);
704 nsresult ForceIntercepted
(uint64_t aInterceptionID
);
705 nsresult GetResponseSynthesized
(bool
*aResponseSynthesized
);
706 nsresult GetCorsIncludeCredentials
(bool
*aCorsIncludeCredentials
);
707 nsresult SetCorsIncludeCredentials
(bool aCorsIncludeCredentials
);
708 nsresult GetCorsMode
(uint32_t
*aCorsMode
);
709 nsresult SetCorsMode
(uint32_t aCorsMode
);
710 nsresult GetRedirectMode
(uint32_t
*aRedirectMode
);
711 nsresult SetRedirectMode
(uint32_t aRedirectMode
);
712 nsresult GetTopWindowURI
(nsIURI
**aTopWindowURI
);
713 nsresult GetNetworkInterfaceId
(nsACString
*aNetworkInterfaceId
);
714 nsresult SetNetworkInterfaceId
(const nsACString
*aNetworkInterfaceId
);
715 nsresult GetProxyURI
(nsIURI
**aProxyURI
);
716 nsresult SetCorsPreflightParameters
(const void /*nsTArray<nsCString>*/ *unsafeHeaders
);
717 nsresult GetBlockAuthPrompt
(bool
*aBlockAuthPrompt
) ;
718 nsresult SetBlockAuthPrompt
(bool aBlockAuthPrompt
);
723 uuid(5cfe15bd
-5adb
-4a7f
-9e55
-4f5a67d15794
),
726 interface nsIUploadChannel
: nsISupports
728 nsresult SetUploadStream
(nsIInputStream
*aStream
, const nsACString
*aContentType
,
729 int64_t aContentLength
);
730 nsresult GetUploadStream
(nsIInputStream
**aUploadStream
);
735 uuid(fc826b53
-0db8
-42b4
-aa6a
-5dd2cfca52a4
),
738 interface nsIFormPOSTActionChannel
: nsIUploadChannel
744 uuid(72c34415
-c6eb
-48af
-851f
-772fa9ee5972
),
747 interface nsICacheInfoChannel
: nsISupports
749 nsresult GetCacheTokenExpirationTime
(uint32_t
*aCacheTokenExpirationTime
);
750 nsresult GetCacheTokenCachedCharset
(nsACString
*aCacheTokenCachedCharset
);
751 nsresult SetCacheTokenCachedCharset
(const nsACString
*aCacheTokenCachedCharset
);
752 nsresult IsFromCache
(bool
*_retval
);
753 nsresult GetCacheKey
(nsISupports
**aCacheKey
);
754 nsresult SetCacheKey
(nsISupports
*aCacheKey
);
755 nsresult GetAllowStaleCacheContent
(bool
*aAllowStaleCacheContent
);
756 nsresult SetAllowStaleCacheContent
(bool aAllowStaleCacheContent
);
761 uuid(8d171460
-a716
-41f1
-92be
-8c659db39b45
),
764 interface nsIAsyncVerifyRedirectCallback
: nsISupports
766 nsresult OnRedirectVerifyCallback
(nsresult result
);
771 uuid(0197720d
-37ed
-4e75
-8956-d0d296e4d8a6
),
774 interface nsIChannelEventSink
: nsISupports
776 const UINT REDIRECT_TEMPORARY
= 1;
777 const UINT REDIRECT_PERMANENT
= 2;
778 const UINT REDIRECT_INTERNAL
= 4;
779 const UINT REDIRECT_STS_UPGRADE
= 8;
781 nsresult AsyncOnChannelRedirect
(nsIChannel
*oldChannel
, nsIChannel
*newChannel
, uint32_t flags
,
782 nsIAsyncVerifyRedirectCallback
*callback);
787 uuid(87d55fba
-cb7e
-4f38
-84c1
-5c6c2b2a55e9
),
790 interface nsIProgressEventSink
: nsISupports
792 nsresult OnProgress
(nsIRequest
*aRequest
, nsISupports
*aContext
, int64_t aProgress
, int64_t aProgressMax
);
793 nsresult OnStatus
(nsIRequest
*aRequest
, nsISupports
*aContext
, nsresult aStatus
, const char16_t
*aStatusArg
);
798 uuid(79de76e5
-994e-4f6b
-81aa
-42d9adb6e67e
),
801 interface nsIDOMLocation
: nsISupports
803 nsresult GetHash
(nsAString
*aHash
);
804 nsresult SetHash
(const nsAString
*aHash
);
805 nsresult GetHost
(nsAString
*aHost
);
806 nsresult SetHost
(const nsAString
*aHost
);
807 nsresult GetHostname
(nsAString
*aHostname
);
808 nsresult SetHostname
(const nsAString
*aHostname
);
809 nsresult GetHref
(nsAString
*aHref
);
810 nsresult SetHref
(const nsAString
*aHref
);
811 nsresult GetPathname
(nsAString
*aPathname
);
812 nsresult SetPathname
(const nsAString
*aPathname
);
813 nsresult GetPort
(nsAString
*aPort
);
814 nsresult SetPort
(const nsAString
*aPort
);
815 nsresult GetProtocol
(nsAString
*aProtocol
);
816 nsresult SetProtocol
(const nsAString
*aProtocol
);
817 nsresult GetSearch
(nsAString
*aSearch
);
818 nsresult SetSearch
(const nsAString
*aSearch
);
819 nsresult GetOrigin
(nsAString
*aOrigin
);
820 nsresult Reload
(bool forceget
);
821 nsresult Replace
(const nsAString
*url
);
822 nsresult Assign
(const nsAString
*url
);
823 nsresult ToString
(nsAString
*_retval
);
824 nsresult ValueOf
(nsIDOMLocation
**_retval
);
829 uuid(4d6b3bad
-f53c
-4585-82f6
-62982e27ede8
),
832 interface nsIDOMCSSRule
: nsISupports
834 nsresult GetType
(uint16_t
*aType
);
835 nsresult GetCssText
(nsAString
*aCssText
);
836 nsresult SetCssText
(const nsAString
*aCssText
);
837 nsresult GetParentStyleSheet
(nsIDOMCSSStyleSheet
**aParentStyleSheet
);
838 nsresult GetParentRule
(nsIDOMCSSRule
**aParentRule
);
839 int /* thiscall mozilla::css::Rule */ GetCSSRule
();
844 uuid(a6cf90be
-15b3
-11d2
-932e-00805f8add32
),
847 interface nsIDOMCSSStyleDeclaration
: nsISupports
849 nsresult GetCssText
(nsAString
*aCssText
);
850 nsresult SetCssText
(const nsAString
*aCssText
);
851 nsresult GetPropertyValue
(const nsAString
*propertyName
, nsAString
*_retval
);
852 nsresult GetPropertyCSSValue
(const nsAString
*propertyName
, nsIDOMCSSValue
**_retval
);
853 nsresult RemoveProperty
(const nsAString
*propertyName
, nsAString
*_retval
);
854 nsresult GetPropertyPriority
(const nsAString
*propertyName
, nsAString
*_retval
);
855 nsresult SetProperty
(const nsAString
*propertyName
, const nsAString
*value
,
856 const nsAString
*priority
);
857 nsresult GetLength
(uint32_t
*aLength
);
858 nsresult Item
(uint32_t index
, nsAString
*_retval
);
859 nsresult GetParentRule
(nsIDOMCSSRule
**aParentRule
);
864 uuid(a6cf90c0
-15b3
-11d2
-932e-00805f8add32
),
867 interface nsIDOMCSSRuleList
: nsISupports
869 nsresult GetLength
(uint32_t
*aLength
);
870 nsresult Item
(uint32_t index
, nsIDOMCSSRule
**_retval
);
875 uuid(a6cf9080
-15b3
-11d2
-932e-00805f8add32
),
878 interface nsIDOMStyleSheet
: nsISupports
880 nsresult GetType
(nsAString
*aType
);
881 nsresult GetDisabled
(bool
*aDisabled
);
882 nsresult SetDisabled
(bool aDisabled
);
883 nsresult GetOwnerNode
(nsIDOMNode
**aOwnerNode
);
884 nsresult GetParentStyleSheet
(nsIDOMStyleSheet
**aParentStyleSheet
);
885 nsresult GetHref
(nsAString
*aHref
);
886 nsresult GetTitle
(nsAString
*aTitle
);
887 nsresult GetMedia
(nsIDOMMediaList
**aMedia
);
892 uuid(a6cf90c2
-15b3
-11d2
-932e-00805f8add32
),
895 interface nsIDOMCSSStyleSheet
: nsIDOMStyleSheet
897 nsresult GetOwnerRule
(nsIDOMCSSRule
**aOwnerRule
);
898 nsresult GetCssRules
(nsIDOMCSSRuleList
**aCssRules
);
899 nsresult InsertRule
(const nsAString
*rule
, uint32_t index
, uint32_t
*_retval
);
900 nsresult DeleteRule
(uint32_t index
);
905 uuid(0e424250
-ac2a
-4fe2
-bccd
-a45824af090e
),
908 interface nsIDOMStyleSheetList
: nsISupports
910 nsresult GetLength
(uint32_t
*aLength
);
911 nsresult Item
(uint32_t index
, nsIDOMStyleSheet
**_retval
);
916 uuid(e0e49c52
-915b
-40f9
-9cba
-6026305cdf3e
),
919 interface nsIDOMMediaQueryList
: nsISupports
921 nsresult GetMedia
(nsAString
*aMedia
);
922 nsresult GetMatches
(bool
*_retval
);
923 nsresult SetListener
(nsIDOMMediaQueryListListener
*listener
);
928 uuid(279a5cbd
-5c15
-475d
-847b
-e0de1624eb77
),
931 interface nsIDOMMediaQueryListListener
: nsISupports
933 nsresult HandleChange
(nsIDOMMediaQueryList
*mql
);
938 uuid(450cf0ba
-de90
-4f86
-85bf
-e10cc8b8713f
),
941 interface nsIDOMNodeList
: nsISupports
943 nsresult Item
(uint32_t index
, nsIDOMNode
**_retval
);
944 nsresult GetLength
(uint32_t
*aLength
);
949 uuid(bb07f567
-5b37
-4172-92aa
-7d00ceed4809
),
952 interface nsIDOMHTMLCollection
: nsISupports
954 nsresult GetLength
(uint32_t
*aLength
);
955 nsresult Item
(uint32_t index
, nsIDOMNode
**_retval
);
956 nsresult NamedItem
(const nsAString
*name
, nsIDOMNode
**_retval
);
961 uuid(cb5564cd
-26ec
-418f
-a6d6
-1d57cd2c971c
),
964 interface nsIDOMMozNamedAttrMap
: nsISupports
966 nsresult GetNamedItem
(const nsAString
*name
, nsIDOMAttr
**_retval
);
967 nsresult SetNamedItem
(nsIDOMAttr
*arg
, nsIDOMAttr
**_retval
);
968 nsresult RemoveNamedItem
(const nsAString
*name
, nsIDOMAttr
**_retval
);
969 nsresult Item
(uint32_t index
, nsIDOMAttr
**_retval
);
970 nsresult GetLength
(uint32_t
*aLength
);
971 nsresult GetNamedItemNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsIDOMAttr
**_retval
);
972 nsresult SetNamedItemNS
(nsIDOMAttr
*arg
, nsIDOMAttr
**_retval
);
973 nsresult RemoveNamedItemNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsIDOMAttr
**_retval
);
978 uuid(cc35b412
-009b
-46a3
-9be0
-76448f12548d
),
981 interface nsIDOMNode
: nsISupports
987 CDATA_SELECTION_NODE
= 4,
988 ENTITY_REFERENCE_NODE
= 5,
990 PROCESSING_INSTRUCTION_NODE
= 7,
993 DOCUMENT_TYPE_NODE
= 10,
994 DOCUMENT_FRAGMENT_NODE
= 11,
999 DOCUMENT_POSITION_DISCONNECTED
= 1,
1000 DOCUMENT_POSITION_PRECEDING
= 2,
1001 DOCUMENT_POSITION_FOLLOWING
= 4,
1002 DOCUMENT_POSITION_CONTAINS
= 8,
1003 DOCUMENT_POSITION_CONTAINED_BY
= 16,
1004 DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
= 32
1007 nsresult GetNodeName
(nsAString
*aNodeName
);
1008 nsresult GetNodeValue
(nsAString
*aNodeValue
);
1009 nsresult SetNodeValue
(const nsAString
*aNodeValue
);
1010 nsresult GetNodeType
(uint16_t
*aNodeType
);
1011 nsresult GetParentNode
(nsIDOMNode
**aParentNode
);
1012 nsresult GetParentElement
(nsIDOMElement
**aParentElement
);
1013 nsresult GetChildNodes
(nsIDOMNodeList
**aChildNodes
);
1014 nsresult GetFirstChild
(nsIDOMNode
**aFirstChild
);
1015 nsresult GetLastChild
(nsIDOMNode
**aLastChild
);
1016 nsresult GetPreviousSibling
(nsIDOMNode
**aPreviousSibling
);
1017 nsresult GetNextSibling
(nsIDOMNode
**aNextSibling
);
1018 nsresult GetOwnerDocument
(nsIDOMDocument
**aOwnerDocument
);
1019 nsresult InsertBefore
(nsIDOMNode
*newChild
, nsIDOMNode
*refChild
, nsIDOMNode
**_retval
);
1020 nsresult ReplaceChild
(nsIDOMNode
*newChild
, nsIDOMNode
*oldChild
, nsIDOMNode
**_retval
);
1021 nsresult RemoveChild
(nsIDOMNode
*oldChild
, nsIDOMNode
**_retval
);
1022 nsresult AppendChild
(nsIDOMNode
*newChild
, nsIDOMNode
**_retval
);
1023 nsresult HasChildNodes
(bool
*_retval
);
1024 nsresult CloneNode
(bool deep
, uint8_t _argc
, nsIDOMNode
**_retval
);
1025 nsresult Normalize
();
1026 nsresult GetNamespaceURI
(nsAString
*aNamespaceURI
);
1027 nsresult GetPrefix
(nsAString
*aPrefix
);
1028 nsresult GetLocalName
(nsAString
*aLocalName
);
1029 nsresult UnusedPlaceholder
(bool
*_retval
);
1030 nsresult GetDOMBaseURI
(nsAString
*aBaseURI
);
1031 nsresult CompareDocumentPosition
(nsIDOMNode
*other
, uint16_t
*_retval
);
1032 nsresult GetTextContent
(nsAString
*aTextContent
);
1033 nsresult SetTextContent
(const nsAString
*aTextContent
);
1034 nsresult LookupPrefix
(const nsAString
*namespaceURI
, nsAString
*_retval
);
1035 nsresult IsDefaultNamespace
(const nsAString
*namespaceURI
, bool
*_retval
);
1036 nsresult LookupNamespaceURI
(const nsAString
*prefix
, nsAString
*_retval
);
1037 nsresult IsEqualNode
(nsIDOMNode
*arg
, bool
*_retval
);
1038 nsresult SetUserData
(const nsAString
*key
, nsIVariant
*data
, nsIVariant
**_retval
);
1039 nsresult GetUserData
(const nsAString
*key
, nsIVariant
**_retval
);
1040 nsresult Contains
(nsIDOMNode
*aOther
, bool
*_retval
);
1042 nsresult GetMshtmlNode
(nsISupports
**aMshtmlNode
);
1043 nsresult SetMshtmlNode
(nsISupports
*aMshtmlNode
);
1048 uuid(7db491e8
-a3a3
-4432-ad67
-e6c33e24ac6d
),
1051 interface nsIDOMAttr
: nsIDOMNode
1053 nsresult GetName
(nsAString
*aName
);
1054 nsresult GetSpecified
(bool
*aSpecified
);
1055 nsresult GetValue
(nsAString
*aValue
);
1056 nsresult SetValue
(const nsAString
*aValue
);
1057 nsresult GetOwnerElement
(nsIDOMElement
**aOwnerElement
);
1058 nsresult GetIsId
(bool
*aIsId
);
1063 uuid(b2f824c4
-d9d3
-499b
-8d3b
-45c8245497c6
),
1066 interface nsIDOMClientRect
: nsISupports
1068 nsresult GetLeft
(float *aLeft
);
1069 nsresult GetTop
(float *aTop
);
1070 nsresult GetRight
(float *aRight
);
1071 nsresult GetBottom
(float *aBottom
);
1072 nsresult GetWidth
(float *aWidth
);
1073 nsresult GetHeight
(float *aHeight
);
1078 uuid(f474c567
-cbcb
-458f
-abad
-ae42363da287
),
1081 interface nsIDOMClientRectList
: nsISupports
1083 nsresult GetLength
(uint32_t
*aLength
);
1084 nsresult Item
(UINT32 index
, nsIDOMClientRect
**_retval
);
1089 uuid(6289999b
-1008-4269-b42a
-413ec5a9d3f4
),
1092 interface nsIDOMElement
: nsIDOMNode
1094 nsresult GetTagName
(nsAString
*aTagName
);
1095 nsresult GetId
(nsAString
*aId
);
1096 nsresult SetId
(const nsAString
*aId
);
1097 nsresult GetClassName
(nsAString
*aClassName
);
1098 nsresult SetClassName
(const nsAString
*aClassName
) ;
1099 nsresult GetClassList
(nsISupports
**aClassList
);
1100 nsresult GetAttributes
(nsIDOMMozNamedAttrMap
**aAttributes
);
1101 nsresult GetAttribute
(const nsAString
*name
, nsAString
*_retval
);
1102 nsresult GetAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsAString
*_retval
);
1103 nsresult SetAttribute
(const nsAString
*name
, const nsAString
*value
);
1104 nsresult SetAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*qualifiedName
, const nsAString
*value
);
1105 nsresult RemoveAttribute
(const nsAString
*name
);
1106 nsresult RemoveAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
);
1107 nsresult HasAttribute
(const nsAString
*name
, bool
*_retval
);
1108 nsresult HasAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, bool
*_retval
);
1109 nsresult HasAttributes
(bool
*_retval
);
1110 nsresult GetAttributeNode
(const nsAString
*name
, nsIDOMAttr
**_retval
);
1111 nsresult SetAttributeNode
(nsIDOMAttr
*newAttr
, nsIDOMAttr
**_retval
);
1112 nsresult RemoveAttributeNode
(nsIDOMAttr
*oldAttr
, nsIDOMAttr
**_retval
);
1113 nsresult GetAttributeNodeNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsIDOMAttr
**_retval
);
1114 nsresult SetAttributeNodeNS
(nsIDOMAttr
*newAttr
, nsIDOMAttr
**_retval
);
1115 nsresult GetElementsByTagName
(const nsAString
*name
, nsIDOMHTMLCollection
**_retval
);
1116 nsresult GetElementsByTagNameNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsIDOMHTMLCollection
**_retval
);
1117 nsresult GetElementsByClassName
(const nsAString
*classes
, nsIDOMHTMLCollection
**_retval
);
1118 nsresult GetChildElements
(nsIDOMNodeList
**aChildren
);
1119 nsresult GetFirstElementChild
(nsIDOMElement
**aFirstElementChild
);
1120 nsresult GetLastElementChild
(nsIDOMElement
**aLastElementChild
);
1121 nsresult GetPreviousElementSibling
(nsIDOMElement
**aPreviousElementSibling
);
1122 nsresult GetNextElementSibling
(nsIDOMElement
**aNextElementSibling
);
1123 nsresult GetChildElementCount
(uint32_t
*aChildElementCount
);
1125 nsresult GetClientRects
(nsIDOMClientRectList
**_retval
);
1126 nsresult GetBoundingClientRect
(nsIDOMClientRect
**_retval
);
1127 nsresult GetScrollTop
(int32_t
*aScrollTop
);
1128 nsresult SetScrollTop
(int32_t aScrollTop
);
1129 nsresult GetScrollLeft
(int32_t
*aScrollLeft
);
1130 nsresult SetScrollLeft
(int32_t aScrollLeft
);
1131 nsresult GetScrollWidth
(int32_t
*aScrollWidth
);
1132 nsresult GetScrollHeight
(int32_t
*aScrollHeight
);
1133 nsresult GetClientTop
(int32_t
*aClientTop
);
1134 nsresult GetClientLeft
(int32_t
*aClientLeft
);
1135 nsresult GetClientWidth
(int32_t
*aClientWidth
);
1136 nsresult GetClientHeight
(int32_t
*aClientHeight
);
1137 nsresult GetScrollLeftMax
(int32_t
*aScrollLeftMax
);
1138 nsresult GetScrollTopMax
(int32_t
*aScrollTopMax
);
1139 nsresult MozMatchesSelector
(const nsAString
*selector
, bool
*_retval
);
1140 nsresult SetCapture
(bool retargetToElement
);
1141 nsresult ReleaseCapture
();
1142 nsresult MozRequestFullScreen
();
1143 nsresult MozRequestPointerLock
();
1144 nsresult QuerySelector
(const nsAString
*selectors
, nsIDOMElement
**_retval
);
1145 nsresult QuerySelectorAll
(const nsAString
*selectors
, nsIDOMNodeList
**_retval
);
1150 uuid(99715845-95fc
-4a56
-aa53
-214b65c26e22
),
1153 interface nsIDOMElementCSSInlineStyle
: nsISupports
1155 nsresult GetStyle
(nsIDOMCSSStyleDeclaration
**aStyle
);
1160 uuid(b0c42392
-d0e7
-4f6a
-beb5
-a698ce648945
),
1163 interface nsIDOMHTMLElement
: nsIDOMElement
1165 nsresult GetTitle
(nsAString
*aTitle
);
1166 nsresult SetTitle
(const nsAString
*aTitle
);
1167 nsresult GetLang
(nsAString
*aLang
);
1168 nsresult SetLang
(const nsAString
*aLang
);
1169 nsresult GetDir
(nsAString
*aDir
);
1170 nsresult SetDir
(const nsAString
*aDir
);
1171 nsresult GetDataset
(nsISupports
**aDataset
);
1172 nsresult GetItemScope
(bool
*aItemScope
);
1173 nsresult SetItemScope
(bool aItemScope
);
1174 nsresult GetItemType
(nsIVariant
**aItemType
);
1175 nsresult SetItemType
(nsIVariant
*aItemType
);
1176 nsresult GetItemId
(nsAString
*aItemId
);
1177 nsresult SetItemId
(const nsAString
*aItemId
);
1178 nsresult GetProperties
(nsISupports
**aProperties
);
1179 nsresult GetItemValue
(nsIVariant
**aItemValue
);
1180 nsresult SetItemValue
(nsIVariant
*aItemValue
);
1181 nsresult GetItemProp
(nsIVariant
**aItemProp
);
1182 nsresult SetItemProp
(nsIVariant
*aItemProp
);
1183 nsresult GetItemRef
(nsIVariant
**aItemRef
);
1184 nsresult SetItemRef
(nsIVariant
*aItemRef
);
1185 nsresult GetHidden
(bool
*aHidden
);
1186 nsresult SetHidden
(bool aHidden
);
1188 nsresult GetTabIndex
(int32_t
*aTabIndex
);
1189 nsresult SetTabIndex
(int32_t aTabIndex
);
1192 nsresult GetAccessKey
(nsAString
*aAccessKey
);
1193 nsresult SetAccessKey
(const nsAString
*aAccessKey
);
1194 nsresult GetAccessKeyLabel
(nsAString
*aAccessKeyLabel
);
1195 nsresult GetDraggable
(bool
*aDraggable
);
1196 nsresult SetDraggable
(bool aDraggable
);
1197 nsresult GetContentEditable
(nsAString
*aContentEditable
);
1198 nsresult SetContentEditable
(const nsAString
*aContentEditable
);
1199 nsresult GetIsContentEditable
(bool
*aIsContentEditable
);
1200 nsresult GetContextMenu
(nsIDOMHTMLMenuElement
**aContextMenu
);
1201 nsresult GetSpellcheck
(bool
*aSpellcheck
);
1202 nsresult SetSpellcheck
(bool aSpellcheck
);
1203 nsresult GetInnerHTML
(nsAString
*aInnerHTML
);
1204 nsresult SetInnerHTML
(const nsAString
*aInnerHTML
);
1205 nsresult GetOuterHTML
(nsAString
*aInnerHTML
);
1206 nsresult SetOuterHTML
(const nsAString
*aInnerHTML
);
1207 nsresult InsertAdjacentHTML
(const nsAString
*position
, const nsAString
*text
);
1208 nsresult ScrollIntoView
(bool top
, uint8_t _argc
);
1209 nsresult GetOffsetParent
(nsIDOMElement
* *aOffsetParent
);
1210 nsresult GetOffsetTop
(int32_t
*aOffsetTop
);
1211 nsresult GetOffsetLeft
(int32_t
*aOffsetLeft
);
1212 nsresult GetOffsetWidth
(int32_t
*aOffsetWidth
);
1213 nsresult GetOffsetHeight
(int32_t
*aOffsetHeight
);
1218 uuid(c63517c5
-8bab
-4cd1
-8694-bccafc32a195
),
1221 interface nsIDOMSVGElement
: nsIDOMElement
1223 nsresult GetOwnerSVGElement
(nsIDOMSVGElement
**aOwnerSVGElement
);
1224 nsresult GetViewportElement
(nsIDOMSVGElement
**aViewportElement
);
1225 nsresult GetSVGClassName
(nsISupports
**aClassName
);
1226 nsresult GetStyle
(nsIDOMCSSStyleDeclaration
**aStyle
);
1231 uuid(59b80014
-00f5
-412d
-846f
-725494122d42
),
1234 interface nsIDOMHTMLHeadElement
: nsISupports
1240 uuid(2a3f789e
-0667
-464f
-a8d7
-6f58513443d9
),
1243 interface nsIDOMHTMLMetaElement
: nsISupports
1245 nsresult GetContent
(nsAString
*aContent
);
1246 nsresult SetContent
(const nsAString
*aContent
);
1247 nsresult GetHttpEquiv
(nsAString
*aHttpEquiv
);
1248 nsresult SetHttpEquiv
(const nsAString
*aHttpEquiv
);
1249 nsresult GetName
(nsAString
*aName
);
1250 nsresult SetName
(const nsAString
*aName
);
1251 nsresult GetScheme
(nsAString
*aScheme
);
1252 nsresult SetScheme
(const nsAString
*aScheme
);
1257 uuid(4109a2d2
-e7af
-445d
-bb72
-c7c9b875f35e
),
1260 interface nsIDOMCharacterData
: nsIDOMNode
1262 nsresult GetData
(nsAString
*aData
);
1263 nsresult SetData
(const nsAString
*aData
);
1264 nsresult GetLength
(uint32_t
*aLength
);
1265 nsresult SubstringData
(uint32_t offset
, uint32_t count
, nsAString
*_retval
);
1266 nsresult AppendData
(const nsAString
*arg
);
1267 nsresult InsertData
(uint32_t offset
, const nsAString
*arg
);
1268 nsresult DeleteData
(uint32_t offset
, uint32_t count
);
1269 nsresult ReplaceData
(uint32_t offset
, uint32_t count
, const nsAString
*arg
);
1275 uuid(67273994-6aff
-4091-9de9
-b788a249f783
),
1278 interface nsIDOMText
: nsIDOMCharacterData
1280 nsresult SplitText
(uint32_t offset
, nsIDOMText
**_retval
);
1281 nsresult GetWholeText
(nsAString
*aWholeText
);
1286 uuid(e7866ff8
-b7fc
-494f
-87c0
-fb017d8a4d30
),
1289 interface nsIDOMComment
: nsIDOMCharacterData
1295 uuid(cd7467b9
-0f26
-4787-a359
-66e80ba8db92
),
1298 interface nsIDOMDocumentType
: nsIDOMNode
1300 nsresult GetName
(nsAString
*aName
);
1301 nsresult GetPublicId
(nsAString
*aPublicId
);
1302 nsresult GetSystemId
(nsAString
*aSystemId
);
1303 nsresult GetInternalSubset
(nsAString
*aInternalSubset
);
1304 nsresult MozRemove
();
1309 uuid(03a6f574
-99ec
-42f8
-9e6c
-812a4a9bcbf7
),
1312 interface nsIDOMDOMImplementation
: nsISupports
1314 nsresult HasFeature
(const nsAString
*feature
, const nsAString
*version, bool
*_retval
);
1315 nsresult CreateDocumentType
(const nsAString
*qualifiedName
, const nsAString
*publicId
,
1316 const nsAString
*systemId
, nsIDOMDocumentType
**_retval
);
1317 nsresult CreateDocument
(const nsAString
*namespaceURI
, const nsAString
*qualifiedName
,
1318 nsIDOMDocumentType
*doctype
, nsIDOMDocument
**_retval
);
1319 nsresult CreateHTMLDocument
(const nsAString
*title
, nsIDOMDocument
**_retval
);
1324 uuid(48eb8d72
-95bb
-402e
-a8fc
-f2b187abcbdb
),
1327 interface nsIDOMDocumentFragment
: nsIDOMNode
1329 nsresult QuerySelector
(const nsAString
*selectors
, nsIDOMElement
**_retval
);
1330 nsresult QuerySelectorAll
(const nsAString
*selectors
, nsIDOMNodeList
**_retval
);
1335 uuid(b15fa0f4
-97c1
-4388-af62
-2ceff7a89bdf
),
1338 interface nsIDOMDocument
: nsIDOMNode
1340 nsresult GetDoctype
(nsIDOMDocumentType
**aDoctype
);
1341 nsresult GetImplementation
(nsIDOMDOMImplementation
**aImplementation
);
1342 nsresult GetDocumentElement
(nsIDOMElement
**aDocumentElement
);
1343 nsresult CreateElement
(const nsAString
*tagName
, nsIDOMElement
**_retval
);
1344 nsresult CreateDocumentFragment
(nsIDOMDocumentFragment
**_retval
);
1345 nsresult CreateTextNode
(const nsAString
*data
, nsIDOMText
**_retval
);
1346 nsresult CreateComment
(const nsAString
*data
, nsIDOMComment
**_retval
);
1347 nsresult CreateCDATASection
(const nsAString
*data
, nsIDOMCDATASection
**_retval
);
1348 nsresult CreateProcessingInstruction
(const nsAString
*target
, const nsAString
*data
, nsIDOMProcessingInstruction
**_retval
);
1349 nsresult CreateAttribute
(const nsAString
*name
, nsIDOMAttr
**_retval
);
1350 nsresult GetElementsByTagName
(const nsAString
*tagname
, nsIDOMNodeList
**_retval
);
1351 nsresult ImportNode
(nsIDOMNode
*importedNode
, bool deep
, uint8_t _argc
, nsIDOMNode
**_retval
);
1352 nsresult CreateElementNS
(const nsAString
*namespaceURI
, const nsAString
*qualifiedName
, nsIDOMElement
**_retval
);
1353 nsresult CreateAttributeNS
(const nsAString
*namespaceURI
, const nsAString
*qualifiedName
, nsIDOMAttr
**_retval
);
1354 nsresult GetElementsByTagNameNS
(const nsAString
*namespaceURI
, const nsAString
*localName
, nsIDOMNodeList
**_retval
);
1355 nsresult GetElementById
(const nsAString
*elementId
, nsIDOMElement
**_retval
);
1356 nsresult GetInputEncoding
(nsAString
*aInputEncoding
);
1357 nsresult GetDocumentURI
(nsAString
*aDocumentURI
);
1358 nsresult GetURL
(nsAString
*aURL
);
1359 nsresult AdoptNode
(nsIDOMNode
*source, nsIDOMNode
**_retval
);
1360 nsresult CreateRange
(nsIDOMRange
**_retval
);
1361 nsresult CreateNodeIterator
(nsIDOMNode
*root
, uint32_t whatToShow
, nsIDOMNodeFilter
*filter
, uint8_t _argc
,
1362 nsIDOMNodeIterator
**_retval
);
1363 nsresult CreateTreeWalker
(nsIDOMNode
*root
, uint32_t whatToShow
, nsIDOMNodeFilter
*filter
, uint8_t _argc
,
1364 nsIDOMTreeWalker
**_retval
);
1365 cpp_quote
("#undef CreateEvent")
1366 nsresult CreateEvent
(const nsAString
*eventType
, nsIDOMEvent
**_retval
);
1367 nsresult GetDefaultView
(mozIDOMWindowProxy
**aDefaultView
);
1368 nsresult GetCharacterSet
(nsAString
*aCharacterSet
);
1369 nsresult GetDir
(nsAString
*aDir
);
1370 nsresult SetDir
(const nsAString
*aDir
);
1371 nsresult GetLocation
(nsIDOMLocation
**aLocation
);
1372 nsresult GetTitle
(nsAString
*aTitle
);
1373 nsresult SetTitle
(const nsAString
*aTitle
);
1374 nsresult GetReadyState
(nsAString
*aReadyState
);
1375 nsresult GetLastModified
(nsAString
*aLastModified
);
1376 nsresult GetReferrer
(nsAString
*aReferrer
);
1377 nsresult HasFocus
(bool
*_retval
);
1378 nsresult GetActiveElement
(nsIDOMElement
**aActiveElement
);
1379 nsresult GetElementsByClassName
(const nsAString
*classes
, nsIDOMNodeList
**_retval
);
1380 nsresult GetStyleSheets
(nsIDOMStyleSheetList
**aStyleSheets
);
1381 nsresult GetPreferredStyleSheetSet
(nsAString
*aPreferredStyleSheetSet
);
1382 nsresult GetSelectedStyleSheetSet
(nsAString
*aSelectedStyleSheetSet
);
1383 nsresult SetSelectedStyleSheetSet
(const nsAString
*aSelectedStyleSheetSet
);
1384 nsresult GetLastStyleSheetSet
(nsAString
*aLastStyleSheetSet
);
1385 nsresult GetStyleSheetSets
(nsISupports
**aStyleSheetSets
);
1386 nsresult EnableStyleSheetsForSet
(const nsAString
*name
);
1387 nsresult ElementFromPoint
(float x
, float y
, nsIDOMElement
**_retval
);
1388 nsresult GetContentType
(nsAString
*aContentType
);
1389 nsresult GetMozSyntheticDocument
(bool
*aMozSyntheticDocument
);
1390 nsresult GetCurrentScript
(nsIDOMElement
**aCurrentScript
);
1391 nsresult ReleaseCapture
();
1392 nsresult MozSetImageElement
(const nsAString
*aImageElementId
, nsIDOMElement
*aImageElement
);
1393 nsresult GetMozFullScreenElement
(nsIDOMElement
**aMozFullScreenElement
);
1394 nsresult MozCancelFullScreen
();
1395 nsresult GetMozFullScreen
(bool
*aMozFullScreen
);
1396 nsresult GetMozFullScreenEnabled
(bool
*aMozFullScreenEnabled
);
1397 nsresult GetMozPointerLockElement
(nsIDOMElement
**aMozPointerLockElement
);
1398 nsresult CaretPositionFromPoint
(float x
, float y
, nsISupports
**_retval
);
1399 nsresult MozExitPointerLock
();
1400 nsresult GetHidden
(bool
*aHidden
);
1401 nsresult GetMozHidden
(bool
*aMozHidden
);
1402 nsresult GetVisibilityState
(nsAString
*aVisibilityState
);
1403 nsresult GetMozVisibilityState
(nsAString
*aMozVisibilityState
);
1404 nsresult GetCompatMode
(nsAString
*aCompatMode
);
1405 nsresult QuerySelector
(const nsAString
*selectors
, nsIDOMElement
**_retval
);
1406 nsresult QuerySelectorAll
(const nsAString
*selectors
, nsIDOMNodeList
**_retval
);
1411 uuid(cd31e61f
-cfc2
-4b91
-9385-17b6a2d0633d
),
1414 interface nsIDOMHTMLDocument
: nsIDOMDocument
1416 nsresult GetDomain
(nsAString
*aDomain
);
1417 nsresult SetDomain
(const nsAString
*aDomain
);
1418 nsresult GetCookie
(nsAString
*aCookie
);
1419 nsresult SetCookie
(const nsAString
*aCookie
);
1420 nsresult GetHead
(nsIDOMHTMLHeadElement
**aHead
);
1421 nsresult GetBody
(nsIDOMHTMLElement
**aBody
);
1422 nsresult SetBody
(nsIDOMHTMLElement
*aBody
);
1423 nsresult GetImages
(nsIDOMHTMLCollection
**aImages
);
1424 nsresult GetEmbeds
(nsIDOMHTMLCollection
**aEmbeds
);
1425 nsresult GetPlugins
(nsIDOMHTMLCollection
**aPlugins
);
1426 nsresult GetLinks
(nsIDOMHTMLCollection
**aLinks
);
1427 nsresult GetForms
(nsIDOMHTMLCollection
**aForms
);
1428 nsresult GetScripts
(nsIDOMHTMLCollection
**aScripts
);
1429 nsresult GetElementsByName
(const nsAString
*elementName
, nsIDOMNodeList
**_retval
);
1430 nsresult GetItems
(const nsAString
*types
, nsIDOMNodeList
**_retval
);
1431 nsresult Open
(const nsAString
*aContentTypeOrUrl
, const nsAString
*aReplaceOrName
, const nsAString
*aFeatures
,
1432 JSContext
*cx
, uint8_t _argc
, nsISupports
**_retval
);
1434 nsresult Write
(const nsAString
*text
, JSContext
*cx
);
1435 nsresult Writeln
(const nsAString
*text
, JSContext
*cx
);
1436 nsresult GetDesignMode
(nsAString
*aDesignMode
);
1437 nsresult SetDesignMode
(const nsAString
*aDesignMode
);
1438 nsresult ExecCommand
(const nsAString
*commandID
, bool doShowUI
, const nsAString
*value
, bool
*_retval
);
1439 nsresult QueryCommandEnabled
(const nsAString
*commandID
, bool
*_retval
);
1440 nsresult QueryCommandIndeterm
(const nsAString
*commandID
, bool
*_retval
);
1441 nsresult QueryCommandState
(const nsAString
*commandID
, bool
*_retval
);
1442 nsresult QueryCommandSupported
(const nsAString
*commandID
, bool
*_retval
);
1443 nsresult QueryCommandValue
(const nsAString
*commandID
, nsAString
*_retval
);
1444 nsresult GetFgColor
(nsAString
*aFgColor
);
1445 nsresult SetFgColor
(const nsAString
*aFgColor
);
1446 nsresult GetBgColor
(nsAString
*aBgColor
);
1447 nsresult SetBgColor
(const nsAString
*aBgColor
);
1448 nsresult GetLinkColor
(nsAString
*aLinkColor
);
1449 nsresult SetLinkColor
(const nsAString
*aLinkColor
);
1450 nsresult GetVlinkColor
(nsAString
*aVlinkColor
);
1451 nsresult SetVlinkColor
(const nsAString
*aVlinkColor
);
1452 nsresult GetAlinkColor
(nsAString
*aAlinkColor
);
1453 nsresult SetAlinkColor
(const nsAString
*aAlinkColor
);
1454 nsresult GetAnchors
(nsIDOMHTMLCollection
**aAnchors
);
1455 nsresult GetApplets
(nsIDOMHTMLCollection
**aApplets
);
1457 nsresult GetSelection
(nsISelection
**_retval
);
1458 nsresult CaptureEvents
();
1459 nsresult ReleaseEvents
();
1460 nsresult GetIECompatMode
(uint32_t
*aIECompatMode
);
1461 nsresult SetIECompatMode
(uint32_t aIECompatMode
);
1466 uuid(1f94055c
-42e7
-4a30
-96a1
-6a804f1c2d1e
),
1469 interface nsIDOMRange
: nsISupports
1478 nsresult GetStartContainer
(nsIDOMNode
**aStartContainer
);
1479 nsresult GetStartOffset
(int32_t
*aStartOffset
);
1480 nsresult GetEndContainer
(nsIDOMNode
**aEndContainer
);
1481 nsresult GetEndOffset
(int32_t
*aEndOffset
);
1482 nsresult GetCollapsed
(bool
*aCollapsed
);
1483 nsresult GetCommonAncestorContainer
(nsIDOMNode
**aCommonAncestorContainer
);
1484 nsresult SetStart
(nsIDOMNode
*refNode
, int32_t offset
);
1485 nsresult SetEnd
(nsIDOMNode
*refNode
, int32_t offset
);
1486 nsresult SetStartBefore
(nsIDOMNode
*refNode
);
1487 nsresult SetStartAfter
(nsIDOMNode
*refNode
);
1488 nsresult SetEndBefore
(nsIDOMNode
*refNode
);
1489 nsresult SetEndAfter
(nsIDOMNode
*refNode
);
1490 nsresult Collapse
(bool toStart
);
1491 nsresult SelectNode
(nsIDOMNode
*refNode
);
1492 nsresult SelectNodeContents
(nsIDOMNode
*refNode
);
1493 nsresult CompareBoundaryPoints
(uint16_t how
, nsIDOMRange
*sourceRange
, int16_t
*_retval
);
1494 nsresult DeleteContents
();
1495 nsresult ExtractContents
(nsIDOMDocumentFragment
**_retval
);
1496 nsresult CloneContents
(nsIDOMDocumentFragment
**_retval
);
1497 nsresult InsertNode
(nsIDOMNode
*newNode
);
1498 nsresult SurroundContents
(nsIDOMNode
*newParent
);
1499 nsresult CloneRange
(nsIDOMRange
**_retval
);
1500 nsresult ToString
(nsAString
*_retval
);
1502 nsresult CreateContextualFragment
([in] const nsAString
*fragment
, [out] nsIDOMDocumentFragment
**_retval
);
1503 nsresult IsPointInRange
([in] nsIDOMNode
*parent
, [in] int32_t offset
, [out] bool
*_retval
);
1504 nsresult ComparePoint
([in] nsIDOMNode
*parent
, [in] int32_t offset
, [out] int16_t
*_retval
);
1505 nsresult IntersectsNode
(nsIDOMNode
*node
, bool
*_retval
);
1506 nsresult GetClientRects
(nsIDOMClientRectList
**_retval
);
1507 nsresult GetBoundingClientRect
(nsIDOMClientRect
**_retval
);
1512 uuid(e0a4d4b3
-f34e
-44bd
-b1f2
-4e3bde9b6915
),
1515 interface nsISelection
: nsISupports
1517 nsresult GetAnchorNode
(nsIDOMNode
**aAnchorNode
);
1518 nsresult GetAnchorOffset
(int32_t
*aAnchorOffset
);
1519 nsresult GetFocusNode
(nsIDOMNode
**aFocusNode
);
1520 nsresult GetFocusOffset
(int32_t
*aFocusOffset
);
1521 nsresult GetIsCollapsed
(bool
*aIsCollapsed
);
1522 bool
/* don't use */ Collapsed
();
1523 nsresult GetRangeCount
(int32_t
*aRangeCount
);
1524 nsresult GetRangeAt
(int32_t index
, nsIDOMRange
**_retval
);
1525 nsresult Collapse
(nsIDOMNode
*parentNode
, int32_t offset
);
1526 nsresult CollapseNative
(nsINode
*parentNode
, int32_t offset
);
1527 nsresult Extend
(nsIDOMNode
*parentNode
, int32_t offset
);
1528 nsresult ExtendNative
(nsINode
*parentNode
, int32_t offset
);
1529 nsresult CollapseToStart
();
1530 nsresult CollapseToEnd
();
1531 nsresult ContainsNode
(nsIDOMNode
*node
, bool entirelyContained
, bool
*_retval
);
1532 nsresult SelectAllChildren
(nsIDOMNode
*parentNode
);
1533 nsresult AddRange
(nsIDOMRange
*range);
1534 nsresult RemoveRange
(nsIDOMRange
*range);
1535 nsresult RemoveAllRanges
();
1536 nsresult DeleteFromDocument
();
1537 nsresult ToString
(nsAString
*_retval
);
1538 nsresult Modify
(const nsAString
*alter
, const nsAString
*direction
, const nsAString
*granularity
);
1543 uuid(8d64f457
-fb8c
-49ea
-a359
-cef30eed9774
),
1546 interface nsIDOMWindowCollection
: nsISupports
1548 nsresult GetLength
(uint32_t
*aLength
);
1549 nsresult Item
(uint32_t index
, mozIDOMWindowProxy
**_retval
);
1550 nsresult NamedItem
(const nsAString
*name
, mozIDOMWindowProxy
**_retval
);
1555 uuid(75fbabd6
-7a2e
-4787
-aa33
-449a33512135
),
1558 interface mozIDOMWindow
: nsISupports
1564 uuid(53ca090c
-e739
-48b9
-8911-208c72f9191e
),
1567 interface mozIDOMWindowProxy
: nsISupports
1573 uuid(ab30b7cc
-f7f9
-4b9b
-befb
-7dbf6cf86d46
),
1576 interface nsIDOMWindow
: nsISupports
1578 nsresult GetDocument
(nsIDOMDocument
**aDocument
);
1579 nsresult GetName
(nsAString
*aName
);
1580 nsresult SetName
(const nsAString
*aName
);
1581 nsresult GetLocation
(nsIDOMLocation
**aLocation
);
1586 nsresult GetLength
(uint32_t
*aLength
);
1587 nsresult GetRealTop
(nsIDOMWindow
**aTop
);
1588 nsresult GetRealParent
(nsIDOMWindow
**aParent
);
1589 nsresult GetOpener
(mozIDOMWindowProxy
**aOpenerWindow
);
1590 nsresult SetOpener
(mozIDOMWindowProxy
*aOpenerWindow
);
1591 nsresult GetRealFrameElement
(nsIDOMElement
**aFrameElement
);
1592 nsresult GetNavigator
(nsIDOMNavigator
**aNavigator
);
1594 nsresult GetSessionStorage
(nsISupports
**aSessionStorage
);
1595 nsresult GetLocalStorage
(nsISupports
**aLocalStorage
);
1596 nsresult GetIndexedDB
(nsISupports
**aIndexedDB
);
1597 nsresult GetSelection
(nsISelection
**_retval
);
1598 nsresult MatchMedia
(const nsAString
*media_query_list
, nsISupports
**_retval
);
1599 nsresult GetInnerWidth
(int32_t
*aInnerWidth
);
1600 nsresult SetInnerWidth
(int32_t aInnerWidth
);
1601 nsresult GetInnerHeight
(int32_t
*aInnerHeight
);
1602 nsresult SetInnerHeight
(int32_t aInnerHeight
);
1603 nsresult GetScrollX
(int32_t
*aScrollX
);
1604 nsresult GetPageXOffset
(int32_t
*aPageXOffset
);
1605 nsresult GetScrollY
(int32_t
*aScrollY
);
1606 nsresult GetPageYOffset
(int32_t
*aPageYOffset
);
1607 nsresult Scroll
(int32_t xScroll
, int32_t yScroll
);
1608 nsresult ScrollTo
(int32_t xScroll
, int32_t yScroll
);
1609 nsresult ScrollBy
(int32_t xScrollDif
, int32_t yScrollDif
);
1610 nsresult GetScreenX
(int32_t
*aScreenX
);
1611 nsresult SetScreenX
(int32_t aScreenX
);
1612 nsresult GetScreenY
(int32_t
*aScreenY
);
1613 nsresult SetScreenY
(int32_t aScreenY
);
1614 nsresult GetOuterWidth
(int32_t
*aOuterWidth
);
1615 nsresult SetOuterWidth
(int32_t aOuterWidth
);
1616 nsresult GetOuterHeight
(int32_t
*aOuterHeight
);
1617 nsresult SetOuterHeight
(int32_t aOuterHeight
);
1618 nsresult GetComputedStyle
(nsIDOMElement
*elt
, const nsAString
*pseudoElt
, nsIDOMCSSStyleDeclaration
**_retval
);
1619 nsresult GetDefaultComputedStyle
(nsIDOMElement
*elt
, const nsAString
*pseudoElt
, nsIDOMCSSStyleDeclaration
**_retval
);
1620 nsresult GetFrames
(nsIDOMWindowCollection
**aFrames
);
1621 nsresult GetTextZoom
(float *aTextZoom
);
1622 nsresult SetTextZoom
(float aTextZoom
);
1623 nsresult ScrollByLines
(int32_t numLines
);
1624 nsresult ScrollByPages
(int32_t numPages
);
1625 nsresult GetMozInnerScreenX
(float *aMozInnerScreenX
);
1626 nsresult GetMozInnerScreenY
(float *aMozInnerScreenY
);
1627 nsresult GetDevicePixelRatio
(float *aDevicePixelRatio
);
1628 nsresult GetScrollMaxX
(int32_t
*aScrollMaxX
);
1629 nsresult GetScrollMaxY
(int32_t
*aScrollMaxY
);
1630 nsresult GetFullScreen
(bool
*aFullScreen
);
1631 nsresult SetFullScreen
(bool aFullScreen
);
1635 nsresult Open
(const nsAString
*url
, const nsAString
*name
, const nsAString
*options
, nsIDOMWindow
**_retval
);
1636 nsresult Find
(const nsAString
*str
, bool caseSensitive
, bool backwards
, bool wrapAround
, bool wholeWord
,
1637 bool searchInFrames
, bool showDialog
, bool
*_retval
);
1638 nsresult GetInnerWindow
(mozIDOMWindow
**aInnerWindow
);
1639 nsresult GetOuterWindow
(mozIDOMWindowProxy
**aOuterWindow
);
1644 uuid(068630db
-2c00
-43dd
-b167
-495757a88236
),
1647 interface nsIDOMHTMLBodyElement
: nsISupports
1649 nsresult GetALink
(nsAString
*aALink
);
1650 nsresult SetALink
(const nsAString
*aALink
);
1651 nsresult GetBackground
(nsAString
*aBackground
);
1652 nsresult SetBackground
(const nsAString
*aBackground
);
1653 nsresult GetBgColor
(nsAString
*aBgColor
);
1654 nsresult SetBgColor
(const nsAString
*aBgColor
);
1655 nsresult GetLink
(nsAString
*aLink
);
1656 nsresult SetLink
(const nsAString
*aLink
);
1657 nsresult GetText
(nsAString
*aText
);
1658 nsresult SetText
(const nsAString
*aText
);
1659 nsresult GetVLink
(nsAString
*aVLink
);
1660 nsresult SetVLink
(const nsAString
*aVLink
);
1665 uuid(ad9b2ad0
-9d29
-43f6
-b1a2
-a1fd24627e6b
),
1668 interface nsIDOMHTMLFormElement
: nsISupports
1670 nsresult GetAcceptCharset
(nsAString
*aAcceptCharset
);
1671 nsresult SetAcceptCharset
(const nsAString
*aAcceptCharset
);
1672 nsresult GetAction
(nsAString
*aAction
);
1673 nsresult SetAction
(const nsAString
*aAction
);
1674 nsresult GetAutocomplete
(nsAString
*aAutocomplete
);
1675 nsresult SetAutocomplete
(const nsAString
*aAutocomplete
);
1676 nsresult GetEnctype
(nsAString
*aEnctype
);
1677 nsresult SetEnctype
(const nsAString
*aEnctype
);
1678 nsresult GetEncoding
(nsAString
*aEncoding
);
1679 nsresult SetEncoding
(const nsAString
*aEncoding
);
1680 nsresult GetMethod
(nsAString
*aMethod
);
1681 nsresult SetMethod
(const nsAString
*aMethod
);
1682 nsresult GetName
(nsAString
*aName
);
1683 nsresult SetName
(const nsAString
*aName
);
1684 nsresult GetNoValidate
(bool
*aNoValidate
);
1685 nsresult SetNoValidate
(bool aNoValidate
);
1686 nsresult GetTarget
(nsAString
*aTarget
);
1687 nsresult SetTarget
(const nsAString
*aTarget
);
1688 nsresult GetElements
(nsIDOMHTMLCollection
**aElements
);
1689 nsresult GetLength
(int32_t
*aLength
);
1692 nsresult CheckValidity
(bool
*_retval
);
1693 nsresult GetFormData
(nsIDOMHTMLElement
*aOriginatingElement
, nsAString
*aActionURI
, nsIInputStream
**aPostDataStream
);
1698 uuid(64aeda0b
-e9b5
-4868-a4f9
-e4776e32e733
),
1701 interface nsIDOMHTMLInputElement
: nsISupports
1703 nsresult GetAccept
(nsAString
*aAccept
);
1704 nsresult SetAccept
(const nsAString
*aAccept
);
1705 nsresult GetAlt
(nsAString
*aAlt
);
1706 nsresult SetAlt
(const nsAString
*aAlt
);
1707 nsresult GetAutocomplete
(nsAString
*aAutocomplete
);
1708 nsresult SetAutocomplete
(const nsAString
*aAutocomplete
);
1709 nsresult GetAutofocus
(bool
*aAutofocus
);
1710 nsresult SetAutofocus
(bool aAutofocus
);
1711 nsresult GetDefaultChecked
(bool
*aDefaultChecked
);
1712 nsresult SetDefaultChecked
(bool aDefaultChecked
);
1713 nsresult GetChecked
(bool
*aChecked
);
1714 nsresult SetChecked
(bool aChecked
);
1715 nsresult GetDisabled
(bool
*aDisabled
);
1716 nsresult SetDisabled
(bool aDisabled
);
1717 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1718 nsresult GetFormAction
(nsAString
*aFormAction
);
1719 nsresult SetFormAction
(const nsAString
*aFormAction
);
1720 nsresult GetFormEnctype
(nsAString
*aFormEnctype
);
1721 nsresult SetFormEnctype
(const nsAString
*aFormEnctype
);
1722 nsresult GetFormMethod
(nsAString
*aFormMethod
);
1723 nsresult SetFormMethod
(const nsAString
*aFormMethod
);
1724 nsresult GetFormNoValidate
(bool
*aFormNoValidate
);
1725 nsresult SetFormNoValidate
(bool aFormNoValidate
);
1726 nsresult GetFormTarget
(nsAString
*aFormTarget
);
1727 nsresult SetFormTarget
(const nsAString
*aFormTarget
);
1728 nsresult GetFiles
(nsIDOMFileList
**aFiles
);
1729 nsresult GetHeight
(uint32_t
*aHeight
);
1730 nsresult SetHeight
(uint32_t aHeight
);
1731 nsresult GetIndeterminate
(bool
*aIndeterminate
);
1732 nsresult SetIndeterminate
(bool aIndeterminate
);
1733 nsresult GetInputMode
(nsAString
*aInputMode
);
1734 nsresult SetInputMode
(const nsAString
*aInputMode
);
1735 nsresult GetList
(nsIDOMHTMLElement
**aList
);
1736 nsresult GetMax
(nsAString
*aMax
);
1737 nsresult SetMax
(const nsAString
*aMax
);
1738 nsresult GetMaxLength
(int32_t
*aMaxLength
);
1739 nsresult SetMaxLength
(int32_t aMaxLength
);
1740 nsresult GetMin
(nsAString
*aMin
);
1741 nsresult SetMin
(const nsAString
*aMin
);
1742 nsresult GetMultiple
(bool
*aMultiple
);
1743 nsresult SetMultiple
(bool aMultiple
);
1744 nsresult GetName
(nsAString
*aName
);
1745 nsresult SetName
(const nsAString
*aName
);
1746 nsresult GetPattern
(nsAString
*aPattern
);
1747 nsresult SetPattern
(const nsAString
*aPattern
);
1748 nsresult GetPlaceholder
(nsAString
*aPlaceholder
);
1749 nsresult SetPlaceholder
(const nsAString
*aPlaceholder
);
1750 nsresult GetReadOnly
(bool
*aReadOnly
);
1751 nsresult SetReadOnly
(bool aReadOnly
);
1752 nsresult GetRequired
(bool
*aRequired
);
1753 nsresult SetRequired
(bool aRequired
);
1754 nsresult GetStep
(nsAString
*aStep
);
1755 nsresult SetStep
(const nsAString
*aStep
);
1756 nsresult GetAlign
(nsAString
*aAlign
);
1757 nsresult SetAlign
(const nsAString
*aAlign
);
1758 nsresult GetSize
(uint32_t
*aSize
);
1759 nsresult SetSize
(uint32_t aSize
);
1760 nsresult GetWidth
(uint32_t
*aWidth
);
1761 nsresult SetWidth
(uint32_t aWidth
);
1762 nsresult GetSrc
(nsAString
*aSrc
);
1763 nsresult SetSrc
(const nsAString
*aSrc
);
1764 nsresult GetType
(nsAString
*aType
);
1765 nsresult SetType
(const nsAString
*aType
);
1766 nsresult GetDefaultValue
(nsAString
*aDefaultValue
);
1767 nsresult SetDefaultValue
(const nsAString
*aDefaultValue
);
1768 nsresult GetValue
(nsAString
*aValue
);
1769 nsresult SetValue
(const nsAString
*aValue
);
1770 nsresult GetValueAsNumber
(double *aValueAsNumber
);
1771 nsresult SetValueAsNumber
(double aValueAsNumber
);
1772 nsresult StepDown
(int32_t n
, uint8_t _argc
);
1773 nsresult StepUp
(int32_t n
, uint8_t _argc
);
1774 nsresult GetWillValidate
(bool
*aWillValidate
);
1775 nsresult GetValidity
(nsIDOMValidityState
**aValidity
);
1776 nsresult GetValidationMessage
(nsAString
*aValidationMessage
);
1777 nsresult CheckValidity
(bool
*_retval
);
1778 nsresult SetCustomValidity
(const nsAString
*error
);
1780 nsresult GetSelectionStart
(int32_t
*aSelectionStart
);
1781 nsresult SetSelectionStart
(int32_t aSelectionStart
);
1782 nsresult GetSelectionEnd
(int32_t
*aSelectionEnd
);
1783 nsresult SetSelectionEnd
(int32_t aSelectionEnd
);
1784 nsresult SetSelectionRange
(int32_t selectionStart
, int32_t selectionEnd
, const nsAString
*direction
);
1785 nsresult GetSelectionDirection
(nsAString
*aSelectionDirection
);
1786 nsresult SetSelectionDirection
(const nsAString
*aSelectionDirection
);
1787 nsresult GetUseMap
(nsAString
*aUseMap
);
1788 nsresult SetUseMap
(const nsAString
*aUseMap
);
1789 nsresult GetControllers
(nsIControllers
**aControllers
);
1790 nsresult GetTextLength
(int32_t
*aTextLength
);
1791 nsresult MozGetFileNameArray
(uint32_t
*aLength
, PRUnichar
***aFileNames
);
1792 nsresult MozSetFileNameArray
(const PRUnichar
**aFileNames
, uint32_t aLength
);
1793 nsresult MozIsTextField
(bool aExcludePassword
, bool
*_retval
);
1794 nsresult GetComplete
(bool
*aComplete
);
1799 uuid(c2b3e9ff
-6b36
-4158-ace3
-05a9c5b8e1c1
),
1802 interface nsIDOMHTMLOptionElement
: nsISupports
1804 nsresult GetDisabled
(bool
*aDisabled
);
1805 nsresult SetDisabled
(bool aDisabled
);
1806 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1807 nsresult GetLabel
(nsAString
*aLabel
);
1808 nsresult SetLabel
(const nsAString
*aLabel
);
1809 nsresult GetDefaultSelected
(bool
*aDefaultSelected
);
1810 nsresult SetDefaultSelected
(bool aDefaultSelected
);
1811 nsresult GetSelected
(bool
*aSelected
);
1812 nsresult SetSelected
(bool aSelected
);
1813 nsresult GetValue
(nsAString
*aValue
);
1814 nsresult SetValue
(const nsAString
*aValue
);
1815 nsresult GetText
(nsAString
*aText
);
1816 nsresult SetText
(const nsAString
*aText
);
1817 nsresult GetIndex
(int32_t
*aIndex
);
1822 uuid(44b7a468
-7dba
-4f0c
-9b4e
-ee46dc0f26c7
),
1825 interface nsIDOMHTMLButtonElement
: nsISupports
1827 nsresult GetAutofocus
(bool
*aAutofocus
);
1828 nsresult SetAutofocus
(bool aAutofocus
);
1829 nsresult GetDisabled
(bool
*aDisabled
);
1830 nsresult SetDisabled
(bool aDisabled
);
1831 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1832 nsresult GetFormAction
(nsAString
*aFormAction
);
1833 nsresult SetFormAction
(const nsAString
*aFormAction
);
1834 nsresult GetFormEnctype
(nsAString
*aFormEnctype
);
1835 nsresult SetFormEnctype
(const nsAString
*aFormEnctype
);
1836 nsresult GetFormMethod
(nsAString
*aFormMethod
);
1837 nsresult SetFormMethod
(const nsAString
*aFormMethod
);
1838 nsresult GetFormNoValidate
(bool
*aFormNoValidate
);
1839 nsresult SetFormNoValidate
(bool aFormNoValidate
);
1840 nsresult GetFormTarget
(nsAString
*aFormTarget
);
1841 nsresult SetFormTarget
(const nsAString
*aFormTarget
);
1842 nsresult GetName
(nsAString
*aName
);
1843 nsresult SetName
(const nsAString
*aName
);
1844 nsresult GetType
(nsAString
*aType
);
1845 nsresult SetType
(const nsAString
*aType
);
1846 nsresult GetValue
(nsAString
*aValue
);
1847 nsresult SetValue
(const nsAString
*aValue
);
1848 nsresult GetWillValidate
(bool
*aWillValidate
);
1849 nsresult GetValidity
(nsIDOMValidityState
**aValidity
);
1850 nsresult GetValidationMessage
(nsAString
*aValidationMessage
);
1851 nsresult CheckValidity
(bool
*_retval
);
1852 nsresult SetCustomValidity
(const nsAString
*error
);
1857 uuid(4173cc53
-30f6
-4d12
-a770
-981ba53164e2
),
1860 interface nsIDOMHTMLOptionsCollection
: nsISupports
1862 typedef int nsWrapperCache
;
1864 nsresult GetLength
(uint32_t
*aLength
);
1865 nsresult SetLength
(uint32_t aLength
);
1866 nsresult Item
(uint32_t index
, nsIDOMNode
**_retval
);
1867 nsresult NamedItem
(const nsAString
*name
, nsIDOMNode
**_retval
);
1868 nsresult GetSelectedIndex
(int32_t
*aSelectedIndex
);
1869 nsresult SetSelectedIndex
(int32_t aSelectedIndex
);
1870 nsresult SetOption
(uint32_t index
, nsIDOMHTMLOptionElement
*option
);
1871 nsresult GetSelect
(nsIDOMHTMLSelectElement
**aSelect
);
1872 nsresult Add
(nsIDOMHTMLOptionElement
*option
, nsIVariant
*before
);
1873 nsresult Remove
(int32_t index
);
1878 uuid(d8914a2d
-3556-4b66
-911c
-a84c4394e7fa
),
1881 interface nsIDOMHTMLSelectElement
: nsISupports
1883 nsresult GetAutofocus
(bool
*aAutofocus
);
1884 nsresult SetAutofocus
(bool aAutofocus
);
1885 nsresult GetDisabled
(bool
*aDisabled
);
1886 nsresult SetDisabled
(bool aDisabled
);
1887 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1888 nsresult GetMultiple
(bool
*aMultiple
);
1889 nsresult SetMultiple
(bool aMultiple
);
1890 nsresult GetName
(nsAString
*aName
);
1891 nsresult SetName
(const nsAString
*aName
);
1892 nsresult GetSize
(uint32_t
*aSize
);
1893 nsresult SetSize
(uint32_t aSize
);
1894 nsresult GetType
(nsAString
*aType
);
1895 nsresult GetOptions
(nsIDOMHTMLOptionsCollection
**aOptions
);
1896 nsresult GetLength
(uint32_t
*aLength
);
1897 nsresult SetLength
(uint32_t aLength
);
1898 nsresult Item
(uint32_t index
, nsIDOMNode
**_retval
);
1899 nsresult NamedItem
(const nsAString
*name
, nsIDOMNode
**_retval
);
1900 nsresult Add
(nsIDOMHTMLElement
*element
, nsIVariant
*before
);
1901 nsresult select_Remove
(int32_t index
);
1902 nsresult GetSelectedOptions
(nsIDOMHTMLCollection
**aSelectedOptions
);
1903 nsresult GetSelectedIndex
(int32_t
*aSelectedIndex
);
1904 nsresult SetSelectedIndex
(int32_t aSelectedIndex
);
1905 nsresult GetValue
(nsAString
*aValue
);
1906 nsresult SetValue
(const nsAString
*aValue
);
1907 nsresult GetWillValidate
(bool
*aWillValidate
);
1908 nsresult GetValidity
(nsIDOMValidityState
**aValidity
);
1909 nsresult GetValidationMessage
(nsAString
*aValidationMessage
);
1910 nsresult CheckValidity
(bool
*_retval
);
1911 nsresult SetCustomValidity
(const nsAString
*error
);
1912 nsresult GetRequired
(bool
*aRequired
);
1913 nsresult SetRequired
(bool aRequired
);
1918 uuid(7a4aeb2e
-fcf3
-443e
-b002
-ca1c8ea322e9
),
1921 interface nsIDOMHTMLTextAreaElement
: nsISupports
1923 nsresult GetAutofocus
(bool
*aAutofocus
);
1924 nsresult SetAutofocus
(bool aAutofocus
);
1925 nsresult GetCols
(uint32_t
*aCols
);
1926 nsresult SetCols
(uint32_t aCols
);
1927 nsresult GetDisabled
(bool
*aDisabled
);
1928 nsresult SetDisabled
(bool aDisabled
);
1929 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
1930 nsresult GetMaxLength
(int32_t
*aMaxLength
);
1931 nsresult SetMaxLength
(int32_t aMaxLength
);
1932 nsresult GetName
(nsAString
*aName
);
1933 nsresult SetName
(const nsAString
*aName
);
1934 nsresult GetPlaceholder
(nsAString
*aPlaceholder
);
1935 nsresult SetPlaceholder
(const nsAString
*aPlaceholder
);
1936 nsresult GetReadOnly
(bool
*aReadOnly
);
1937 nsresult SetReadOnly
(bool aReadOnly
);
1938 nsresult GetRequired
(bool
*aRequired
);
1939 nsresult SetRequired
(bool aRequired
);
1940 nsresult GetRows
(uint32_t
*aRows
);
1941 nsresult SetRows
(uint32_t aRows
);
1942 nsresult GetWrap
(nsAString
*aWrap
);
1943 nsresult SetWrap
(const nsAString
*aWrap
);
1944 nsresult GetType
(nsAString
*aType
);
1945 nsresult GetDefaultValue
(nsAString
*aDefaultValue
);
1946 nsresult SetDefaultValue
(const nsAString
*aDefaultValue
);
1947 nsresult GetValue
(nsAString
*aValue
);
1948 nsresult SetValue
(const nsAString
*aValue
);
1949 nsresult GetTextLength
(int32_t
*aTextLength
);
1950 nsresult GetWillValidate
(bool
*aWillValidate
);
1951 nsresult GetValidity
(nsIDOMValidityState
**aValidity
);
1952 nsresult GetValidationMessage
(nsAString
*aValidationMessage
);
1953 nsresult CheckValidity
(bool
*_retval
);
1954 nsresult SetCustomValidity
(const nsAString
*error
);
1956 nsresult GetSelectionStart
(int32_t
*aSelectionStart
);
1957 nsresult SetSelectionStart
(int32_t aSelectionStart
);
1958 nsresult GetSelectionEnd
(int32_t
*aSelectionEnd
);
1959 nsresult SetSelectionEnd
(int32_t aSelectionEnd
);
1960 nsresult SetSelectionRange
(int32_t selectionStart
, int32_t selectionEnd
, const nsAString
*direction
);
1961 nsresult GetSelectionDirection
(nsAString
*aSelectionDirection
);
1962 nsresult SetSelectionDirection
(const nsAString
*aSelectionDirection
);
1963 nsresult GetControllers
(nsIControllers
**aControllers
);
1968 uuid(fe96dc1c
-40e4
-4974-9354-e3fce663c3d5
),
1971 interface nsIDOMHTMLScriptElement
: nsISupports
1973 nsresult GetSrc
(nsAString
*aSrc
);
1974 nsresult SetSrc
(const nsAString
*aSrc
);
1975 nsresult GetAsync
(bool
*aAsync
);
1976 nsresult SetAsync
(bool aAsync
);
1977 nsresult GetDefer
(bool
*aDefer
);
1978 nsresult SetDefer
(bool aDefer
);
1979 nsresult GetType
(nsAString
*aType
);
1980 nsresult SetType
(const nsAString
*aType
);
1981 nsresult GetCharset
(nsAString
*aCharset
);
1982 nsresult SetCharset
(const nsAString
*aCharset
);
1983 nsresult GetText
(nsAString
*aText
);
1984 nsresult SetText
(const nsAString
*aText
);
1985 nsresult GetHtmlFor
(nsAString
*aHtmlFor
);
1986 nsresult SetHtmlFor
(const nsAString
*aHtmlFor
);
1987 nsresult GetEvent
(nsAString
*aEvent
);
1988 nsresult SetEvent
(const nsAString
*aEvent
);
1993 uuid(ec18e71c
-4f5c
-4cc3
-aa36
-5273168644dc
),
1996 interface nsIDOMHTMLImageElement
: nsISupports
1998 nsresult GetAlt
(nsAString
*aAlt
);
1999 nsresult SetAlt
(const nsAString
*aAlt
);
2000 nsresult GetSrc
(nsAString
*aSrc
);
2001 nsresult SetSrc
(const nsAString
*aSrc
);
2002 nsresult GetSrcset
(nsAString
*aSrcset
);
2003 nsresult SetSrcset
(const nsAString
*aSrcset
) ;
2004 nsresult GetSizes
(nsAString
*aSizes
);
2005 nsresult SetSizes
(const nsAString
*aSizes
);
2006 nsresult GetUseMap
(nsAString
*aUseMap
);
2007 nsresult SetUseMap
(const nsAString
*aUseMap
);
2008 nsresult GetIsMap
(bool
*aIsMap
);
2009 nsresult SetIsMap
(bool aIsMap
);
2010 nsresult GetWidth
(uint32_t
*aWidth
);
2011 nsresult SetWidth
(uint32_t aWidth
);
2012 nsresult GetHeight
(uint32_t
*aHeight
);
2013 nsresult SetHeight
(uint32_t aHeight
);
2014 nsresult GetNaturalWidth
(uint32_t
*aNaturalWidth
);
2015 nsresult GetNaturalHeight
(uint32_t
*aNaturalHeight
);
2016 nsresult GetComplete
(bool
*aComplete
);
2017 nsresult GetName
(nsAString
*aName
);
2018 nsresult SetName
(const nsAString
*aName
);
2019 nsresult GetAlign
(nsAString
*aAlign
);
2020 nsresult SetAlign
(const nsAString
*aAlign
);
2021 nsresult GetBorder
(nsAString
*aBorder
);
2022 nsresult SetBorder
(const nsAString
*aBorder
);
2023 nsresult GetHspace
(int32_t
*aHspace
);
2024 nsresult SetHspace
(int32_t aHspace
);
2025 nsresult GetLongDesc
(nsAString
*aLongDesc
);
2026 nsresult SetLongDesc
(const nsAString
*aLongDesc
);
2027 nsresult GetVspace
(int32_t
*aVspace
);
2028 nsresult SetVspace
(int32_t aVspace
);
2029 nsresult GetLowsrc
(nsAString
*aLowsrc
);
2030 nsresult SetLowsrc
(const nsAString
*aLowsrc
);
2031 nsresult GetCurrentSrc
(nsAString
*aCurrentSrc
);
2032 nsresult GetX
(int32_t
*aX
);
2033 nsresult GetY
(int32_t
*aY
);
2038 uuid(339c01c8
-2d41
-4626-b231
-eec63f0241b6
),
2041 interface nsIDOMHTMLAnchorElement
: nsISupports
2043 nsresult GetHref
(nsAString
*aHref
);
2044 nsresult SetHref
(const nsAString
*aHref
);
2045 nsresult GetTarget
(nsAString
*aTarget
);
2046 nsresult SetTarget
(const nsAString
*aTarget
);
2047 nsresult GetPing
(nsAString
*aPing
);
2048 nsresult SetPing
(const nsAString
*aPing
);
2049 nsresult GetDownload
(nsAString
*aPing
);
2050 nsresult SetDownload
(const nsAString
*aPing
);
2051 nsresult GetRel
(nsAString
*aRel
);
2052 nsresult SetRel
(const nsAString
*aRel
);
2053 nsresult GetHreflang
(nsAString
*aHreflang
);
2054 nsresult SetHreflang
(const nsAString
*aHreflang
);
2055 nsresult GetType
(nsAString
*aType
);
2056 nsresult SetType
(const nsAString
*aType
);
2057 nsresult GetText
(nsAString
*aText
);
2058 nsresult SetText
(const nsAString
*aText
);
2059 nsresult GetProtocol
(nsAString
*aProtocol
);
2060 nsresult SetProtocol
(const nsAString
*aProtocol
);
2061 nsresult GetHost
(nsAString
*aHost
);
2062 nsresult SetHost
(const nsAString
*aHost
);
2063 nsresult GetHostname
(nsAString
*aHostname
);
2064 nsresult SetHostname
(const nsAString
*aHostname
);
2065 nsresult GetPort
(nsAString
*aPort
);
2066 nsresult SetPort
(const nsAString
*aPort
);
2067 nsresult GetPathname
(nsAString
*aPathname
);
2068 nsresult SetPathname
(const nsAString
*aPathname
);
2069 nsresult GetSearch
(nsAString
*aSearch
);
2070 nsresult SetSearch
(const nsAString
*aSearch
);
2071 nsresult GetHash
(nsAString
*aHash
);
2072 nsresult SetHash
(const nsAString
*aHash
);
2073 nsresult GetCharset
(nsAString
*aCharset
);
2074 nsresult SetCharset
(const nsAString
*aCharset
);
2075 nsresult GetCoords
(nsAString
*aCoords
);
2076 nsresult SetCoords
(const nsAString
*aCoords
);
2077 nsresult GetName
(nsAString
*aName
);
2078 nsresult SetName
(const nsAString
*aName
);
2079 nsresult GetRev
(nsAString
*aRev
);
2080 nsresult SetRev
(const nsAString
*aRev
);
2081 nsresult GetShape
(nsAString
*aShape
);
2082 nsresult SetShape
(const nsAString
*aShape
);
2083 nsresult ToString
(nsAString
*_retval
);
2088 uuid(40c78026
-36dc
-40ca
-9221-de73267e9e99
),
2091 interface nsIDOMHTMLAreaElement
: nsISupports
2093 nsresult GetAlt
(const nsAString
*aAlt
);
2094 nsresult SetAlt
(nsAString
*aAlt
);
2095 nsresult GetCoords
(const nsAString
*aCoords
);
2096 nsresult SetCoords
(nsAString
*aCoords
);
2097 nsresult GetShape
(const nsAString
*aShape
);
2098 nsresult SetShape
(nsAString
*aShape
);
2099 nsresult GetHref
(const nsAString
*aHref
);
2100 nsresult SetHref
(nsAString
*aHref
);
2101 nsresult GetTarget
(const nsAString
*aTarget
);
2102 nsresult SetTarget
(nsAString
*aTarget
);
2103 nsresult GetPing
(const nsAString
*aPing
);
2104 nsresult SetPing
(nsAString
*aPing
);
2105 nsresult GetDownload
(const nsAString
*aDownload
);
2106 nsresult SetDownload
(nsAString
*aDownload
);
2107 nsresult GetProtocol
(const nsAString
*aProtocol
);
2108 nsresult SetProtocol
(nsAString
*aProtocol
);
2109 nsresult GetHost
(const nsAString
*aHost
);
2110 nsresult SetHost
(nsAString
*aHost
);
2111 nsresult GetPort
(const nsAString
*aPort
);
2112 nsresult SetPort
(nsAString
*aPort
);
2113 nsresult GetPathname
(const nsAString
*aPathname
);
2114 nsresult SetPathname
(nsAString
*aPathname
);
2115 nsresult GetSearch
(const nsAString
*aSearch
);
2116 nsresult SetSearch
(nsAString
*aSearch
);
2117 nsresult GetHash
(const nsAString
*aHash
);
2118 nsresult SetHash
(nsAString
*aHash
);
2119 nsresult GetNoHref
(const nsAString
*aNoHref
);
2120 nsresult SetNoHref
(nsAString
*aNoHref
);
2121 nsresult ToString
(nsAString
*_retval
);
2126 uuid(ee50b7ab
-0015-4fbe
-89e0
-e3feacd4ffde
),
2129 interface nsIDOMHTMLLinkElement
: nsISupports
2131 nsresult GetDisabled
(bool
*aDisabled
);
2132 nsresult SetDisabled
(bool aDisabled
);
2133 nsresult GetCharset
(nsAString
*aCharset
);
2134 nsresult SetCharset
(const nsAString
*aCharset
);
2135 nsresult GetHref
(nsAString
*aHref
);
2136 nsresult SetHref
(const nsAString
*aHref
);
2137 nsresult GetHreflang
(nsAString
*aHreflang
);
2138 nsresult SetHreflang
(const nsAString
*aHreflang
);
2139 nsresult GetMedia
(nsAString
*aMedia
);
2140 nsresult SetMedia
(const nsAString
*aMedia
);
2141 nsresult GetRel
(nsAString
*aRel
);
2142 nsresult SetRel
(const nsAString
*aRel
);
2143 nsresult GetRev
(nsAString
*aRev
);
2144 nsresult SetRev
(const nsAString
*aRev
);
2145 nsresult GetTarget
(nsAString
*aTarget
);
2146 nsresult SetTarget
(const nsAString
*aTarget
);
2147 nsresult GetType
(nsAString
*aType
);
2148 nsresult SetType
(const nsAString
*aType
);
2153 uuid(135a30ee
-0374-4ee7
-9d36
-91736bff5fb1
),
2156 interface nsIDOMHTMLTableElement
: nsISupports
2158 nsresult GetCaption
(nsIDOMHTMLElement
**aCaption
);
2159 nsresult SetCaption
(nsIDOMHTMLElement
*aCaption
);
2160 nsresult GetTHead
(nsIDOMHTMLElement
**aTHead
);
2161 nsresult SetTHead
(nsIDOMHTMLElement
*aTHead
);
2162 nsresult GetTFoot
(nsIDOMHTMLElement
**aTFoot
);
2163 nsresult SetTFoot
(nsIDOMHTMLElement
*aTFoot
);
2164 nsresult GetRows
(nsIDOMHTMLCollection
**aRows
);
2165 nsresult GetTBodies
(nsIDOMHTMLCollection
**aTBodies
);
2166 nsresult GetAlign
(nsAString
*aAlign
);
2167 nsresult SetAlign
(const nsAString
*aAlign
);
2168 nsresult GetBgColor
(nsAString
*aBgColor
);
2169 nsresult SetBgColor
(const nsAString
*aBgColor
);
2170 nsresult GetBorder
(nsAString
*aBorder
);
2171 nsresult SetBorder
(const nsAString
*aBorder
);
2172 nsresult GetCellPadding
(nsAString
*aCellPadding
);
2173 nsresult SetCellPadding
(const nsAString
*aCellPadding
);
2174 nsresult GetCellSpacing
(nsAString
*aCellSpacing
);
2175 nsresult SetCellSpacing
(const nsAString
*aCellSpacing
);
2176 nsresult GetFrame
(nsAString
*aFrame
);
2177 nsresult SetFrame
(const nsAString
*aFrame
);
2178 nsresult GetRules
(nsAString
*aRules
);
2179 nsresult SetRules
(const nsAString
*aRules
);
2180 nsresult GetSummary
(nsAString
*aSummary
);
2181 nsresult SetSummary
(const nsAString
*aSummary
);
2182 nsresult GetWidth
(nsAString
*aWidth
);
2183 nsresult SetWidth
(const nsAString
*aWidth
);
2184 nsresult CreateTHead
(nsIDOMHTMLElement
**_retval
);
2185 nsresult xpidlDeleteTHead
();
2186 nsresult CreateTFoot
(nsIDOMHTMLElement
**_retval
);
2187 nsresult xpidlDeleteTFoot
();
2188 nsresult CreateCaption
(nsIDOMHTMLElement
**_retval
);
2189 nsresult xpidlDeleteCaption
();
2190 nsresult InsertRow
(int32_t index
, nsIDOMHTMLElement
**_retval
);
2191 nsresult DeleteRow
(int32_t index
);
2196 uuid(02094366-0d3d
-47e3
-949c
-89113a9bcc15
),
2199 interface nsIDOMHTMLTableRowElement
: nsISupports
2201 nsresult GetRowIndex
(int32_t
*aRowIndex
);
2202 nsresult GetSectionRowIndex
(int32_t
*aSectionRowIndex
);
2203 nsresult GetCells
(nsIDOMHTMLCollection
**aCells
);
2204 nsresult GetAlign
(nsAString
*aAlign
);
2205 nsresult SetAlign
(const nsAString
*aAlign
);
2206 nsresult GetBgColor
(nsAString
*aBgColor
);
2207 nsresult SetBgColor
(const nsAString
*aBgColor
);
2208 nsresult GetCh
(nsAString
*aCh
);
2209 nsresult SetCh
(const nsAString
*aCh
);
2210 nsresult GetChOff
(nsAString
*aChOff
);
2211 nsresult SetChOff
(const nsAString
*aChOff
);
2212 nsresult GetVAlign
(nsAString
*aVAlign
);
2213 nsresult SetVAlign
(const nsAString
*aVAlign
);
2214 nsresult InsertCell
(int32_t index
, nsIDOMHTMLElement
* *_retval
);
2215 nsresult DeleteCell
(int32_t index
);
2220 uuid(3203c36f
-33fd
-4628-8c88
-77e82d38df1e
),
2223 interface nsIDOMHTMLTableCellElement
: nsISupports
2225 nsresult GetCellIndex
(int32_t
*aCellIndex
);
2226 nsresult GetAbbr
(nsAString
*aAbbr
);
2227 nsresult SetAbbr
(const nsAString
*aAbbr
);
2228 nsresult GetAlign
(nsAString
*aAlign
);
2229 nsresult SetAlign
(const nsAString
*aAlign
);
2230 nsresult GetAxis
(nsAString
*aAxis
);
2231 nsresult SetAxis
(const nsAString
*aAxis
);
2232 nsresult GetBgColor
(nsAString
*aBgColor
);
2233 nsresult SetBgColor
(const nsAString
*aBgColor
);
2234 nsresult GetCh
(nsAString
*aCh
);
2235 nsresult SetCh
(const nsAString
*aCh
);
2236 nsresult GetChOff
(nsAString
*aChOff
);
2237 nsresult SetChOff
(const nsAString
*aChOff
);
2238 nsresult GetColSpan
(int32_t
*aColSpan
);
2239 nsresult SetColSpan
(int32_t aColSpan
);
2240 nsresult GetHeaders
(nsAString
*aHeaders
);
2241 nsresult SetHeaders
(const nsAString
*aHeaders
);
2242 nsresult GetHeight
(nsAString
*aHeight
);
2243 nsresult SetHeight
(const nsAString
*aHeight
);
2244 nsresult GetNoWrap
(bool
*aNoWrap
);
2245 nsresult SetNoWrap
(bool aNoWrap
);
2246 nsresult GetRowSpan
(int32_t
*aRowSpan
);
2247 nsresult SetRowSpan
(int32_t aRowSpan
);
2248 nsresult GetScope
(nsAString
*aScope
);
2249 nsresult SetScope
(const nsAString
*aScope
);
2250 nsresult GetVAlign
(nsAString
*aVAlign
);
2251 nsresult SetVAlign
(const nsAString
*aVAlign
);
2252 nsresult GetWidth
(nsAString
*aWidth
);
2253 nsresult SetWidth
(const nsAString
*aWidth
);
2258 uuid(9fd7b656
-1055-4cb2
-b8b1
-ed13efe24457
),
2261 interface nsIDOMHTMLIFrameElement
: nsISupports
2263 nsresult GetAlign
(nsAString
*aAlign
);
2264 nsresult SetAlign
(const nsAString
*aAlign
);
2265 nsresult GetFrameBorder
(nsAString
*aFrameBorder
);
2266 nsresult SetFrameBorder
(const nsAString
*aFrameBorder
);
2267 nsresult GetHeight
(nsAString
*aHeight
);
2268 nsresult SetHeight
(const nsAString
*aHeight
);
2269 nsresult GetLongDesc
(nsAString
*aLongDesc
);
2270 nsresult SetLongDesc
(const nsAString
*aLongDesc
);
2271 nsresult GetMarginHeight
(nsAString
*aMarginHeight
);
2272 nsresult SetMarginHeight
(const nsAString
*aMarginHeight
);
2273 nsresult GetMarginWidth
(nsAString
*aMarginWidth
);
2274 nsresult SetMarginWidth
(const nsAString
*aMarginWidth
);
2275 nsresult GetName
(nsAString
*aName
);
2276 nsresult SetName
(const nsAString
*aName
);
2277 nsresult GetScrolling
(nsAString
*aScrolling
);
2278 nsresult SetScrolling
(const nsAString
*aScrolling
);
2279 nsresult GetSrc
(nsAString
*aSrc
);
2280 nsresult SetSrc
(const nsAString
*aSrc
);
2281 nsresult GetSrcdoc
(nsAString
*aSrcdoc
);
2282 nsresult SetSrcdoc
(const nsAString
*aSrcdoc
);
2283 nsresult GetWidth
(nsAString
*aWidth
);
2284 nsresult SetWidth
(const nsAString
*aWidth
);
2285 nsresult GetContentDocument
(nsIDOMDocument
**aContentDocument
);
2286 nsresult GetAllowFullscreen
(bool
*aAllowFullscreen
);
2287 nsresult SetAllowFullscreen
(bool aAllowFullscreen
);
2292 uuid(012a8982
-c9d3
-4614-91e2
-18ee51c97c06
),
2295 interface nsIDOMHTMLFrameElement
: nsISupports
2297 nsresult GetFrameBorder
(nsAString
*aFrameBorder
);
2298 nsresult SetFrameBorder
(const nsAString
*aFrameBorder
);
2299 nsresult GetLongDesc
(nsAString
*aLongDesc
);
2300 nsresult SetLongDesc
(const nsAString
*aLongDesc
);
2301 nsresult GetMarginHeight
(nsAString
*aMarginHeight
);
2302 nsresult SetMarginHeight
(const nsAString
*aMarginHeight
);
2303 nsresult GetMarginWidth
(nsAString
*aMarginWidth
);
2304 nsresult SetMarginWidth
(const nsAString
*aMarginWidth
);
2305 nsresult GetName
(nsAString
*aName
);
2306 nsresult SetName
(const nsAString
*aName
);
2307 nsresult GetNoResize
(bool
*aNoResize
);
2308 nsresult SetNoResize
(bool aNoResize
);
2309 nsresult GetScrolling
(nsAString
*aScrolling
);
2310 nsresult SetScrolling
(const nsAString
*aScrolling
);
2311 nsresult GetSrc
(nsAString
*aSrc
);
2312 nsresult SetSrc
(const nsAString
*aSrc
);
2313 nsresult GetContentDocument
(nsIDOMDocument
**aContentDocument
);
2318 uuid(baf443d2
-da5d
-40c9
-be3c
-c65a69a25250
),
2321 interface nsIDOMHTMLObjectElement
: nsISupports
2323 nsresult GetForm
(nsIDOMHTMLFormElement
**aForm
);
2324 nsresult GetCode
(nsAString
*aCode
);
2325 nsresult SetCode
(const nsAString
*aCode
);
2326 nsresult GetAlign
(nsAString
*aAlign
);
2327 nsresult SetAlign
(const nsAString
*aAlign
);
2328 nsresult GetArchive
(nsAString
*aArchive
);
2329 nsresult SetArchive
(const nsAString
*aArchive
);
2330 nsresult GetBorder
(nsAString
*aBorder
);
2331 nsresult SetBorder
(const nsAString
*aBorder
);
2332 nsresult GetCodeBase
(nsAString
*aCodeBase
);
2333 nsresult SetCodeBase
(const nsAString
*aCodeBase
);
2334 nsresult GetCodeType
(nsAString
*aCodeType
);
2335 nsresult SetCodeType
(const nsAString
*aCodeType
);
2336 nsresult GetData
(nsAString
*aData
);
2337 nsresult SetData
(const nsAString
*aData
);
2338 nsresult GetDeclare
(bool
*aDeclare
);
2339 nsresult SetDeclare
(bool aDeclare
);
2340 nsresult GetHeight
(nsAString
*aHeight
);
2341 nsresult SetHeight
(const nsAString
*aHeight
);
2342 nsresult GetHspace
(int32_t
*aHspace
);
2343 nsresult SetHspace
(int32_t aHspace
);
2344 nsresult GetName
(nsAString
*aName
);
2345 nsresult SetName
(const nsAString
*aName
);
2346 nsresult GetStandby
(nsAString
*aStandby
);
2347 nsresult SetStandby
(const nsAString
*aStandby
);
2348 nsresult GetType
(nsAString
*aType
);
2349 nsresult SetType
(const nsAString
*aType
);
2350 nsresult GetUseMap
(nsAString
*aUseMap
);
2351 nsresult SetUseMap
(const nsAString
*aUseMap
);
2352 nsresult GetVspace
(int32_t
*aVspace
);
2353 nsresult SetVspace
(int32_t aVspace
);
2354 nsresult GetWidth
(nsAString
*aWidth
);
2355 nsresult SetWidth
(const nsAString
*aWidth
);
2356 nsresult GetContentDocument
(nsIDOMDocument
**aContentDocument
);
2357 nsresult GetWillValidate
(bool
*aWillValidate
);
2358 nsresult GetValidity
(nsIDOMValidityState
**aValidity
);
2359 nsresult GetValidationMessage
(nsAString
*aValidationMessage
);
2360 nsresult CheckValidity
(bool
*_retval
);
2361 nsresult SetCustomValidity
(const nsAString
*error
);
2366 uuid(fa326d22
-8739-4eef
-a80e
-6449bde605d2
),
2369 interface nsIDOMHTMLStyleElement
: nsISupports
2371 nsresult GetDisabled
(bool
*aDisabled
);
2372 nsresult SetDisabled
(bool aDisabled
);
2373 nsresult GetMedia
(nsAString
*aMedia
);
2374 nsresult SetMedia
(const nsAString
*aMedia
);
2375 nsresult GetType
(nsAString
*aType
);
2376 nsresult SetType
(const nsAString
*aType
);
2377 nsresult GetScoped
(bool
*aScoped
);
2378 nsresult SetScoped
(bool aScoped
);
2379 nsresult GetDOMStyleSheet
(nsIDOMStyleSheet
**aDOMStyleSheet
);
2384 uuid(10a28f38
-32e8
-4c63
-8aa1
-12eaaebc369a
),
2387 interface nsIURIContentListener
: nsISupports
2389 nsresult OnStartURIOpen
(nsIURI
*aURI
, bool
*_retval
);
2390 nsresult DoContent
(const nsACString
*aContentType
, bool aIsContentPreferred
, nsIRequest
*aRequest
,
2391 nsIStreamListener
**aContentHandler
, bool
*_retval
);
2392 nsresult IsPreferred
(const char *aContentType
, char **aDesiredContentType
, bool
*_retval
);
2393 nsresult CanHandleContent
(const char *aContentType
, bool aIsContentPreferred
,
2394 char **aDesiredContentType
, bool
*_retval
);
2395 nsresult GetLoadCookie
(nsISupports
**aLoadCookie
);
2396 nsresult SetLoadCookie
(nsISupports
*aLoadCookie
);
2397 nsresult GetParentContentListener
(nsIURIContentListener
**aParentContentListener
);
2398 nsresult SetParentContentListener
(nsIURIContentListener
*aParentContentListener
);
2403 uuid(44b78386
-1dd2
-11b2
-9ad2
-e4eee2ca1916
),
2406 interface nsITooltipListener
: nsISupports
2408 nsresult OnShowTooltip
(int32_t aXCoords
, int32_t aYCoords
, const PRUnichar
*aTipText
);
2409 nsresult OnHideTooltip
();
2414 uuid(4052b6da
-4faa
-4646-b3a1
-7e16a01c2dc2
),
2417 interface nsIWebBrowser
: nsISupports
2419 nsresult AddWebBrowserListener
(nsIWeakReference
*aListener
, const nsIID
*aIID
);
2420 nsresult RemoveWebBrowserListener
(nsIWeakReference
*aListener
, const nsIID
*aIID
);
2421 nsresult GetContainerWindow
(nsIWebBrowserChrome
**aContainerWindow
);
2422 nsresult SetContainerWindow
(nsIWebBrowserChrome
*aContainerWindow
);
2423 nsresult GetParentURIContentListener
(nsIURIContentListener
**aParentURIContentListener
);
2424 nsresult SetParentURIContentListener
(nsIURIContentListener
*aParentURIContentListener
);
2425 nsresult GetContentDOMWindow
(mozIDOMWindowProxy
**aContentDOMWindow
);
2426 nsresult GetIsActive
(bool
*aIsActive
);
2427 nsresult SetIsActive
(bool aIsActive
);
2430 cpp_quote
("#define SETUP_ALLOW_JAVASCRIPT 2")
2431 cpp_quote
("#define SETUP_IS_CHROME_WRAPPER 7")
2432 cpp_quote
("#define SETUP_DISABLE_NOSCRIPT 16")
2436 uuid(f15398a0
-8018-11d3
-af70
-00a024ffc08c
),
2439 interface nsIWebBrowserSetup
: nsISupports
2441 nsresult SetProperty
(uint32_t aId
, uint32_t aValue
);
2444 typedef void* nativeWindow
;
2448 uuid(ca635529
-a977
-4552-9b8a
-66187e54d882
),
2451 interface nsIBaseWindow
: nsISupports
2453 nsresult InitWindow
(nativeWindow parentNativeWindow
, nsIWidget
*parentWidget
, int32_t x
,
2454 int32_t y
, int32_t cx
, int32_t cy
);
2457 nsresult SetPosition
(int32_t x
, int32_t y
);
2458 nsresult SetPositionDesktopPix
(int32_t x
, int32_t y
);
2459 nsresult GetPosition
(int32_t
*x
, int32_t
*y
);
2460 nsresult SetSize
(int32_t cx
, int32_t cy
, bool fRepaint
);
2461 nsresult GetSize
(int32_t
*cx
, int32_t
*cy
);
2462 nsresult SetPositionAndSize
(int32_t x
, int32_t y
, int32_t cx
, int32_t cy
, bool fRepaint
);
2463 nsresult GetPositionAndSize
(int32_t
*x
, int32_t
*y
, int32_t
*cx
, int32_t
*cy
);
2464 nsresult Repaint
(bool force
);
2465 nsresult GetParentWidget
(nsIWidget
**aParentWidget
);
2466 nsresult SetParentWidget
(nsIWidget
*aParentWidget
);
2467 nsresult GetParentNativeWindow
(nativeWindow
*aParentNativeWindow
);
2468 nsresult SetParentNativeWindow
(nativeWindow aParentNativeWindow
);
2469 nsresult GetNativeHandle
(nsAString
*aNativeHandle
);
2470 nsresult GetVisibility
(bool
*aVisibility
);
2471 nsresult SetVisibility
(bool aVisibility
);
2472 nsresult GetEnabled
(bool
*aEnabled
);
2473 nsresult SetEnabled
(bool aEnabled
);
2474 nsresult GetMainWidget
(nsIWidget
**aMainWidget
);
2475 nsresult GetUnscaledDevicePixelsPerCSSPixel
(double *aUnscaledDevicePixelsPerCSSPixel
);
2476 nsresult GetDevicePixelsPerDesktopPixel
(double *aDevicePixelsPerDesktopPixel
);
2477 nsresult SetFocus
();
2478 nsresult GetTitle
(PRUnichar
**aTitle
);
2479 nsresult SetTitle
(const PRUnichar
*aTitle
);
2484 uuid(3ade79d4
-8cb9
-4952-b18d
-4f9b63ca0d31
),
2487 interface nsIWebNavigation
: nsISupports
2489 const UINT LOAD_FLAGS_MASK
= 0xffff;
2490 const UINT LOAD_FLAGS_NONE
= 0;
2491 const UINT LOAD_FLAGS_IS_REFRESH
= 0x0010;
2492 const UINT LOAD_FLAGS_IS_LINK
= 0x0020;
2493 const UINT LOAD_FLAGS_BYPASS_HISTORY
= 0x0040;
2494 const UINT LOAD_FLAGS_REPLACE_HISTORY
= 0x0080;
2495 const UINT LOAD_FLAGS_BYPASS_CACHE
= 0x0100;
2496 const UINT LOAD_FLAGS_BYPASS_PROXY
= 0x0200;
2497 const UINT LOAD_FLAGS_CHARSET_CHANGE
= 0x0400;
2498 const UINT LOAD_FLAGS_STOP_CONTENT
= 0x0800;
2499 const UINT LOAD_FLAGS_FROM_EXTERNAL
= 0x1000;
2500 const UINT LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP
= 0x2000;
2501 const UINT LOAD_FLAGS_FIRST_LOAD
= 0x4000;
2502 const UINT LOAD_FLAGS_ALLOW_POPUPS
= 0x8000;
2503 const UINT LOAD_FLAGS_BYPASS_CLASSIFIER
= 0x10000;
2504 const UINT LOAD_FLAGS_FORCE_ALLOW_COOKIES
= 0x20000;
2505 const UINT LOAD_FLAGS_DISALLOW_INHERIT_OWNER
= 0x40000;
2506 const UINT LOAD_FLAGS_ERROR_LOAD_CHANGES_RV
= 0x80000;
2508 nsresult GetCanGoBack
(bool
*aCanGoBack
);
2509 nsresult GetCanGoForward
(bool
*aCanGoForward
);
2511 nsresult GoForward
();
2512 nsresult GotoIndex
(int32_t index
);
2513 nsresult LoadURI
(const PRUnichar
*aURI
, uint32_t aLoadFlags
, nsIURI
*aReferrer
,
2514 nsIInputStream
*aPostData
, nsIInputStream
*aHeaders
);
2515 nsresult LoadURIWithOptions
(const PRUnichar
*aURI
, uint32_t aLoadFlags
, nsIURI
*aReferrer
, uint32_t aReferrerPolicy
,
2516 nsIInputStream
*aPostData
, nsIInputStream
*aHeaders
, nsIURI
*aBaseURI
);
2517 nsresult Reload
(uint32_t aReloadFlags
);
2518 nsresult Stop
(uint32_t aStopFlags
);
2519 nsresult GetDocument
(nsIDOMDocument
**aDocument
);
2520 nsresult GetCurrentURI
(nsIURI
**aCurrentURI
);
2521 nsresult GetReferringURI
(nsIURI
**aReferringURI
);
2522 nsresult GetSessionHistory
(nsISHistory
**aSessionHistory
);
2523 nsresult SetSessionHistory
(nsISHistory
*aSessionHistory
);
2528 uuid(c4d64640
-b332
-4db6
-a2a5
-e08566000dc9
),
2531 interface nsIWebProgress
: nsISupports
2533 nsresult AddProgressListener
(nsIWebProgressListener
*aListener
, uint32_t aNotifyMask
);
2534 nsresult RemoveProgressListener
(nsIWebProgressListener
*aListener
);
2535 nsresult GetDOMWindow
(mozIDOMWindowProxy
**aDOMWindow
);
2536 nsresult GetDOMWindowID
(uint64_t
*aDOMWindowID
);
2537 nsresult GetIsTopLevel
(bool
*aIsTopLevel
);
2538 nsresult GetIsLoadingDocument
(bool
*aIsLoadingDocument
);
2539 nsresult GetLoadType
(uint32_t
*aLoadType
);
2544 uuid(ecc5cbad
-57fc
-4731-b0bd
-09e865bd62ad
),
2547 interface nsIPrintSettings
: nsISupports
2549 typedef struct { char dummy
; } nsIntMargin
;
2551 nsresult SetPrintOptions
(int32_t aType
, bool aTurnOnOff
);
2552 nsresult GetPrintOptions
(int32_t aType
, bool
*_retval
);
2553 nsresult GetPrintOptionsBits
(int32_t
*_retval
);
2554 nsresult SetPrintOptionsBits
(int32_t bits
);
2555 nsresult GetEffectivePageSize
(double *aWidth
, double *aHeight
);
2556 nsresult Clone
(nsIPrintSettings
**_retval
);
2557 nsresult Assign
(nsIPrintSettings
*aPS
);
2558 nsresult GetPrintSession
(nsIPrintSession
**aPrintSession
);
2559 nsresult SetPrintSession
(nsIPrintSession
*aPrintSession
);
2560 nsresult GetStartPageRange
(int32_t
*aStartPageRange
);
2561 nsresult SetStartPageRange
(int32_t aStartPageRange
);
2562 nsresult GetEndPageRange
(int32_t
*aEndPageRange
);
2563 nsresult SetEndPageRange
(int32_t aEndPageRange
);
2564 nsresult GetEdgeTop
(double *aEdgeTop
);
2565 nsresult SetEdgeTop
(double aEdgeTop
);
2566 nsresult GetEdgeLeft
(double *aEdgeLeft
);
2567 nsresult SetEdgeLeft
(double aEdgeLeft
);
2568 nsresult GetEdgeBottom
(double *aEdgeBottom
);
2569 nsresult SetEdgeBottom
(double aEdgeBottom
);
2570 nsresult GetEdgeRight
(double *aEdgeRight
);
2571 nsresult SetEdgeRight
(double aEdgeRight
);
2572 nsresult GetMarginTop
(double *aMarginTop
);
2573 nsresult SetMarginTop
(double aMarginTop
);
2574 nsresult GetMarginLeft
(double *aMarginLeft
);
2575 nsresult SetMarginLeft
(double aMarginLeft
);
2576 nsresult GetMarginBottom
(double *aMarginBottom
);
2577 nsresult SetMarginBottom
(double aMarginBottom
);
2578 nsresult GetMarginRight
(double *aMarginRight
);
2579 nsresult SetMarginRight
(double aMarginRight
);
2580 nsresult GetUnwriteableMarginTop
(double *aUnwriteableMarginTop
);
2581 nsresult SetUnwriteableMarginTop
(double aUnwriteableMarginTop
);
2582 nsresult GetUnwriteableMarginLeft
(double *aUnwriteableMarginLeft
);
2583 nsresult SetUnwriteableMarginLeft
(double aUnwriteableMarginLeft
);
2584 nsresult GetUnwriteableMarginBottom
(double *aUnwriteableMarginBottom
);
2585 nsresult SetUnwriteableMarginBottom
(double aUnwriteableMarginBottom
);
2586 nsresult GetUnwriteableMarginRight
(double *aUnwriteableMarginRight
);
2587 nsresult SetUnwriteableMarginRight
(double aUnwriteableMarginRight
);
2588 nsresult GetScaling
(double *aScaling
);
2589 nsresult SetScaling
(double aScaling
);
2590 nsresult GetPrintBGColors
(bool
*aPrintBGColors
);
2591 nsresult SetPrintBGColors
(bool aPrintBGColors
);
2592 nsresult GetPrintBGImages
(bool
*aPrintBGImages
);
2593 nsresult SetPrintBGImages
(bool aPrintBGImages
);
2594 nsresult GetPrintRange
(int16_t
*aPrintRange
);
2595 nsresult SetPrintRange
(int16_t aPrintRange
);
2596 nsresult GetTitle
(PRUnichar
**aTitle
);
2597 nsresult SetTitle
(const PRUnichar
*aTitle
);
2598 nsresult GetDocURL
(PRUnichar
**aDocURL
);
2599 nsresult SetDocURL
(const PRUnichar
*aDocURL
);
2600 nsresult GetHeaderStrLeft
(PRUnichar
**aHeaderStrLeft
);
2601 nsresult SetHeaderStrLeft
(const PRUnichar
*aHeaderStrLeft
);
2602 nsresult GetHeaderStrCenter
(PRUnichar
**aHeaderStrCenter
);
2603 nsresult SetHeaderStrCenter
(const PRUnichar
*aHeaderStrCenter
);
2604 nsresult GetHeaderStrRight
(PRUnichar
**aHeaderStrRight
);
2605 nsresult SetHeaderStrRight
(const PRUnichar
*aHeaderStrRight
);
2606 nsresult GetFooterStrLeft
(PRUnichar
**aFooterStrLeft
);
2607 nsresult SetFooterStrLeft
(const PRUnichar
*aFooterStrLeft
);
2608 nsresult GetFooterStrCenter
(PRUnichar
**aFooterStrCenter
);
2609 nsresult SetFooterStrCenter
(const PRUnichar
*aFooterStrCenter
);
2610 nsresult GetFooterStrRight
(PRUnichar
**aFooterStrRight
);
2611 nsresult SetFooterStrRight
(const PRUnichar
*aFooterStrRight
);
2612 nsresult GetHowToEnableFrameUI
(int16_t
*aHowToEnableFrameUI
);
2613 nsresult SetHowToEnableFrameUI
(int16_t aHowToEnableFrameUI
);
2614 nsresult GetIsCancelled
(bool
*aIsCancelled
);
2615 nsresult SetIsCancelled
(bool aIsCancelled
);
2616 nsresult GetPrintFrameTypeUsage
(int16_t
*aPrintFrameTypeUsage
);
2617 nsresult SetPrintFrameTypeUsage
(int16_t aPrintFrameTypeUsage
);
2618 nsresult GetPrintFrameType
(int16_t
*aPrintFrameType
);
2619 nsresult SetPrintFrameType
(int16_t aPrintFrameType
);
2620 nsresult GetPrintSilent
(bool
*aPrintSilent
);
2621 nsresult SetPrintSilent
(bool aPrintSilent
);
2622 nsresult GetShrinkToFit
(bool
*aShrinkToFit
);
2623 nsresult SetShrinkToFit
(bool aShrinkToFit
);
2624 nsresult GetShowPrintProgress
(bool
*aShowPrintProgress
);
2625 nsresult SetShowPrintProgress
(bool aShowPrintProgress
);
2626 nsresult GetPaperName
(PRUnichar
**aPaperName
);
2627 nsresult SetPaperName
(const PRUnichar
*aPaperName
);
2628 nsresult GetPaperData
(int16_t
*aPaperData
);
2629 nsresult SetPaperData
(int16_t aPaperData
);
2630 nsresult GetPaperWidth
(double *aPaperWidth
);
2631 nsresult SetPaperWidth
(double aPaperWidth
);
2632 nsresult GetPaperHeight
(double *aPaperHeight
);
2633 nsresult SetPaperHeight
(double aPaperHeight
);
2634 nsresult GetPaperSizeUnit
(int16_t
*aPaperSizeUnit
);
2635 nsresult SetPaperSizeUnit
(int16_t aPaperSizeUnit
);
2636 nsresult GetPrintReversed
(bool
*aPrintReversed
);
2637 nsresult SetPrintReversed
(bool aPrintReversed
);
2638 nsresult GetPrintInColor
(bool
*aPrintInColor
);
2639 nsresult SetPrintInColor
(bool aPrintInColor
);
2640 nsresult GetOrientation
(int32_t
*aOrientation
);
2641 nsresult SetOrientation
(int32_t aOrientation
);
2642 nsresult GetNumCopies
(int32_t
*aNumCopies
);
2643 nsresult SetNumCopies
(int32_t aNumCopies
);
2644 nsresult GetPrinterName
(PRUnichar
**aPrinterName
);
2645 nsresult SetPrinterName
(const PRUnichar
*aPrinterName
);
2646 nsresult GetPrintToFile
(bool
*aPrintToFile
);
2647 nsresult SetPrintToFile
(bool aPrintToFile
);
2648 nsresult GetToFileName
(PRUnichar
**aToFileName
);
2649 nsresult SetToFileName
(const PRUnichar
*aToFileName
);
2650 nsresult GetOutputFormat
(int16_t
*aOutputFormat
);
2651 nsresult SetOutputFormat
(int16_t aOutputFormat
);
2652 nsresult GetPrintPageDelay
(int32_t
*aPrintPageDelay
);
2653 nsresult SetPrintPageDelay
(int32_t aPrintPageDelay
);
2654 nsresult GetResolution
(int32_t
*aResolution
) = 0;
2655 nsresult SetResolution
(int32_t aResolution
) = 0;
2656 nsresult GetDuplex
(int32_t
*aDuplex
);
2657 nsresult SetDuplex
(int32_t aDuplex
);
2658 nsresult GetIsInitializedFromPrinter
(bool
*aIsInitializedFromPrinter
);
2659 nsresult SetIsInitializedFromPrinter
(bool aIsInitializedFromPrinter
);
2660 nsresult GetIsInitializedFromPrefs
(bool
*aIsInitializedFromPrefs
);
2661 nsresult SetIsInitializedFromPrefs
(bool aIsInitializedFromPrefs
);
2662 nsresult GetPersistMarginBoxSettings
(bool
*aPersistMarginBoxSettings
);
2663 nsresult SetPersistMarginBoxSettings
(bool aPersistMarginBoxSettings
);
2664 nsresult SetMarginInTwips
(nsIntMargin
*aMargin
);
2665 nsresult SetEdgeInTwips
(nsIntMargin
*aEdge
);
2666 nsresult GetMarginInTwips
(nsIntMargin
*aMargin
);
2667 nsresult GetEdgeInTwips
(nsIntMargin
*aEdge
);
2668 nsresult SetupSilentPrinting
();
2669 nsresult SetUnwriteableMarginInTwips
(nsIntMargin
*aEdge
);
2670 nsresult GetUnwriteableMarginInTwips
(nsIntMargin
*aEdge
);
2671 nsresult GetPageRanges
(void * /*nsTArray<int32_t>*/ aPages
);
2676 uuid(c9a934ed
-fff1
-4971-bfba
-6c25ad70e1e6
),
2679 interface nsIWebBrowserPrint
: nsISupports
2681 nsresult GetGlobalPrintSettings
(nsIPrintSettings
**aGlobalPrintSettings
);
2682 nsresult GetCurrentPrintSettings
(nsIPrintSettings
**aCurrentPrintSettings
);
2683 nsresult GetCurrentChildDOMWindow
(mozIDOMWindowProxy
**aCurrentChildDOMWindow
);
2684 nsresult GetDoingPrint
(bool
*aDoingPrint
);
2685 nsresult GetDoingPrintPreview
(bool
*aDoingPrintPreview
);
2686 nsresult GetIsFramesetDocument
(bool
*aIsFramesetDocument
);
2687 nsresult GetIsFramesetFrameSelected
(bool
*aIsFramesetFrameSelected
);
2688 nsresult GetIsIFrameSelected
(bool
*aIsIFrameSelected
);
2689 nsresult GetIsRangeSelection
(bool
*aIsRangeSelection
);
2690 nsresult GetPrintPreviewNumPages
(int32_t
*aPrintPreviewNumPages
);
2691 nsresult Print
(nsIPrintSettings
*aThePrintSettings
, nsIWebProgressListener
*aWPListener
);
2692 nsresult PrintPreview
(nsIPrintSettings
*aThePrintSettings
, mozIDOMWindowProxy
*aChildDOMWin
,
2693 nsIWebProgressListener
*aWPListener
);
2694 nsresult PrintPreviewNavigate
(int16_t aNavType
, int32_t aPageNum
);
2696 nsresult EnumerateDocumentNames
(uint32_t
*aCount
, PRUnichar
***aResult
);
2697 nsresult ExitPrintPreview
();
2702 uuid(3507fc93
-313e-4a4c
-8ca8
-4d0ea0f97315
),
2705 interface nsIScrollable
: nsISupports
2708 ScrollOrientation_X
= 1,
2709 ScrollOrientation_Y
= 2
2714 Scrollbar_Never
= 2,
2715 Scrollbar_Always
= 3
2718 nsresult GetDefaultScrollbarPreferences
(int32_t scrollOrientation
, int32_t
*_retval
);
2719 nsresult SetDefaultScrollbarPreferences
(int32_t scrollOrientation
, int32_t scrollbarPref
);
2720 nsresult GetScrollbarVisibility
(bool
*verticalVisible
, bool
*horizontalVisible
);
2725 uuid(2fa6884a
-ae65
-412a
-9d4c
-ce6e34544ba1
),
2728 interface nsIFile
: nsISupports
2731 /* Currently not needed */
2733 } PRFileDesc
, PRLibrary
, widl_FILE
;
2734 #define FILE widl_FILE
2736 nsresult Append
(const nsAString
*node
);
2737 nsresult AppendNative
(const nsAString
*node
);
2738 nsresult Normalize
();
2739 nsresult Create
(uint32_t type
, uint32_t permission
);
2740 nsresult GetLeafName
(nsAString
*aLeafName
);
2741 nsresult SetLeafName
(const nsAString
*aLeafName
);
2742 nsresult GetNativeLeafName
(nsAString
*aLeafName
);
2743 nsresult SetNativeLeafName
(const nsAString
*aLeafName
);
2744 nsresult CopyTo
(nsIFile
*newParentDir
, const nsAString
*newName
);
2745 nsresult CopyToNative
(nsIFile
*newParentDir
, const nsAString
*newName
);
2746 nsresult CopyToFollowingLinks
(nsIFile
*newParentDir
, const nsAString
*newName
);
2747 nsresult CopyToFollowingLinksNative
(nsIFile
*newParentDir
, const nsAString
*newName
);
2748 nsresult MoveTo
(nsIFile
*newParentDir
, const nsAString
*newName
);
2749 nsresult MoveToNative
(nsIFile
*newParentDir
, const nsAString
*newName
);
2750 nsresult RenameTo
(nsIFile
*newParentDir
, const nsAString
*newName
);
2751 nsresult RenameToNative
(nsIFile
*newParentDir
, const nsACString
*newName
);
2752 nsresult Remove
(bool recursive
);
2753 nsresult GetPermissions
(uint32_t
*aPermissions
);
2754 nsresult SetPermissions
(uint32_t pPermissions
);
2755 nsresult GetPermissionsOfLink
(uint32_t
*aPermissions
);
2756 nsresult SetPermissionsOfLink
(uint32_t pPermissions
);
2757 nsresult GetLastModifiedTime
(PRTime
*aLastModifiedTime
);
2758 nsresult SetLastModifiedTime
(PRTime aLastModifiedTime
);
2759 nsresult GetLastModifiedTimeOfLink
(PRTime
*aLastModifiedTimeOfLink
);
2760 nsresult SetLastModifiedTimeOfLink
(PRTime aLastModifiedTimeOfLink
);
2761 nsresult GetFileSize
(int64_t
*aFileSize
);
2762 nsresult SetFileSize
(int64_t aFileSize
);
2763 nsresult GetFileSizeOfLink
(int64_t
*aFileSizeOfLink
);
2764 nsresult GetTarget
(nsAString
*aTarget
);
2765 nsresult GetNativeTarget
(nsACString
*aNativeTarget
);
2766 nsresult GetPath
(nsAString
*aPath
);
2767 nsresult GetNativePath
(nsACString
*aNativePath
);
2768 nsresult Exists
(bool
*_retval
);
2769 nsresult IsWritable
(bool
*_retval
);
2770 nsresult IsReadable
(bool
*_retval
);
2771 nsresult IsExecutable
(bool
*_retval
);
2772 nsresult IsHidden
(bool
*_retval
);
2773 nsresult IsDirectory
(bool
*_retval
);
2774 nsresult IsFile
(bool
*_retval
);
2775 nsresult IsSymlink
(bool
*_retval
);
2776 nsresult IsSpecial
(bool
*_retval
);
2777 nsresult CreateUnique
(uint32_t type
, uint32_t permission
);
2778 nsresult Clone
(nsIFile
**_retval
);
2779 nsresult Equals
(nsIFile
*inFile
, bool
*_retval
);
2780 nsresult Contains
(nsIFile
*inFile
, bool
*_retval
);
2781 nsresult GetParent
(nsIFile
**aParent
);
2782 nsresult GetDirectoryEntries
(nsISimpleEnumerator
**aDirectoryEntries
);
2783 nsresult InitWithPath
(const nsAString
*filePath
);
2784 nsresult InitWithNativePath
(const nsACString
*filePath
);
2785 nsresult InitWithFile
(nsIFile
*aFile
);
2786 nsresult GetFollowLinks
(bool
*aFollowLinks
);
2787 nsresult SetFollowLinks
(bool aFollowLinks
);
2788 nsresult OpenNSPRFileDesc
(int32_t flags
, int32_t mode
, PRFileDesc
**_retval
);
2789 nsresult OpenANSIFileDesc
(const char *mode
, FILE
**_retval
);
2790 nsresult Load
(PRLibrary
**_retval
);
2791 nsresult GetDiskSpaceAvailable
(int64_t
*aDiskSpaceAvailable
);
2792 nsresult AppendRelativePath
(const nsAString
*relativeFilePath
);
2793 nsresult AppendRelativeNativePath
(const nsACString
*relativeFilePath
);
2794 nsresult GetPersistentDescriptor
(nsACString
*aPersistentDescriptor
);
2795 nsresult SetPersistentDescriptor
(const nsACString
*aPersistentDescriptor
);
2798 nsresult GetRelativeDescriptor
(nsIFile
*fromFile
, nsACString
*_retval
);
2799 nsresult SetRelativeDescriptor
(nsIFile
*fromFile
, const nsACString
*relativeDesc
);
2800 nsresult GetRelativePath
(nsIFile
*fromFile
, nsACString
*_retval
);
2801 nsresult SetRelativePath
(nsIFile
*fromFile
, const nsACString
*relativeDesc
);
2806 uuid(d604ffc3
-1ba3
-4f6c
-b65f
-1ed4199364c3
),
2809 interface nsIComponentManager
: nsISupports
2811 nsresult GetClassObject
(nsCIDRef aClass
, nsIIDRef aIID
, void **result
);
2812 nsresult GetClassObjectByContractID
(const char *aContractID
, nsIIDRef aIID
, void **result
);
2813 nsresult CreateInstance
(nsCIDRef aClass
, nsISupports
*aDelegate
, nsIIDRef aIID
,
2815 nsresult CreateInstanceByContractID
(const char *aContractID
, nsISupports
*aDelegate
,
2816 nsIIDRef aIID
, void **result
);
2817 nsresult AddBootstrappedManifestLocation
(nsIFile
*aLocation
);
2818 nsresult RemoveBootstrappedManifestLocation
(nsIFile
*aLocation
);
2819 nsresult GetManifestLocations
(nsIArray
**_retval
);
2824 uuid(55d25e49
-793f
-4727-a69f
-de8b15f4b985
),
2827 interface nsIPrefBranch
: nsISupports
2829 nsresult GetRoot
(char **aRoot
);
2830 nsresult GetPrefType
(const char *aPrefName
, int32_t
*_retval
);
2831 nsresult GetBoolPref
(const char *aPrefName
, bool
*_retval
);
2832 nsresult SetBoolPref
(const char *aPrefName
, bool aValue
);
2833 nsresult GetFloatPref
(const char *aPrefName
, float *_retval
);
2834 nsresult GetCharPref
(const char *aPrefName
, char **_retval
);
2835 nsresult SetCharPref
(const char *aPrefName
, const char *aValue
);
2836 nsresult GetIntPref
(const char *aPrefName
, int32_t
*_retval
);
2837 nsresult SetIntPref
(const char *aPrefName
, int32_t aValue
);
2838 nsresult GetComplexValue
(const char *aPrefName
, const nsIID
*aType
, void **aValue
);
2839 nsresult SetComplexValue
(const char *aPrefName
, const nsIID
*aType
, nsISupports
*aValue
);
2840 nsresult ClearUserPref
(const char *aPrefName
);
2841 nsresult LockPref
(const char *aPrefName
);
2842 nsresult PrefHasUserValue
(const char *aPrefName
, bool
*_retval
);
2843 nsresult PrefIsLocked
(const char *aPrefName
, bool
*_retval
);
2844 nsresult UnlockPref
(const char *aPrefName
);
2845 nsresult DeleteBranch
(const char *aStartingAt
);
2846 nsresult GetChildList
(const char *aStartingAt
, uint32_t
*aCount
, char ***aChildArray
);
2847 nsresult ResetBranch
(const char *aStartingAt
);
2848 nsresult AddObserver
(const char *aDomain
, nsIObserver
*aObserver
, bool aHoldWeak
);
2849 nsresult RemoveObserver
(const char *aDomain
, nsIObserver
*aObserver
);
2854 uuid(bbf8cab0
-d43a
-11d3
-8cc2
-00609792278c
),
2857 interface nsIDirectoryServiceProvider
: nsISupports
2859 nsresult GetFile
(const char *prop
, bool
*persistent
, nsIFile
**_retval
);
2864 uuid(2f977d4b
-5485-11d4
-87e2
-0010a4e75ef2
),
2867 interface nsIDirectoryServiceProvider2
: nsIDirectoryServiceProvider
2869 nsresult GetFiles
(const char *prop
, nsISimpleEnumerator
**_retval
);
2874 uuid(a87210e6
-7c8c
-41f7
-864d
-df809015193e
),
2877 interface nsIProtocolHandler
: nsISupports
2879 const unsigned long URI_STD
= 0;
2880 const unsigned long URI_NORELATIVE
= (1<<0);
2881 const unsigned long URI_NOAUTH
= (1<<1);
2882 const unsigned long ALLOWS_PROXY
= (1<<2);
2883 const unsigned long ALLOWS_PROXY_HTTP
= (1<<3);
2884 const unsigned long URI_INHERITS_SECURITY_CONTEXT
= (1<<4);
2885 const unsigned long URI_FORBIDS_AUTOMATIC_DOCUMENT_REPLACEMENT
= (1<<5);
2886 const unsigned long URI_LOADABLE_BY_ANYONE
= (1<<6);
2887 const unsigned long URI_DANGEROUS_TO_LOAD
= (1<<7);
2888 const unsigned long URI_IS_UI_RESOURCE
= (1<<8);
2889 const unsigned long URI_IS_LOCAL_FILE
= (1<<9);
2890 const unsigned long URI_LOADABLE_BY_SUBSUMERS
= (1<<10);
2891 const unsigned long URI_DOES_NOT_RETURN_DATA
= (1<<11);
2892 const unsigned long URI_IS_LOCAL_RESOURCE
= (1<<12);
2893 const unsigned long URI_OPENING_EXECUTES_SCRIPT
= (1<<13);
2894 const unsigned long URI_NON_PERSISTABLE
= (1<<14);
2895 const unsigned long URI_FORBIDS_COOKIE_ACCESS
= (1<<15);
2896 const unsigned long URI_CROSS_ORIGIN_NEEDS_WEBAPPS_PERM
= (1<<16);
2897 const unsigned long URI_SYNC_LOAD_IS_OK
= (1<<17);
2898 const unsigned long URI_SAFE_TO_LOAD_IN_SECURE_CONTEXT
= (1<<18);
2899 const unsigned long URI_FETCHABLE_BY_ANYONE
= (1 << 19);
2901 nsresult GetScheme
(nsACString
*aScheme
);
2902 nsresult GetDefaultPort
(int32_t
*aDefaultPort
);
2903 nsresult GetProtocolFlags
(uint32_t
*aProtocolFlags
);
2904 nsresult NewURI
(const nsACString
*aSpec
, const char *aOriginCharset
,
2905 nsIURI
*aBaseURI
, nsIURI
**_retval
);
2906 nsresult NewChannel2
(nsIURI
*aURI
, nsILoadInfo
*aLoadinfo
, nsIChannel
**_retval
);
2907 nsresult NewChannel
(nsIURI
*aURI
, nsIChannel
**_retval
);
2908 nsresult AllowPort
(int32_t port
, const char *scheme
, bool
*_retval
);
2913 uuid(0e61f3b2
-34d7
-4c79
-bfdc
-4860bc7341b7
),
2916 interface nsIExternalProtocolHandler
: nsIProtocolHandler
2918 nsresult ExternalAppExistsForScheme
(const nsACString
*scheme
, bool
*_retval
);
2923 uuid(d13c21ca
-7329-45a5
-8912-9d2e2fef1231
),
2926 interface nsIIOServiceHook
: nsISupports
2928 nsresult NewChannel
(nsIURI
*aURI
, nsILoadInfo
*aLoadInfo
, nsIChannel
**_retval
);
2929 nsresult GetProtocolHandler
(nsIProtocolHandler
*aHandler
, nsIProtocolHandler
**_retval
);
2930 nsresult NewURI
(const nsACString
*aSpec
, const char *aOriginCharset
, nsIURI
*aBaseURI
, nsIURI
**_retval
);
2931 nsresult ProtocolHasFlags
(nsIURI
*aURI
, uint32_t aFlag
, bool
*_retval
);
2932 nsresult URIChainHasFlags
(nsIURI
*aURI
, uint32_t aFlags
, bool
*_retval
);
2937 uuid(4286de5a
-b2ea
-446f
-8f70
-e2a461f42694
),
2940 interface nsIIOService
: nsISupports
2942 nsresult GetProtocolHandler
(const char *aScheme
, nsIProtocolHandler
**_retval
);
2943 nsresult GetProtocolFlags
(const char *aScheme
, uint32_t
*_retval
);
2944 nsresult NewURI
(const nsACString
*aSpec
, const char *aOriginCharset
, nsIURI
*aBaseURI
,
2946 nsresult NewFileURI
(nsIFile
*aFile
, nsIURI
**_retval
);
2947 nsresult NewChannelFromURI2
(nsIURI
*aURI
, nsIDOMNode
*aLoadingNode
, nsIPrincipal
*aLoadingPrincipal
,
2948 nsIPrincipal
*aTriggeringPrincipal
, uint32_t aSecurityFlags
, uint32_t aContentPolicyType
,
2949 nsIChannel
**_retval
);
2950 nsresult NewChannelFromURIWithLoadInfo
(nsIURI
*aURI
, nsILoadInfo
*aLoadInfo
, nsIChannel
**_retval
);
2951 nsresult NewChannelFromURI
(nsIURI
*aURI
, nsIChannel
**_retval
);
2952 nsresult NewChannel2
(const nsACString
*aSpec
, const char *aOriginCharset
, nsIURI
*aBaseURI
,
2953 nsIDOMNode
*aLoadingNode
, nsIPrincipal
*aLoadingPrincipal
, nsIPrincipal
*aTriggeringPrincipal
,
2954 uint32_t aSecurityFlags
, uint32_t aContentPolicyType
, nsIChannel
**_retval
);
2955 nsresult NewChannel
(const nsACString
*aSpec
, const char *aOriginCharset
, nsIURI
*aBaseURI
,
2956 nsIChannel
**_retval
);
2957 nsresult GetOffline
(bool
*aOffline
);
2958 nsresult SetOffline
(bool aOffline
);
2959 nsresult GetConnectivity
(bool
*aConnectivity
);
2960 nsresult SetAppOffline
(uint32_t appId
, int32_t state
);
2961 nsresult IsAppOffline
(uint32_t appId
, bool
*_retval
);
2962 nsresult GetAppOfflineState
(uint32_t appId
, int32_t
*_retval
);
2963 nsresult AllowPort
(int32_t aPort
, const char *aScheme
, bool
*_retval
);
2964 nsresult ExtractScheme
(const nsACString
*urlString
, nsACString
*_retval
);
2965 nsresult SetHook
(nsIIOServiceHook
*aHook
);
2970 uuid(7f8c754e
-5b36
-44be
-bc96
-191b49f08ea6
),
2973 interface nsIWebBrowserFocus
: nsISupports
2975 nsresult Activate
();
2976 nsresult Deactivate
();
2977 nsresult SetFocusAtFirstElement
();
2978 nsresult SetFocusAtLastElement
();
2979 nsresult GetFocusedWindow
(mozIDOMWindowProxy
**aFocusedWindow
);
2980 nsresult SetFocusedWindow
(mozIDOMWindowProxy
*aFocusedWindow
);
2981 nsresult GetFocusedElement
(nsIDOMElement
**aFocusedElement
);
2982 nsresult SetFocusedElement
(nsIDOMElement
*aFocusedElement
);
2987 uuid(e8c414c4
-dc38
-4ba3
-ab4e
-ec4cbbe22907
),
2990 interface nsIWebBrowserChrome
: nsISupports
2992 nsresult SetStatus
(uint32_t statusType
, const PRUnichar
*status
);
2993 nsresult GetWebBrowser
(nsIWebBrowser
**aWebBrowser
);
2994 nsresult SetWebBrowser
(nsIWebBrowser
*aWebBrowser
);
2995 nsresult GetChromeFlags
(uint32_t
*aChromeFlags
);
2996 nsresult SetChromeFlags
(uint32_t aChromeFlags
);
2997 nsresult DestroyBrowserWindow
();
2998 nsresult SizeBrowserTo
(int32_t aCX
, int32_t aCY
);
2999 nsresult ShowAsModal
();
3000 nsresult IsWindowModal
(bool
*_retval
);
3001 nsresult ExitModalEventLoop
(nsresult aStatus
);
3006 uuid(df31c120
-ded6
-11d1
-bd85
-00805f8ae3f4
),
3009 interface nsIDOMEventListener
: nsISupports
3011 nsresult HandleEvent
(nsIDOMEvent
*event
);
3016 uuid(9a78ac3c
-9507-4d00
-b2d6
-10b508d2ec31
),
3019 interface nsIDOMEventTarget
: nsISupports
3021 nsresult AddEventListener
(const nsAString
*type
, nsIDOMEventListener
*listener
, bool useCapture
, bool wantsUntrusted
, uint8_t _argc
);
3022 nsresult AddSystemEventListener
(const nsAString
*type
, nsIDOMEventListener
*listener
, bool aUseCapture
, bool aWantsUntrusted
, uint8_t _argc
);
3023 nsresult RemoveEventListener
(const nsAString
*type
, nsIDOMEventListener
*listener
, bool useCapture
);
3024 nsresult RemoveSystemEventListener
(const nsAString
*type
, nsIDOMEventListener
*listener
, bool aUseCapture
);
3025 nsresult DispatchEvent
(nsIDOMEvent
*evt
, bool
*_retval
);
3027 /* Followed by methods we should try to avoid using */
3032 uuid(f58daacf
-4d1a
-4002-8fd7
-06b614dfbcf6
),
3035 interface nsIDOMEvent
: nsISupports
3037 nsresult GetType
(nsAString
*aType
);
3038 nsresult GetTarget
(nsIDOMEventTarget
**aTarget
);
3039 nsresult GetCurrentTarget
(nsIDOMEventTarget
**aCurrentTarget
);
3040 nsresult GetEventPhase
(uint16_t
*aEventPhase
);
3041 nsresult GetBubbles
(bool
*aBubbles
);
3042 nsresult GetCancelable
(bool
*aCancelable
);
3043 nsresult GetTimeStamp
(DOMTimeStamp
*aTimeStamp
);
3044 nsresult StopPropagation
();
3045 nsresult PreventDefault
();
3046 void /* thiscall */ InitEvent
(const nsAString
*eventTypeArg
, bool canBubbleArg
, bool cancelableArg
);
3047 nsresult GetDefaultPrevented
(bool
*aDefaultPrevented
);
3048 nsresult StopImmediatePropagation
();
3049 nsresult GetOriginalTarget
(nsIDOMEventTarget
**aOriginalTarget
);
3050 nsresult GetExplicitOriginalTarget
(nsIDOMEventTarget
* *aExplicitOriginalTarget
);
3051 nsresult GetPreventDefault
(bool
*_retval
);
3052 nsresult GetIsTrusted
(bool
*aIsTrusted
);
3053 nsresult DuplicatePrivateData
();
3054 nsresult SetTarget
(nsIDOMEventTarget
*aTarget
);
3055 bool IsDispatchStopped
();
3056 /*WidgetEvent*/ void *WidgetEventPtr
();
3057 void SetTrusted
(bool aTrusted
);
3058 void Serialize
(/*IPC::Message*/ void *aMsg
, bool aSerializeInterfaceType
);
3059 bool Deserialize
(const /*IPC::Message*/ void *aMsg
, void **aIter
);
3060 void SetOwner
(void /*mozilla::dom::EventTarget*/ *aOwner
);
3061 void /*nsDOMEvent*/ *InternalDOMEvent
();
3062 nsresult StopCrossProcessForwarding
();
3067 uuid(46b44e33
-13c2
-4eb3
-bf80
-76a4e0857ccc
),
3070 interface nsIDOMWindowUtils
: nsISupports
3072 nsresult GetImageAnimationMode
(uint16_t
*aImageAnimationMode
);
3073 nsresult SetImageAnimationMode
(uint16_t aImageAnimationMode
);
3074 nsresult GetDocCharsetIsForced
(bool
*aDocCharsetIsForced
);
3075 nsresult GetCursorType
(int16_t
*_retval
);
3076 nsresult GetDocumentMetadata
(const nsAString
*aName
, nsAString
*_retval
);
3077 nsresult Redraw
(uint32_t aCount
, uint32_t
*_retval
);
3078 nsresult UpdateLayerTree
();
3079 nsresult GetViewportInfo
(uint32_t aDisplayWidth
, uint32_t aDisplayHeight
, double *aDefaultZoom
, bool
*aAllowZoom
,
3080 double *aMinZoom
, double *aMaxZoom
, uint32_t
*aWidth
, uint32_t
*aHeight
, bool
*aAutoSize
);
3081 nsresult SetDisplayPortForElement
(float aXPx
, float aYPx
, float aWidthPx
, float aHeightPx
,
3082 nsIDOMElement
*aElement
, uint32_t aPriority
);
3083 nsresult SetDisplayPortMarginsForElement
(float aLeftMargin
, float aTopMargin
, float aRightMargin
, float aBottomMargin
,
3084 nsIDOMElement
*aElement
, uint32_t aPriority
);
3085 nsresult SetDisplayPortBaseForElement
(int32_t aX
, int32_t aY
, int32_t aWidth
, int32_t aHeight
, nsIDOMElement
*aElement
);
3086 nsresult SetResolution
(float aResolution
);
3087 nsresult GetResolution
(float *aResolution
);
3088 nsresult SetResolutionAndScaleTo
(float aResolution
);
3089 nsresult GetIsResolutionSet
(bool
*aIsResolutionSet
);
3090 nsresult GetIsFirstPaint
(bool
*aIsFirstPaint
);
3091 nsresult SetIsFirstPaint
(bool aIsFirstPaint
);
3092 nsresult GetPresShellId
(uint32_t
*aPresShellId
);
3093 nsresult SendMouseEvent
(const nsAString
*aType
, float aX
, float aY
, int32_t aButton
, int32_t aClickCount
,
3094 int32_t aModifiers
, bool aIgnoreRootScrollFrame
, float aPressure
, uint16_t aInputSourceArg
, bool aIsSynthesized
,
3095 uint8_t _argc
, bool
*_retval
);
3096 nsresult SendPointerEvent
(const nsAString
*aType
, float aX
, float aY
, int32_t aButton
, int32_t aClickCount
,
3097 int32_t aModifiers
, bool aIgnoreRootScrollFrame
, float aPressure
, uint16_t aInputSourceArg
, int32_t aPointerId
,
3098 int32_t aWidth
, int32_t aHeight
, int32_t tiltX
, int32_t tiltY
, bool aIsPrimary
, bool aIsSynthesized
,
3099 uint8_t _argc
, bool
*_retval
);
3100 nsresult SendTouchEvent
(const nsAString
*aType
, uint32_t
*aIdentifiers
, int32_t
*aXs
, int32_t
*aYs
,
3101 uint32_t
*aRxs
, uint32_t
*aRys
, float *aRotationAngles
, float *aForces
, uint32_t count
, int32_t aModifiers
,
3102 bool aIgnoreRootScrollFrame
, bool
*_retval
);
3103 nsresult SendMouseEventToWindow
(const nsAString
*aType
, float aX
, float aY
, int32_t aButton
, int32_t aClickCount
,
3104 int32_t aModifiers
, bool aIgnoreRootScrollFrame
, float aPressure
, uint16_t aInputSourceArg
, bool aIsSynthesized
,
3106 nsresult SendPointerEventToWindow
(const nsAString
*aType
, float aX
, float aY
, int32_t aButton
, int32_t aClickCount
,
3107 int32_t aModifiers
, bool aIgnoreRootScrollFrame
, float aPressure
, uint16_t aInputSourceArg
, int32_t aPointerId
,
3108 int32_t aWidth
, int32_t aHeight
, int32_t aTiltX
, int32_t aTiltY
, bool aIsPrimary
, bool aIsSynthesized
, uint8_t _argc
);
3109 nsresult SendTouchEventToWindow
(const nsAString
*aType
, uint32_t
*aIdentifiers
, int32_t
*aXs
, int32_t
*aYs
, uint32_t
*aRxs
,
3110 uint32_t
*aRys
, float *aRotationAngles
, float *aForces
, uint32_t count
, int32_t aModifiers
,
3111 bool aIgnoreRootScrollFrame
, bool
*_retval
);
3112 nsresult SendWheelEvent
(float aX
, float aY
, double aDeltaX
, double aDeltaY
, double aDeltaZ
, uint32_t aDeltaMode
,
3113 int32_t aModifiers
, int32_t aLineOrPageDeltaX
, int32_t aLineOrPageDeltaY
, uint32_t aOptions
);
3114 nsresult SendKeyEvent
(const nsAString
*aType
, int32_t aKeyCode
, int32_t aCharCode
, int32_t aModifiers
,
3115 uint32_t aAdditionalFlags
, bool
*_retval
);
3116 nsresult SendNativeKeyEvent
(int32_t aNativeKeyboardLayout
, int32_t aNativeKeyCode
, int32_t aModifierFlags
,
3117 const nsAString
*aCharacters
, const nsAString
*aUnmodifiedCharacters
, nsIObserver
*aObserver
);
3118 nsresult SendNativeMouseEvent
(int32_t aScreenX
, int32_t aScreenY
, int32_t aNativeMessage
, int32_t aModifierFlags
,
3119 nsIDOMElement
*aElement
, nsIObserver
*aObserver
);
3120 nsresult SendNativeMouseMove
(int32_t aScreenX
, int32_t aScreenY
, nsIDOMElement
*aElement
, nsIObserver
*aObserver
);
3121 nsresult SendNativeMouseScrollEvent
(int32_t aScreenX
, int32_t aScreenY
, uint32_t aNativeMessage
, double aDeltaX
,
3122 double aDeltaY
, double aDeltaZ
, uint32_t aModifierFlags
, uint32_t aAdditionalFlags
, nsIDOMElement
*aElement
,
3123 nsIObserver
*aObserver
);
3124 nsresult SendNativeTouchPoint
(uint32_t aPointerId
, uint32_t aTouchState
, int32_t aScreenX
, int32_t aScreenY
,
3125 double aPressure
, uint32_t aOrientation
, nsIObserver
*aObserver
);
3126 nsresult SendNativeTouchTap
(int32_t aScreenX
, int32_t aScreenY
, bool aLongTap
, nsIObserver
*aObserver
);
3127 nsresult ClearNativeTouchSequence
(nsIObserver
*aObserver
);
3128 nsresult ActivateNativeMenuItemAt
(const nsAString
*indexString
);
3129 nsresult ForceUpdateNativeMenuAt
(const nsAString
*indexString
);
3130 nsresult Focus
(nsIDOMElement
*aElement
);
3131 nsresult GarbageCollect
(nsICycleCollectorListener
*aListener
, int32_t aExtraForgetSkippableCalls
);
3132 nsresult CycleCollect
(nsICycleCollectorListener
*aListener
, int32_t aExtraForgetSkippableCalls
);
3133 nsresult RunNextCollectorTimer
();
3134 nsresult SendSimpleGestureEvent
(const nsAString
*aType
, float aX
, float aY
, uint32_t aDirection
, double aDelta
,
3135 int32_t aModifiers
, uint32_t aClickCount
);
3136 nsresult ElementFromPoint
(float aX
, float aY
, bool aIgnoreRootScrollFrame
, bool aFlushLayout
, nsIDOMElement
**_retval
);
3137 nsresult NodesFromRect
(float aX
, float aY
, float aTopSize
, float aRightSize
, float aBottomSize
, float aLeftSize
,
3138 bool aIgnoreRootScrollFrame
, bool aFlushLayout
, nsIDOMNodeList
**_retval
);
3139 nsresult GetTranslationNodes
(nsIDOMNode
*aRoot
, int /*nsITranslationNodeList*/ **_retval
);
3140 nsresult CompareCanvases
(nsIDOMHTMLCanvasElement
*aCanvas1
, nsIDOMHTMLCanvasElement
*aCanvas2
,
3141 uint32_t
*aMaxDifference
, uint32_t
*_retval
);
3142 nsresult GetIsMozAfterPaintPending
(bool
*aIsMozAfterPaintPending
);
3143 nsresult SuppressEventHandling
(bool aSuppress
);
3144 nsresult ClearMozAfterPaintEvents
();
3145 nsresult DisableNonTestMouseEvents
(bool aDisable
);
3146 nsresult GetScrollXY
(bool aFlushLayout
, int32_t
*aScrollX
, int32_t
*aScrollY
);
3147 nsresult GetScrollXYFloat
(bool aFlushLayout
, float *aScrollX
, float *aScrollY
);
3148 nsresult GetScrollbarSize
(bool aFlushLayout
, int32_t
*aWidth
, int32_t
*aHeight
);
3149 nsresult GetBoundsWithoutFlushing
(nsIDOMElement
*aElement
, nsIDOMClientRect
**_retval
);
3150 nsresult GetRootBounds
(nsIDOMClientRect
**_retval
);
3151 nsresult GetIMEIsOpen
(bool
*aIMEIsOpen
);
3152 nsresult GetIMEStatus
(uint32_t
*aIMEStatus
);
3153 nsresult GetScreenPixelsPerCSSPixel
(float *aScreenPixelsPerCSSPixel
);
3154 nsresult GetFullZoom
(float *aFullZoom
);
3155 nsresult DispatchDOMEventViaPresShell
(nsIDOMNode
*aTarget
, nsIDOMEvent
*aEvent
, bool aTrusted
, bool
*_retval
);
3156 nsresult DispatchEventToChromeOnly
(nsIDOMEventTarget
*aTarget
, nsIDOMEvent
*aEvent
, bool
*_retval
);
3157 nsresult GetClassName
(const /*JS::Value*/ void *aObject
, JSContext
*cx
, char **_retval
);
3158 nsresult SendContentCommandEvent
(const nsAString
*aType
, nsITransferable
*aTransferable
);
3159 nsresult SendQueryContentEvent
(uint32_t aType
, uint32_t aOffset
, uint32_t aLength
, int32_t aX
, int32_t aY
,
3160 uint32_t aAdditionalFlags
, nsIQueryContentEventResult
**_retval
);
3161 nsresult RemoteFrameFullscreenChanged
(nsIDOMElement
*aFrameElement
);
3162 nsresult RemoteFrameFullscreenReverted
();
3163 nsresult HandleFullscreenRequests
(bool
*_retval
);
3164 nsresult ExitFullscreen
();
3165 nsresult SendSelectionSetEvent
(uint32_t aOffset
, uint32_t aLength
, uint32_t aAdditionalFlags
, bool
*_retval
);
3166 nsresult SelectAtPoint
(float aX
, float aY
, uint32_t aSelectBehavior
, bool
*_retval
);
3167 nsresult GetVisitedDependentComputedStyle
(nsIDOMElement
*aElement
, const nsAString
*aPseudoElement
,
3168 const nsAString
*aPropertyName
, nsAString
*_retval
);
3169 nsresult GetOuterWindowID
(uint64_t
*aOuterWindowID
);
3170 nsresult GetCurrentInnerWindowID
(uint64_t
*aCurrentInnerWindowID
);
3171 nsresult EnterModalState
();
3172 nsresult LeaveModalState
();
3173 nsresult IsInModalState
(bool
*_retval
);
3174 nsresult SetDesktopModeViewport
(bool aDesktopModeViewport
);
3175 nsresult SuspendTimeouts
();
3176 nsresult ResumeTimeouts
();
3177 nsresult GetLayerManagerType
(nsAString
*aLayerManagerType
);
3178 nsresult GetLayerManagerRemote
(bool
*aLayerManagerRemote
);
3179 nsresult GetSupportsHardwareH264Decoding
(void /* JS::MutableHandleValue */ *aSupportsHardwareH264Decoding
);
3180 nsresult StartFrameTimeRecording
(uint32_t
*startIndex
);
3181 nsresult StopFrameTimeRecording
(uint32_t startIndex
, uint32_t
*frameCount
, float **frameIntervals
);
3182 nsresult BeginTabSwitch
();
3183 nsresult GetDisplayDPI
(float *aDisplayDPI
);
3184 nsresult GetOuterWindowWithId
(uint64_t aOuterWindowID
, nsIDOMWindow
**_retval
);
3185 nsresult GetContainerElement
(nsIDOMElement
**aContainerElement
);
3186 nsresult RenderDocument
(const void /*nsRect*/ *aRect
, uint32_t aFlags
, int /*nscolor*/ aBackgroundColor
,
3187 void /*gfxContext*/ *aThebesContext
);
3188 nsresult AdvanceTimeAndRefresh
(int64_t aMilliseconds
);
3189 nsresult RestoreNormalRefresh
();
3190 nsresult GetIsTestControllingRefreshes
(bool
*aIsTestControllingRefreshes
);
3191 nsresult GetAsyncPanZoomEnabled
(bool
*aAsyncPanZoomEnabled
);
3192 nsresult SetAsyncScrollOffset
(nsIDOMNode
*aNode
, float aX
, float aY
);
3193 nsresult SetAsyncZoom
(nsIDOMNode
*aRootElement
, float aValue
);
3194 nsresult FlushApzRepaints
(bool
*_retval
);
3195 nsresult ZoomToFocusedInput
();
3196 nsresult ComputeAnimationDistance
(nsIDOMElement
*element
, const nsAString
*property
, const nsAString
*value1
,
3197 const nsAString
*value2
, double *_retval
);
3198 nsresult WrapDOMFile
(nsIFile
*aFile
, nsISupports
**_retval
);
3199 nsresult GetFocusedInputType
(char **aFocusedInputType
);
3200 nsresult GetViewId
(nsIDOMElement
*aElement
, long /*nsViewID*/ *_retval
);
3201 nsresult LeafLayersPartitionWindow
(bool
*_retval
);
3202 nsresult CheckAndClearPaintedState
(nsIDOMElement
*aElement
, bool
*_retval
);
3203 nsresult IsPartOfOpaqueLayer
(nsIDOMElement
*aElement
, bool
*_retval
);
3204 nsresult NumberOfAssignedPaintedLayers
(nsIDOMElement
**aElements
, uint32_t count
, uint32_t
*_retval
);
3205 nsresult GetFileId
(const /*JS::Value*/ void *aFile
, JSContext
*cx
, int64_t
*_retval
);
3206 nsresult GetFilePath
(void /*JS::HandleValue*/ *aFile
, JSContext
*cx
, nsAString
*_retval
);
3207 nsresult GetFileReferences
(const nsAString
*aDatabaseName
, int64_t aId
, void /*JS::HandleValue*/ *aOptions
,
3208 int32_t
*aRefCnt
, int32_t
*aDBRefCnt
, int32_t
*aSliceRefCnt
, JSContext
* cx
, bool
*_retval
);
3209 nsresult FlushPendingFileDeletions
();
3210 nsresult IsIncrementalGCEnabled
(JSContext
*cx
, bool
*_retval
);
3211 nsresult StartPCCountProfiling
(JSContext
*cx
);
3212 nsresult StopPCCountProfiling
(JSContext
*cx
);
3213 nsresult PurgePCCounts
(JSContext
*cx
);
3214 nsresult GetPCCountScriptCount
(JSContext
*cx
, int32_t
*_retval
);
3215 nsresult GetPCCountScriptSummary
(int32_t script
, JSContext
*cx
, nsAString
*_retval
);
3216 nsresult GetPCCountScriptContents
(int32_t script
, JSContext
*cx
, nsAString
*_retval
);
3217 nsresult GetPaintingSuppressed
(bool
*aPaintingSuppressed
);
3218 nsresult GetPlugins
(JSContext
*cx
, /*JS::Value*/ void *aPlugins
);
3219 nsresult SetScrollPositionClampingScrollPortSize
(float aWidth
, float aHeight
);
3220 nsresult DisableDialogs
();
3221 nsresult EnableDialogs
();
3222 nsresult AreDialogsEnabled
(bool
*_retval
);
3223 nsresult LoadSheet
(nsIURI
*sheetURI
, uint32_t type
);
3224 nsresult LoadSheetUsingURIString
(const nsACString
*sheetURI
, uint32_t type
);
3225 nsresult AddSheet
(nsIDOMStyleSheet
*sheet
, uint32_t type
);
3226 nsresult RemoveSheet
(nsIURI
*sheetURI
, uint32_t type
);
3227 nsresult RemoveSheetUsingURIString
(const nsACString
*sheetURI
, uint32_t type
);
3228 nsresult GetIsHandlingUserInput
(bool
*aIsHandlingUserInput
);
3229 nsresult AllowScriptsToClose
();
3230 nsresult GetIsParentWindowMainWidgetVisible
(bool
*aIsParentWindowMainWidgetVisible
);
3231 nsresult IsNodeDisabledForEvents
(nsIDOMNode
*aNode
, bool
*_retval
);
3232 nsresult GetPaintFlashing
(bool
*aPaintFlashing
);
3233 nsresult SetPaintFlashing
(bool aPaintFlashing
);
3234 nsresult GetOMTAStyle
(nsIDOMElement
*aElement
, const nsAString
*aProperty
,
3235 const nsAString
*aPseudoElement
, nsAString
*_retval
);
3236 nsresult RequestCompositorProperty
(const nsAString
*aProperty
, float *_retval
);
3237 nsresult SetHandlingUserInput
(bool aHandlingInput
, void /*nsIJSRAIIHelper*/ **_retval
);
3238 nsresult GetContentAPZTestData
(JSContext
*cx
, int /*JS::MutableHandleValue*/ _retval
);
3239 nsresult GetCompositorAPZTestData
(JSContext
*cx
, void /*JS::MutableHandleValue*/ *_retval
);
3240 nsresult PostRestyleSelfEvent
(nsIDOMElement
*aElement
);
3241 nsresult GetAudioMuted
(bool
*aAudioMuted
) ;
3242 nsresult SetAudioMuted
(bool aAudioMuted
);
3243 nsresult GetAudioVolume
(float *aAudioVolume
);
3244 nsresult SetAudioVolume
(float aAudioVolume
);
3245 nsresult XpconnectArgument
(nsIDOMWindowUtils
*aThis
);
3246 nsresult AskPermission
(void /*nsIContentPermissionRequest*/ *aRequest
);
3247 nsresult GetFramesConstructed
(uint64_t
*aFramesConstructed
);
3248 nsresult GetFramesReflowed
(uint64_t
*aFramesReflowed
);
3249 nsresult SetChromeMargin
(int32_t aTop
, int32_t aRight
, int32_t aBottom
, int32_t aLeft
);
3250 nsresult GetServiceWorkersTestingEnabled
(bool
*aServiceWorkersTestingEnabled
);
3251 nsresult SetServiceWorkersTestingEnabled
(bool aServiceWorkersTestingEnabled
);
3252 nsresult GetFrameUniformityTestData
(JSContext
* cx
, int /*JS::MutableHandleValue*/ *_retval
);
3253 nsresult EnterChaosMode
();
3254 nsresult LeaveChaosMode
();
3255 nsresult HasRuleProcessorUsedByMultipleStyleSets
(uint32_t aSheetType
, bool
*_retval
);
3256 nsresult ForceUseCounterFlush
(nsIDOMNode
*aNode
);
3257 nsresult SetNextPaintSyncId
(int32_t aSyncId
);
3260 cpp_quote
("#define CONTEXT_NONE 0x00")
3261 cpp_quote
("#define CONTEXT_LINK 0x01")
3262 cpp_quote
("#define CONTEXT_IMAGE 0x02")
3263 cpp_quote
("#define CONTEXT_DOCUMENT 0x04")
3264 cpp_quote
("#define CONTEXT_TEXT 0x08")
3265 cpp_quote
("#define CONTEXT_INPUT 0x10")
3266 cpp_quote
("#define CONTEXT_BACKGROUND_IMAGE 0x20")
3270 uuid(3478b6b0
-3875-11d4
-94ef
-0020183bf181
),
3273 interface nsIContextMenuListener
: nsISupports
3275 nsresult OnShowContextMenu
(uint32_t aContextFlags
, nsIDOMEvent
*aEvent
, nsIDOMNode
*aNode
);
3280 uuid(85ae52eb
-37fa
-4fd9
-a2e6
-c7d0f2a521b3
),
3283 interface nsIDOMUIEvent
: nsISupports
3285 nsresult GetView
(mozIDOMWindowProxy
**aView
);
3286 nsresult GetDetail
(int32_t
*aDetail
);
3287 nsresult InitUIEvent
(const nsAString
*typeArg
, bool canBubbleArg
, bool cancelableArg
,
3288 mozIDOMWindow
*viewArg
, int32_t detailArg
);
3289 nsresult GetLayerX
(int32_t
*aLayerX
);
3290 nsresult GetLayerY
(int32_t
*aLayerY
);
3291 nsresult GetPageX
(int32_t
*aPageX
);
3292 nsresult GetPageY
(int32_t
*aPageY
);
3293 nsresult GetWhich
(uint32_t
*aWhich
);
3294 nsresult GetRangeParent
(nsIDOMNode
**aRangeParent
);
3295 nsresult GetRangeOffset
(int32_t
*aRangeOffset
);
3296 nsresult GetCancelBubble
(bool
*aCancelBubble
);
3297 nsresult SetCancelBubble
(bool aCancelBubble
);
3298 nsresult GetIsChar
(bool
*aIsChar
);
3299 void* /* mozilla::dom::Event thiscall */ AsEvent
();
3304 uuid(5bdab8d8
-7933-4c5c
-b6d1
-ab34481237f7
),
3307 interface nsIDOMMouseEvent
: nsIDOMUIEvent
3309 nsresult GetScreenX
(int32_t
*aScreenX
);
3310 nsresult GetScreenY
(int32_t
*aScreenY
);
3311 nsresult GetMozMovementX
(int32_t
*aMozMovementX
);
3312 nsresult GetMozMovementY
(int32_t
*aMozMovementY
);
3313 nsresult GetClientX
(int32_t
*aClientX
);
3314 nsresult GetClientY
(int32_t
*aClientY
);
3315 nsresult GetCtrlKey
(bool
*aCtrlKey
);
3316 nsresult GetShiftKey
(bool
*aShiftKey
);
3317 nsresult GetAltKey
(bool
*aAltKey
);
3318 nsresult GetMetaKey
(bool
*aMetaKey
);
3319 nsresult GetButton
(int16_t
*aButton
);
3320 nsresult GetButtons
(uint16_t
*aButtons
);
3321 nsresult GetRelatedTarget
(nsIDOMEventTarget
**aRelatedTarget
);
3322 nsresult InitMouseEvent
(const nsAString
*typeArg
, bool canBubbleArg
, bool cancelableArg
,
3323 mozIDOMWindow
*viewArg
, int32_t detailArg
, int32_t screenXArg
, int32_t screenYArg
,
3324 int32_t clientXArg
, int32_t clientYArg
, bool ctrlKeyArg
, bool altKeyArg
, bool shiftKeyArg
,
3325 bool metaKeyArg
, uint16_t buttonArg
, nsIDOMEventTarget
*relatedTargetArg
);
3326 nsresult GetMozPressure
(float *aMozPressure
);
3327 nsresult GetMozInputSource
(uint16_t
*aMozInputSource
);
3328 nsresult GetModifierState
(const nsAString
*keyArg
, bool
*_retval
);
3333 uuid(2e52eb99
-670d
-469a
-b51f
-8efee2dd091d
),
3336 interface nsIDOMKeyEvent
: nsIDOMUIEvent
3338 nsresult GetCharCode
(uint32_t
*aCharCode
);
3339 nsresult GetKeyCode
(uint32_t
*aKeyCode
);
3340 nsresult GetAltKey
(bool
*aAltKey
);
3341 nsresult GetCtrlKey
(bool
*aCtrlKey
);
3342 nsresult GetShiftKey
(bool
*aShiftKey
);
3343 nsresult GetMetaKey
(bool
*aMetaKey
);
3344 nsresult InitKeyEvent
(const nsAString
*typeArg
, bool canBubbleArg
,
3345 bool cancelableArg
, mozIDOMWindowProxy
*viewArg
, bool ctrlKeyArg
,
3346 bool altKeyArg
, bool shiftKeyArg
, bool metaKeyArg
, uint32_t keyCodeArg
,
3347 uint32_t charCodeArg
);
3348 nsresult GetModifierState
(const nsAString
*keyArg
, bool
*_retval
);
3349 nsresult GetLocation
(uint32_t
*aLocation
);
3350 nsresult GetRepeat
(bool
*aRepeat
);
3351 nsresult GetKey
(nsAString
*aKey
);
3356 uuid(e0682338
-4c3f
-4d3a
-9487-d7492ea76335
),
3359 interface nsIDOMProgressEvent
: nsISupports
3361 nsresult GetLengthComputable
(bool
*aLengthComputable
);
3362 nsresult GetLoaded
(uint64_t
*aLoaded
);
3363 nsresult GetTotal
(uint64_t
*aTotal
);
3364 nsresult InitProgressEvent
(const nsAString
*typeArg
, bool canBubbleArg
, bool cancelableArg
,
3365 bool lengthComputableArg
, uint64_t loadedArg
, uint64_t totalArg
);
3370 uuid(5be16b03
-36f9
-4ca8
-b2c5
-0daadf3cd1b3
),
3373 interface nsIDOMCustomEvent
: nsISupports
3375 nsresult GetDetail
(nsIVariant
**aDetail
);
3376 nsresult InitCustomEvent
(const nsAString
*typeArg
, bool canBubbleArg
, bool cancelableArg
,
3377 nsIVariant
*detailArg
);
3382 uuid(0b976267
-4aaa
-4f36
-a2d4
-27b5ca8d73bb
),
3385 interface nsIEmbeddingSiteWindow
: nsISupports
3387 nsresult SetDimensions
(uint32_t flags
, int32_t x
, int32_t y
, int32_t cx
, int32_t cy
);
3388 nsresult GetDimensions
(uint32_t flags
, int32_t
*x
, int32_t
*y
, int32_t
*cx
, int32_t
*cy
);
3389 nsresult SetFocus
();
3390 nsresult GetVisibility
(bool
*aVisibility
);
3391 nsresult SetVisibility
(bool aVisibility
);
3392 nsresult GetTitle
(PRUnichar
**aTitle
);
3393 nsresult SetTitle
(const PRUnichar
*aTitle
);
3394 nsresult GetSiteWindow
(void **aSiteWindow
);
3400 uuid(2417cbfe
-65ad
-48a6
-b4b6
-eb84db174392
),
3403 interface nsIComponentRegistrar
: nsISupports
3405 nsresult AutoRegister
(nsIFile
*aSpec
);
3406 nsresult AutoUnregister
(nsIFile
*aSpec
);
3407 nsresult RegisterFactory
(const nsCID
*aClass
, const char *aClassName
,
3408 const char *aContractID
, nsIFactory
*aFactory
);
3409 nsresult UnregisterFactory
(const nsCID
*aClass
, nsIFactory
*aFactory
);
3410 nsresult RegisterFactoryLocation
(const nsCID
*aClass
, const char *aClassName
,
3411 const char *aContractID
, nsIFile
*aFile
, const char *aLoaderStr
,
3413 nsresult UnregisterFactoryLocation
(const nsCID
*aClass
, nsIFile
*aFile
);
3414 nsresult IsCIDRegistered
(const nsCID
*aClass
, bool
*_retval
);
3415 nsresult IsContractIDRegistered
(const char *aContractID
, bool
*_retval
);
3416 nsresult EnumerateCIDs
(nsISimpleEnumerator
**_retval
);
3417 nsresult EnumerateContractIDs
(nsISimpleEnumerator
**_retval
);
3418 nsresult CIDToContractID
(const nsCID
*aClass
, char **_retval
);
3419 nsresult ContractIDToCID
(const char *aContractID
, nsCID
**_retval
);
3424 uuid(404ebfa2
-d8f4
-4c94
-8416-e65a55f9df5a
),
3427 interface nsIPromptService
: nsISupports
3429 nsresult Alert
(mozIDOMWindowProxy
*aParent
, const PRUnichar
*aDialogTitle
,
3430 const PRUnichar
*aText
);
3431 nsresult AlertCheck
(mozIDOMWindowProxy
*aParent
, const PRUnichar
*aDialogTitle
,
3432 const PRUnichar
*aText
, const PRUnichar
*aCheckMsg
, bool
*aCheckState
);
3433 nsresult Confirm
(mozIDOMWindowProxy
*aParent
, const PRUnichar
*aDialogTitle
,
3434 const PRUnichar
*aText
, bool
*_retval
);
3435 nsresult ConfirmCheck
(mozIDOMWindowProxy
*aParent
, const PRUnichar
*aDialogTitle
,
3436 const PRUnichar
*aText
, const PRUnichar
*aCheckMsg
, bool
*aCheckState
,
3438 nsresult ConfirmEx
(mozIDOMWindowProxy
*aParent
, const PRUnichar
*aDialogTitle
,
3439 const PRUnichar
*aText
, uint32_t aButtonFlags
, const PRUnichar
*aButton0Title
,
3440 const PRUnichar
*aButton1Title
, const PRUnichar
*aButton2Title
,
3441 const PRUnichar
*aCheckMsg
, bool
*aCheckState
, int32_t
*_retval
);
3442 nsresult Prompt
(mozIDOMWindowProxy
*aParent
, const PRUnichar
*aDialogTitle
,
3443 const PRUnichar
*aText
, PRUnichar
**aValue
, const PRUnichar
*aCheckMsg
,
3444 bool
*aCheckState
, bool
*_retval
);
3445 nsresult PromptUsernameAndPassword
(mozIDOMWindowProxy
*aParent
, const PRUnichar
*aDialogTitle
,
3446 const PRUnichar
*aText
, PRUnichar
**aUsername
, PRUnichar
**aPassword
,
3447 const PRUnichar
*aCheckMsg
, bool
*aCheckState
, bool
*_retval
);
3448 nsresult PromptPassword
(mozIDOMWindowProxy
*aParent
, const PRUnichar
*aDialogTitle
,
3449 const PRUnichar
*aText
, PRUnichar
**aPassword
, const PRUnichar
*aCheckMsg
,
3450 bool
*aCheckState
, bool
*_retval
);
3451 nsresult Select
(mozIDOMWindowProxy
*aParent
, const PRUnichar
*aDialogTitle
,
3452 const PRUnichar
*aText
, uint32_t aCount
, const PRUnichar
**aSelectList
,
3453 int32_t
*aOutSelection
, bool
*_retval
);
3458 uuid(b128a1e6
-44f3
-4331-8fbe
-5af360ff21ee
),
3461 interface nsITooltipTextProvider
: nsISupports
3463 nsresult GetNodeText
(nsIDOMNode
*aNode
, PRUnichar
**aText
, bool
*_retval
);
3468 uuid(24f963d1
-e6fc
-43ea
-a206
-99ac5fcc5265
),
3471 interface nsIEditingSession
: nsISupports
3473 nsresult GetEditorStatus
(uint32_t
*aEditorStatus
);
3474 nsresult MakeWindowEditable
(mozIDOMWindowProxy
*window
, const char *aEditorType
,
3475 bool doAfterUriLoad
, bool aMakeWholeDocumentEditable
, bool aInteractive
);
3476 nsresult WindowIsEditable
(mozIDOMWindowProxy
*window
, bool
*_retval
);
3477 nsresult GetEditorForWindow
(mozIDOMWindowProxy
*window
, nsIEditor
**_retval
);
3478 nsresult SetupEditorOnWindow
(mozIDOMWindowProxy
*window
);
3479 nsresult TearDownEditorOnWindow
(mozIDOMWindowProxy
*window
);
3480 nsresult SetEditorOnControllers
(mozIDOMWindowProxy
*aWindow
, nsIEditor
*aEditor
);
3481 nsresult DisableJSAndPlugins
(mozIDOMWindowProxy
*aWindow
);
3482 nsresult RestoreJSAndPlugins
(mozIDOMWindowProxy
*aWindow
);
3483 nsresult DetachFromWindow
(mozIDOMWindowProxy
*aWindow
);
3484 nsresult ReattachToWindow
(mozIDOMWindowProxy
*aWindow
);
3485 nsresult GetJsAndPluginsDisabled
(bool
*aJsAndPluginsDisabled
);
3490 uuid(b1fdf3c4
-74e3
-4f7d
-a14d
-2b76bcf53482
),
3493 interface nsICommandParams
: nsISupports
3495 nsresult GetValueType
(const char *name
, int16_t
*_retval
);
3496 nsresult GetBooleanValue
(const char *name
, bool
*_retval
);
3497 nsresult GetLongValue
(const char *name
, int32_t
*_retval
);
3498 nsresult GetDoubleValue
(const char *name
, double *_retval
);
3499 nsresult GetStringValue
(const char *name
, nsAString
*_retval
);
3500 nsresult GetCStringValue
(const char *name
, char **_retval
);
3501 nsresult GetISupportsValue
(const char *name
, nsISupports
**_retval
);
3502 nsresult SetBooleanValue
(const char *name
, bool value
);
3503 nsresult SetLongValue
(const char *name
, int32_t value
);
3504 nsresult SetDoubleValue
(const char *name
, double value
);
3505 nsresult SetStringValue
(const char *name
, const nsAString
*value
);
3506 nsresult SetCStringValue
(const char *name
, const char *value
);
3507 nsresult SetISupportsValue
(const char *name
, nsISupports
*value
);
3508 nsresult RemoveValue
(const char *name
);
3513 uuid(bb5a1730
-d83b
-4fa2
-831b
-35b9d5842e84
),
3516 interface nsICommandManager
: nsISupports
3518 nsresult AddCommandObserver
(nsIObserver
*aCommandObserver
, const char *aCommandToObserve
);
3519 nsresult RemoveCommandObserver
(nsIObserver
*aCommandObserver
, const char *aCommandObserved
);
3520 nsresult IsCommandSupported
(const char *aCommandName
, mozIDOMWindowProxy
*aTargetWindow
, bool
*_retval
);
3521 nsresult IsCommandEnabled
(const char *aCommandName
, mozIDOMWindowProxy
*aTargetWindow
, bool
*_retval
);
3522 nsresult GetCommandState
(const char *aCommandName
, mozIDOMWindowProxy
*aTargetWindow
,
3523 nsICommandParams
*aCommandParams
);
3524 nsresult DoCommand
(const char *aCommandName
, nsICommandParams
*aCommandParams
,
3525 mozIDOMWindowProxy
*aTargetWindow
);
3530 uuid(3275b2cd
-af6d
-429a
-80d7
-f0c5120342ac
),
3533 interface nsICategoryManager
: nsISupports
3535 nsresult GetCategoryEntry
(const char *aCategory
, const char *aEntry
, char **_retval
);
3536 nsresult AddCategoryEntry
(const char *aCategory
, const char *aEntry
, const char *aValue
, bool aPersist
,
3537 bool aReplace
, char **_retval
);
3538 nsresult DeleteCategoryEntry
(const char *aCategory
, const char *aEntry
, bool aPersist
);
3539 nsresult DeleteCategory
(const char *aCategory
);
3540 nsresult EnumerateCategory
(const char *aCategory
, nsISimpleEnumerator
**_retval
);
3541 nsresult EnumerateCategories
(nsISimpleEnumerator
**_retval
);
3546 uuid(47b82b60
-a36f
-4167-8072-6f421151ed50
),
3549 interface nsIControllerContext
: nsISupports
3551 nsresult Init
(nsIControllerCommandTable
*aCommandTable
);
3552 nsresult SetCommandContext
(nsISupports
*aCommandContext
);
3557 uuid(d5b61b82
-1da4
-11d3
-bf87
-00105a1b0627
),
3560 interface nsIController
: nsISupports
3562 nsresult IsCommandEnabled
(const char *command
, bool
*_retval
);
3563 nsresult SupportsCommand
(const char *command
, bool
*_retval
);
3564 nsresult DoCommand
(const char *command
);
3565 nsresult OnEvent
(const char *eventName
);
3570 uuid(8e1bab9d
-8815-4d2c
-a24d
-7aba5239dc22
),
3573 interface nsIContent
: nsISupports
3575 /* This is not a real interface declaration. It's too internal for us. */
3580 uuid(ce1f7627
-7109-4977-ba77
-490ffde07aaa
),
3583 interface nsIDocument
: nsISupports
3585 /* This is not a real interface declaration. It's too internal for us. */
3590 uuid(b1ee32f2
-b8c4
-49b9
-93df
-b6fab5d54688
),
3593 interface nsIContentSerializer
: nsISupports
3595 nsresult Init
(uint32_t flags
, uint32_t aWrapColumn
, const char *aCharSet
, bool aIsCopying
,
3596 bool aIsWholeDocument
);
3597 nsresult AppendText
(nsIContent
*aText
, int32_t aStartOffset
, int32_t aEndOffset
, nsAString
*aStr
);
3598 nsresult AppendCDATASection
(nsIContent
*aCDATASection
, int32_t aStartOffset
,
3599 int32_t aEndOffset
, nsAString
*aStr
);
3600 nsresult AppendProcessingInstruction
(nsIContent
*aPI
, int32_t aStartOffset
,
3601 int32_t aEndOffset
, nsAString
*aStr
);
3602 nsresult AppendComment
(nsIContent
*aComment
, int32_t aStartOffset
, int32_t aEndOffset
,
3604 nsresult AppendDoctype
(nsIContent
*aDoctype
, nsAString
*aStr
);
3605 nsresult AppendElementStart
(nsIContent
*aElement
, nsIContent
*aOriginalElement
,
3607 nsresult AppendElementEnd
(nsIContent
*aElement
, nsAString
*aStr
);
3608 nsresult Flush
(nsAString
*aStr
);
3609 nsresult AppendDocumentStart
(nsIDocument
*aDocument
, nsAString
*aStr
);
3614 uuid(094be624
-f0bf
-400f
-89e2
-6a84baab9474
),
3617 interface nsIEditor
: nsISupports
3619 nsresult GetSelection
([out] nsISelection
*_retval
);
3620 nsresult FinalizeSelection
();
3621 nsresult Init
([in] nsIDOMDocument
*doc
, nsIContent
*aRoot
, nsISelectionController
*aSelCon
, uint32_t aFlags
, nsAString
*initialValue
);
3622 nsresult SetAttributeOrEquivalent
([in] nsIDOMElement
*element
, [in] const nsAString
*sourceAttrName
, [in] const nsAString
*sourceAttrValue
, [in] bool aSuppressTransaction
);
3623 nsresult RemoveAttributeOrEquivalent
([in] nsIDOMElement
*element
, [in] const nsAString
*sourceAttrName
, [in] bool aSuppressTransaction
);
3624 nsresult PostCreate
();
3625 nsresult PreDestroy
();
3626 nsresult GetFlags
([out] uint32_t
*_retval
);
3627 nsresult SetFlags
([in] uint32_t val
);
3628 nsresult GetContentsMIMEType
([out] char **_retval
);
3629 nsresult SetContentsMIMEType
([in] const char *val
);
3630 nsresult GetIsDocumentEditable
([out] bool
*_retval
);
3631 nsresult GetIsSelectionEditable
(bool
*aIsSelectionEditable
);
3632 nsresult GetDocument
([out] nsIDOMDocument
**_retval
);
3633 nsresult GetRootElement
([out] nsIDOMElement
**_retval
);
3634 nsresult GetSelectionController
([out] nsISelectionController
**_retval
);
3635 nsresult DeleteSelection
(int16_t action
, int16_t aStripWrappers
);
3636 nsresult GetDocumentIsEmpty
([out] bool
*_retval
);
3637 nsresult GetDocumentModified
([out] bool
*_retval
);
3638 nsresult GetDocumentCharacterSet
([out] nsACString
*_retval
);
3639 nsresult SetDocumentCharacterSet
([in] const nsACString
*val
);
3640 nsresult ResetModificationCount
();
3641 nsresult GetModificationCount
([out] int32_t
*_retval
);
3642 nsresult IncrementModificationCount
([in] int32_t aModCount
);
3643 nsresult GetTransactionManager
([out] nsITransactionManager
**_retval
);
3644 nsresult SetTransactionManager
(nsITransactionManager
*aTransactionManager
);
3645 nsresult DoTransaction
([in] nsITransaction
*txn
);
3646 nsresult EnableUndo
([in] bool enable
);
3647 nsresult GetNumberOfUndoItems
(int32_t
*aNumberOfUndoItems
);
3648 nsresult GetNumberOfRedoItems
(int32_t
*aNumberOfRedoItems
);
3649 nsresult Undo
([in] uint32_t count
);
3650 nsresult CanUndo
([out] bool
*isEnabled
, [out] bool
*canUndo
);
3651 nsresult Redo
([in] uint32_t count
);
3652 nsresult CanRedo
([out] bool
*isEnabled
, [out] bool
*canRedo
);
3653 nsresult BeginTransaction
();
3654 nsresult EndTransaction
();
3655 nsresult BeginPlaceHolderTransaction
([in] nsIAtom
*name
);
3656 nsresult EndPlaceHolderTransaction
();
3657 nsresult ShouldTxnSetSelection
([out] bool
*_retval
);
3658 nsresult SetShouldTxnSetSelection
([in] bool should
);
3659 nsresult GetInlineSpellChecker
([out] nsIInlineSpellChecker
**_retval
);
3660 nsresult SyncRealTimeSpell
();
3661 nsresult SetSpellcheckUserOverride
(bool enable
);
3663 nsresult CanCut
([out] bool
*_retval
);
3665 nsresult CanCopy
([out] bool
*_retval
);
3666 nsresult CanDelete
(bool
*_retval
);
3667 nsresult Paste
([in] int32_t aSelectionType
);
3668 nsresult PasteTransferable
(nsITransferable
*aTransferable
);
3669 nsresult CanPaste
([in] int32_t aSelectionType
, [out] bool
*_retval
);
3670 nsresult CanPasteTransferable
(nsITransferable
*aTransferable
, bool
*_retval
);
3671 nsresult SelectAll
();
3672 nsresult BeginningOfDocument
();
3673 nsresult EndOfDocument
();
3674 nsresult SetAttribute
([in] nsIDOMElement
*aElement
, [in] const nsAString
*attributestr
, [in] const nsAString
*attvalue
);
3675 nsresult GetAttributeValue
([in] nsIDOMElement
*aElement
, [in] const nsAString
*attributestr
, [out] nsAString
*resultValue
, bool
*_retval
);
3676 nsresult RemoveAttribute
([in] nsIDOMElement
*aElement
, [in] const nsAString
*aAttribute
);
3677 nsresult CloneAttribute
([in] const nsAString
*aAttribute
, [in] nsIDOMNode
*aDestNode
, [in] nsIDOMNode
*aSourceNode
);
3678 nsresult CloneAttributes
([in] nsIDOMNode
*destNode
, [in] nsIDOMNode
*sourceNode
);
3679 nsresult CreateNode
([in] const nsAString
*tag
, [in] nsIDOMNode
*parent
, [in] int32_t position
, [out] nsIDOMNode
**_retval
);
3680 nsresult InsertNode
([in] nsIDOMNode
*node
, [in] nsIDOMNode
*parent
, [in] int32_t aPosition
);
3681 nsresult SplitNode
([in] nsIDOMNode
*existingRightNode
, [in] int32_t offset
, [out] nsIDOMNode
**newLeftNode
);
3682 nsresult JoinNodes
([in] nsIDOMNode
*leftNode
, [in] nsIDOMNode
*rightNode
, [in] nsIDOMNode
*parent
);
3683 nsresult DeleteNode
([in] nsIDOMNode
*child
);
3684 bool OutputsMozDirty
();
3685 nsresult MarkNodeDirty
([in] nsIDOMNode
*node
);
3686 nsresult SwitchTextDirection
();
3687 nsresult OutputToString
([in] nsAString formatType
, [in] uint32_t flags
, [out] nsAString
*_retval
);
3688 nsresult OutputToStream
([in] nsIOutputStream
*aStream
, [in] nsAString
*formatType
, [in] nsACString
*charsetOverride
, [in] uint32_t flags
);
3689 nsresult AddEditorObserver
(nsIEditorObserver
*observer
);
3690 nsresult RemoveEditorObserver
(nsIEditorObserver
*observer
);
3691 nsresult AddEditActionListener
([in] nsIEditActionListener
*listener
);
3692 nsresult RemoveEditActionListener
([in] nsIEditActionListener
*listener
);
3693 nsresult AddDocumentStateListener
([in] nsIDocumentStateListener
*listener
);
3694 nsresult RemoveDocumentStateListener
([in] nsIDocumentStateListener
*listener
);
3695 nsresult DumpContentTree
();
3696 nsresult DebugDumpContent
();
3697 nsresult DebugUnitTests
([out] int32_t
*outNumTests
, [out] int32_t
*outNumTestsFailed
);
3698 bool IsModifiableNode
(nsIDOMNode
*aNode
);
3699 nsresult GetSuppressDispatchingInputEvent
(bool
*aSuppressDispatchingInputEvent
);
3700 nsresult SetSuppressDispatchingInputEvent
(bool aSuppressDispatchingInputEvent
);
3701 nsresult GetIsInEditAction
(bool
*aIsInEditAction
);
3706 uuid(87ee993e
-985f
-4a43
-a974
-0d9512da2fb0
),
3709 interface nsIHTMLEditor
: nsISupports
3711 nsresult AddDefaultProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
);
3712 nsresult RemoveDefaultProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
);
3713 nsresult RemoveAllDefaultProperties
();
3714 nsresult SetInlineProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
);
3715 nsresult GetInlineProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
, [out] bool
*aFirst
, [out] bool
*aAny
, [out] bool
*aAll
);
3716 nsresult GetInlinePropertyWithAttrValue
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
, [in] nsAString
*aValue
, [out] bool
*aFirst
, [out] bool
*aAny
, [out] bool
*aAll
, [out] nsAString
*_retval
);
3717 nsresult RemoveAllInlineProperties
();
3718 nsresult RemoveInlineProperty
([in] nsIAtom
*aProperty
, [in] nsAString
*aAttribute
);
3719 nsresult IncreaseFontSize
();
3720 nsresult DecreaseFontSize
();
3721 nsresult NodeIsBlock
([in] nsIDOMNode
*node
, bool
*_retval
);
3722 nsresult InsertHTML
([in] nsAString
*aInputString
);
3723 nsresult PasteNoFormatting
([in] int32_t aSelectionType
);
3724 nsresult RebuildDocumentFromSource
([in] nsAString
*aSourceString
);
3725 nsresult InsertHTMLWithContext
([in] nsAString
*aInputString
, [in] nsAString
*aContextStr
, [in] nsAString
*aInfoStr
, [in] nsAString
*aFlavor
, [in] nsIDOMDocument
*aSourceDoc
, [in] nsIDOMNode
*aDestinationNode
, [in] int32_t aDestinationOffset
, [in] bool aDeleteSelection
);
3726 nsresult InsertElementAtSelection
([in] nsIDOMElement
*aElement
, [in] bool aDeleteSelection
);
3727 nsresult SetDocumentTitle
([in] nsAString
*aTitle
);
3728 nsresult UpdateBaseURL
();
3729 nsresult SelectElement
([in] nsIDOMElement
*aElement
);
3730 nsresult SetCaretAfterElement
([in] nsIDOMElement
*aElement
);
3731 nsresult SetParagraphFormat
([in] nsAString
*aParagraphFormat
);
3732 nsresult GetParagraphState
([out] bool
*aMixed
, [out] nsAString
*_retval
);
3733 nsresult GetFontFaceState
([out] bool
*aMixed
, [out] nsAString
*_retval
);
3734 nsresult GetFontColorState
([out] bool
*aMixed
, [out] nsAString
*_retval
);
3735 nsresult GetBackgroundColorState
([out] bool
*aMixed
, [out] nsAString
*_retval
);
3736 nsresult GetHighlightColorState
([out] bool
*aMixed
, [out] nsAString
*_retval
);
3737 nsresult GetListState
([out] bool
*aMixed
, [out] bool
*aOL
, [out] bool
*aUL
, [out] bool
*aDL
);
3738 nsresult GetListItemState
([out] bool
*aMixed
, [out] bool
*aLI
, [out] bool
*aDT
, [out] bool
*aDD
);
3739 nsresult GetAlignment
([out] bool
*aMixed
, [out] int16_t
*aAlign
);
3740 nsresult GetIndentState
([out] bool
*aCanIndent
, [out] bool
*aCanOutdent
);
3741 nsresult MakeOrChangeList
([in] nsAString
*aListType
, [in] bool entireList
, [in] nsAString
*aBulletType
);
3742 nsresult RemoveList
([in] nsAString
*aListType
);
3743 nsresult Indent
([in] nsAString
*aIndent
);
3744 nsresult Align
([in] nsAString
*aAlign
);
3745 nsresult GetElementOrParentByTagName
([in] nsAString
*aTagName
, [in] nsIDOMNode
*aNode
, [out] nsIDOMElement
**_retval
);
3746 nsresult GetSelectedElement
([in] nsAString
*aTagName
, [out] nsIDOMElement
**_retval
);
3747 nsresult GetHeadContentsAsHTML
([out] nsAString
*_retval
);
3748 nsresult ReplaceHeadContentsWithHTML
([in] nsAString
*aSourceToInsert
);
3749 nsresult CreateElementWithDefaults
([in] nsAString
*aTagName
, [out] nsIDOMElement
**_retval
);
3750 nsresult InsertLinkAroundSelection
([in] nsIDOMElement
*aAnchorElement
);
3751 nsresult SetBackgroundColor
([in] nsAString
*aColor
);
3752 nsresult SetBodyAttribute
([in] nsAString
*aAttr
, [in] nsAString
*aValue
);
3753 nsresult GetLinkedObjects
([out] nsISupportsArray
**_retval
);
3754 nsresult GetIsCSSEnabled
([out] bool
*_retval
);
3755 nsresult SetIsCSSEnabled
([in] bool prb
);
3756 nsresult AddInsertionListener
([in] nsIContentFilter
*inFilter
);
3757 nsresult RemoveInsertionListener
([in] nsIContentFilter
*inFilter
);
3758 nsresult CreateAnonymousElement
([in] nsAString
*aTag
, [in] nsIDOMNode
*aParentNode
, [in] nsAString
*aAnonClass
, [in] bool aIsCreatedHidden
, [out] nsIDOMElement
**_retval
);
3759 nsresult GetSelectionContainer
([out] nsIDOMElement
**_retval
);
3760 nsresult CheckSelectionStateForAnonymousButtons
([in] nsISelection
*aSelection
);
3761 nsresult IsAnonymousElement
([in] nsIDOMElement
*aElement
, [out] bool
*_retval
);
3762 nsresult GetReturnInParagraphCreatesNewParagraph
([out] bool
*_retval
);
3763 nsresult SetReturnInParagraphCreatesNewParagraph
([in] bool prb
);
3764 void /*Element*/ *GetActiveEditingHost
();
3769 uuid(b8100c90
-73be
-11d2
-92a5
-00105a1b0d64
),
3772 interface nsIClipboardCommands
: nsISupports
3774 nsresult CanCutSelection
(bool
*_retval
);
3775 nsresult CanCopySelection
(bool
*_retval
);
3776 nsresult CanCopyLinkLocation
(bool
*_retval
);
3777 nsresult CanCopyImageLocation
(bool
*_retval
);
3778 nsresult CanCopyImageContents
(bool
*_retval
);
3779 nsresult CanPaste
(bool
*_retval
);
3780 nsresult CutSelection
();
3781 nsresult CopySelection
();
3782 nsresult CopyLinkLocation
();
3783 nsresult CopyImageLocation
();
3784 nsresult CopyImageContents
();
3786 nsresult SelectAll
();
3787 nsresult SelectNone
();
3792 uuid(9b7c586f
-9214-480c
-a2c4
-49b526fff1a6
),
3795 interface nsIDocShellTreeItem
: nsISupports
3797 nsresult GetName
(nsAString
*aName
);
3798 nsresult SetName
(const nsAString
*aName
);
3799 nsresult NameEquals
(const PRUnichar
*name
, bool
*_retval
);
3800 nsresult GetItemType
(int32_t
*aItemType
);
3801 nsresult SetItemType
(int32_t aItemType
);
3803 nsresult GetParent
(nsIDocShellTreeItem
**aParent
);
3804 nsresult GetSameTypeParent
(nsIDocShellTreeItem
**aSameTypeParent
);
3805 nsresult GetRootTreeItem
(nsIDocShellTreeItem
**aRootTreeItem
);
3806 nsresult GetSameTypeRootTreeItem
(nsIDocShellTreeItem
**aSameTypeRootTreeItem
);
3807 nsresult FindItemWithName
(const PRUnichar
*name
, nsISupports
*aRequestor
, nsIDocShellTreeItem
*aOriginalRequestor
,
3808 nsIDocShellTreeItem
**_retval
);
3809 nsresult GetTreeOwner
(nsIDocShellTreeOwner
**aTreeOwner
);
3810 nsresult SetTreeOwner
(nsIDocShellTreeOwner
*treeOwner
);
3811 nsresult GetChildCount
(int32_t
*aChildCount
);
3812 nsresult AddChild
(nsIDocShellTreeItem
*child
);
3813 nsresult RemoveChild
(nsIDocShellTreeItem
*child
);
3814 nsresult GetChildAt
(int32_t index
, nsIDocShellTreeItem
**_retval
);
3815 nsresult FindChildWithName
(const PRUnichar
*aName
, bool aRecurse
, bool aSameType
, nsIDocShellTreeItem
*aRequestor
,
3816 nsIDocShellTreeItem
*aOriginalRequestor
, nsIDocShellTreeItem
**_retval
);
3817 nsIDocument
/* thiscall */ *GetDocument
();
3818 void /* thiscall nsPIDOMWindowOuter */ *GetWindow
();
3823 uuid(2da17016
-7851-4a45
-a7a8
-00b360e01595
),
3826 interface nsIContentViewer
: nsISupports
3828 nsresult Init
(nsIWidget
*aParentWidget
, const void /*nsIntRect*/ *aBounds
);
3829 nsresult GetContainer
(nsIDocShell
**aContainer
);
3830 nsresult SetContainer
(nsIDocShell
*aContainer
);
3831 void /* thiscall */ LoadStart
(nsIDocument
*aDoc
);
3832 nsresult LoadComplete
(nsresult aStatus
);
3833 nsresult PermitUnload
(bool
*_retval
);
3834 nsresult GetInPermitUnload
(bool
*aInPermitUnload
);
3835 nsresult
/* thiscall */ PermitUnloadInternal
(bool
*aShouldPrompt
, bool
*_retval
);
3836 nsresult GetBeforeUnloadFiring
(bool
*aBeforeUnloadFiring
);
3837 nsresult PageHide
(bool isUnload
);
3838 nsresult Close
(nsISHEntry
*historyEntry
);
3841 nsresult GetDOMDocument
(nsIDOMDocument
**aDOMDocument
);
3842 nsresult SetDOMDocument
(nsIDOMDocument
*aDOMDocument
);
3843 void /* thiscall nsresult_(nsIDocument *) */ GetDocument
();
3844 nsresult GetBounds
(void /*nsIntRect*/ *aBounds
);
3845 nsresult SetBounds
(const void /*nsIntRect*/ *aBounds
);
3846 nsresult GetPreviousViewer
(nsIContentViewer
**aPreviousViewer
);
3847 nsresult SetPreviousViewer
(nsIContentViewer
*aPreviousViewer
);
3848 nsresult Move
(int32_t aX
, int32_t aY
);
3851 nsresult GetSticky
(bool
*aSticky
);
3852 nsresult SetSticky
(bool aSticky
);
3853 nsresult RequestWindowClose
(bool
*_retval
);
3854 nsresult Open
(nsISupports
*aState
, nsISHEntry
*aSHEntry
);
3855 nsresult ClearHistoryEntry
();
3856 nsresult SetPageMode
(bool aPageMode
, nsIPrintSettings
*aPrintSettings
);
3857 nsresult GetHistoryEntry
(nsISHEntry
**aHistoryEntry
);
3858 nsresult GetIsTabModalPromptAllowed
(bool
*aIsTabModalPromptAllowed
);
3859 nsresult GetIsHidden
(bool
*aIsHidden
);
3860 nsresult SetIsHidden
(bool aIsHidden
);
3861 nsresult GetPresShell
(nsIPresShell
**aPresShell
);
3862 nsresult GetPresContext
(void /*nsPresContext*/ **aPresContext
);
3863 nsresult SetDocumentInternal
(nsIDocument
*aDocument
, bool aForceReuseInnerWindow
);
3864 void /* thiscall nsView */ *FindContainerView
(void);
3865 void /* thiscall */ SetNavigationTiming
(void /*nsDOMNavigationTiming*/ *aTiming
);
3866 nsresult ScrollToNode
(nsIDOMNode
*node
);
3867 nsresult GetTextZoom
(float *aTextZoom
);
3868 nsresult SetTextZoom
(float aTextZoom
);
3869 nsresult GetFullZoom
(float *aFullZoom
);
3870 nsresult SetFullZoom
(float aFullZoom
);
3871 nsresult GetAuthorStyleDisabled
(bool
*aAuthorStyleDisabled
);
3872 nsresult SetAuthorStyleDisabled
(bool aAuthorStyleDisabled
);
3873 nsresult GetForceCharacterSet
(nsACString
*aForceCharacterSet
);
3874 nsresult SetForceCharacterSet
(const nsACString
*aForceCharacterSet
);
3875 nsresult GetHintCharacterSet
(nsACString
*aHintCharacterSet
);
3876 nsresult SetHintCharacterSet
(const nsACString
*aHintCharacterSet
);
3877 nsresult GetHintCharacterSetSource
(int32_t
*aHintCharacterSetSource
);
3878 nsresult SetHintCharacterSetSource
(int32_t aHintCharacterSetSource
);
3879 nsresult GetContentSize
(int32_t
*width
, int32_t
*height
);
3880 nsresult GetMinFontSize
(int32_t
*aMinFontSize
);
3881 nsresult SetMinFontSize
(int32_t aMinFontSize
);
3882 nsresult AppendSubtree
(void /*nsTArray<nsCOMPtr<nsIContentViewer> >*/ *array
);
3883 nsresult PausePainting
();
3884 nsresult ResumePainting
();
3885 nsresult EmulateMedium
(const nsAString
*aMediaType
);
3886 nsresult StopEmulatingMedium
();
3891 uuid(e7570e5a
-f1d6
-452d
-b4f8
-b35fdc63aa03
),
3894 interface nsIDocShellLoadInfo
: nsISupports
3896 typedef uint32_t nsDocShellInfoReferrerPolicy
;
3900 loadNormalReplace
= 1,
3902 loadReloadNormal
= 3,
3903 loadReloadBypassCache
= 4,
3904 loadReloadBypassProxy
= 5,
3905 loadReloadBypassProxyAndCache
= 6,
3908 loadReloadCharsetChange
= 9,
3909 loadBypassHistory
= 10,
3910 loadStopContent
= 11,
3911 loadStopContentAndReplace
= 12,
3912 loadNormalExternal
= 13,
3913 loadNormalBypassCache
= 14,
3914 loadNormalBypassProxy
= 15,
3915 loadNormalBypassProxyAndCache
= 16,
3917 loadReplaceBypassCache
= 18,
3918 loadReloadMixedContent
= 19,
3919 loadNormalAllowMixedContent
= 20
3920 } nsDocShellInfoLoadType
;
3922 nsresult GetReferrer
(nsIURI
**aReferrer
);
3923 nsresult SetReferrer
(nsIURI
*aReferrer
);
3924 nsresult GetOriginalURI
(nsIURI
**aOriginalURI
);
3925 nsresult SetOriginalURI
(nsIURI
*aOriginalURI
);
3926 nsresult GetLoadReplace
(bool
*aLoadReplace
);
3927 nsresult SetLoadReplace
(bool aLoadReplace
);
3928 nsresult GetOwner
(nsISupports
**aOwner
);
3929 nsresult SetOwner
(nsISupports
*aOwner
);
3930 nsresult GetInheritOwner
(bool
*aInheritOwner
);
3931 nsresult SetInheritOwner
(bool aInheritOwner
);
3932 nsresult GetOwnerIsExplicit
(bool
*aOwnerIsExplicit
);
3933 nsresult SetOwnerIsExplicit
(bool aOwnerIsExplicit
);
3934 nsresult GetLoadType
(nsDocShellInfoLoadType
*aLoadType
);
3935 nsresult SetLoadType
(nsDocShellInfoLoadType aLoadType
);
3936 nsresult GetSHEntry
(nsISHEntry
**aSHEntry
);
3937 nsresult SetSHEntry
(nsISHEntry
*aSHEntry
);
3938 nsresult GetTarget
(char16_t
**aTarget
);
3939 nsresult SetTarget
(const char16_t
* aTarget
);
3940 nsresult GetPostDataStream
(nsIInputStream
**aPostDataStream
);
3941 nsresult SetPostDataStream
(nsIInputStream
*aPostDataStream
);
3942 nsresult GetHeadersStream
(nsIInputStream
* *aHeadersStream
);
3943 nsresult SetHeadersStream
(nsIInputStream
*aHeadersStream
);
3944 nsresult GetSendReferrer
(bool
*aSendReferrer
);
3945 nsresult SetSendReferrer
(bool aSendReferrer
);
3946 nsresult GetReferrerPolicy
(nsDocShellInfoReferrerPolicy
*aReferrerPolicy
);
3947 nsresult SetReferrerPolicy
(nsDocShellInfoReferrerPolicy aReferrerPolicy
);
3948 nsresult GetIsSrcdocLoad
(bool
*aIsSrcdocLoad
);
3949 nsresult GetSrcdocData
(nsAString
*aSrcdocData
);
3950 nsresult SetSrcdocData
(const nsAString
*aSrcdocData
);
3951 nsresult GetSourceDocShell
(nsIDocShell
* *aSourceDocShell
);
3952 nsresult SetSourceDocShell
(nsIDocShell
*aSourceDocShell
);
3953 nsresult GetBaseURI
(nsIURI
**aBaseURI
);
3954 nsresult SetBaseURI
(nsIURI
*aBaseURI
);
3959 uuid(049234fe
-da10
-478b
-bc5d
-bc6f9a1ba63d
),
3962 interface nsIDocShell
: nsIDocShellTreeItem
3964 const UINT LOAD_CMD_NORMAL
= 1;
3965 const UINT LOAD_CMD_RELOAD
= 2;
3966 const UINT LOAD_CMD_HISTORY
= 4;
3967 const UINT LOAD_CMD_PUSHSTATE
= 8;
3969 nsresult LoadURI
(nsIURI
*uri
, nsIDocShellLoadInfo
*loadInfo
, uint32_t aLoadFlags
, bool firstParty
);
3970 nsresult LoadStream
(nsIInputStream
*aStream
, nsIURI
*aURI
, const nsACString
*aContentType
,
3971 const nsACString
*aContentCharset
, nsIDocShellLoadInfo
*aLoadInfo
);
3972 nsresult InternalLoad
(nsIURI
*aURI
, nsIURI
*aOriginalURI
, bool aLoadReplace
, nsIURI
*aReferrer
,
3973 uint32_t aReferrerPolicy
, nsISupports
*aOwner
, uint32_t aFlags
, const PRUnichar
*aWindowTarget
,
3974 const char *aTypeHint
, nsACString
*aFileName
, nsIInputStream
*aPostDataStream
,
3975 nsIInputStream
*aHeadersStream
, uint32_t aLoadFlags
, nsISHEntry
*aSHEntry
, bool firstParty
,
3976 const nsAString
*aSrcdoc
, nsIDocShell
*aSourceDocShell
, nsIURI
*aBaseURI
, nsIDocShell
**aDocShell
,
3977 nsIRequest
**aRequest
);
3978 nsresult AddState
(jsval
*aData
, const nsAString
*aTitle
, const nsAString
*aURL
, bool aReplace
, JSContext
*cx
);
3979 nsresult CreateLoadInfo
(nsIDocShellLoadInfo
**loadInfo
);
3980 nsresult PrepareForNewContentModel
();
3981 nsresult SetCurrentURI
(nsIURI
*aURI
);
3982 nsresult FirePageHideNotification
(bool isUnload
);
3983 nsresult GetPresContext
(void /*nsPresContext*/ **aPresContext
);
3984 nsIPresShell
*GetPresShell
();
3985 nsresult GetEldestPresShell
(nsIPresShell
**aEldestPresShell
);
3986 nsresult GetContentViewer
(nsIContentViewer
**aContentViewer
);
3987 nsresult GetChromeEventHandler
(nsIDOMEventTarget
**aChromeEventHandler
);
3988 nsresult SetChromeEventHandler
(nsIDOMEventTarget
*aChromeEventHandler
);
3989 nsresult GetCustomUserAgent
(nsAString
*aCustomUserAgent
);
3990 nsresult SetCustomUserAgent
(const nsAString
*aCustomUserAgent
);
3991 nsresult GetAllowPlugins
(bool
*aAllowPlugins
);
3992 nsresult SetAllowPlugins
(bool aAllowPlugins
);
3993 nsresult GetAllowJavascript
(bool
*aAllowJavascript
);
3994 nsresult SetAllowJavascript
(bool aAllowJavascript
);
3995 nsresult GetDisableNoScript
(bool
*aDisableNoScript
);
3996 nsresult SetDisableNoScript
(bool aDisableNoScript
);
3997 nsresult GetAllowMetaRedirects
(bool
*aAllowMetaRedirects
);
3998 nsresult SetAllowMetaRedirects
(bool aAllowMetaRedirects
);
3999 nsresult GetAllowSubframes
(bool
*aAllowSubframes
);
4000 nsresult SetAllowSubframes
(bool aAllowSubframes
);
4001 nsresult GetAllowImages
(bool
*aAllowImages
);
4002 nsresult SetAllowImages
(bool aAllowImages
);
4003 nsresult GetAllowMedia
(bool
*aAllowMedia
);
4004 nsresult SetAllowMedia
(bool aAllowMedia
);
4005 nsresult GetAllowDNSPrefetch
(bool
*aAllowDNSPrefetch
);
4006 nsresult SetAllowDNSPrefetch
(bool aAllowDNSPrefetch
);
4007 nsresult GetAllowWindowControl
(bool
*aAllowWindowControl
);
4008 nsresult SetAllowWindowControl
(bool aAllowWindowControl
);
4009 nsresult GetAllowContentRetargeting
(bool
*aAllowContentRetargeting
);
4010 nsresult SetAllowContentRetargeting
(bool aAllowContentRetargeting
);
4011 nsresult GetAllowContentRetargetingOnChildren
(bool
*aAllowContentRetargetingOnChildren
);
4012 nsresult SetAllowContentRetargetingOnChildren
(bool aAllowContentRetargetingOnChildren
);
4013 nsresult GetDocShellEnumerator
(int32_t aItemType
, int32_t aDirection
, nsISimpleEnumerator
**_retval
);
4014 nsresult GetAppType
(uint32_t
*aAppType
);
4015 nsresult SetAppType
(uint32_t aAppType
);
4016 nsresult GetAllowAuth
(bool
*aAllowAuth
);
4017 nsresult SetAllowAuth
(bool aAllowAuth
);
4018 nsresult GetZoom
(float *aZoom
);
4019 nsresult SetZoom
(float aZoom
);
4020 nsresult GetMarginWidth
(int32_t
*aMarginWidth
);
4021 nsresult SetMarginWidth
(int32_t aMarginWidth
);
4022 nsresult GetMarginHeight
(int32_t
*aMarginHeight
);
4023 nsresult SetMarginHeight
(int32_t aMarginHeight
);
4024 nsresult TabToTreeOwner
(bool forward
, bool forDocumentNavigation
, bool
*_retval
);
4025 nsresult GetBusyFlags
(uint32_t
*aBusyFlags
);
4026 nsresult GetLoadType
(uint32_t
*aLoadType
);
4027 nsresult SetLoadType
(uint32_t aLoadType
);
4028 nsresult GetDefaultLoadFlags
(nsLoadFlags
*aDefaultLoadFlags
);
4029 nsresult SetDefaultLoadFlags
(nsLoadFlags aDefaultLoadFlags
);
4030 nsresult IsBeingDestroyed
(bool
*_retval
);
4031 nsresult GetIsExecutingOnLoadHandler
(bool
*aIsExecutingOnLoadHandler
);
4032 nsresult GetLayoutHistoryState
(nsILayoutHistoryState
**aLayoutHistoryState
);
4033 nsresult SetLayoutHistoryState
(nsILayoutHistoryState
*aLayoutHistoryState
);
4034 nsresult GetShouldSaveLayoutState
(bool
*aShouldSaveLayoutState
);
4035 nsresult GetSecurityUI
(nsISecureBrowserUI
**aSecurityUI
);
4036 nsresult SetSecurityUI
(nsISecureBrowserUI
*aSecurityUI
);
4037 nsresult SuspendRefreshURIs
();
4038 nsresult ResumeRefreshURIs
();
4039 nsresult BeginRestore
(nsIContentViewer
*viewer
, bool top
);
4040 nsresult FinishRestore
();
4041 nsresult GetRestoringDocument
(bool
*aRestoringDocument
);
4042 nsresult GetUseErrorPages
(bool
*aUseErrorPages
);
4043 nsresult SetUseErrorPages
(bool aUseErrorPages
);
4044 nsresult DisplayLoadError
(nsresult aError
, nsIURI
*aURI
, const char16_t
*aURL
, nsIChannel
*aFailedChannel
, bool
*_retval
);
4045 nsresult GetFailedChannel
(nsIChannel
**aFailedChannel
);
4046 nsresult GetPreviousTransIndex
(int32_t
*aPreviousTransIndex
);
4047 nsresult GetLoadedTransIndex
(int32_t
*aLoadedTransIndex
);
4048 nsresult HistoryPurged
(int32_t numEntries
);
4049 nsresult GetSessionStorageForPrincipal
(nsIPrincipal
*principal
, const nsAString
*documentURI
,
4050 bool create
, nsIDOMStorage
**_retval
);
4051 nsresult AddSessionStorage
(nsIPrincipal
*principal
, nsIDOMStorage
*storage
);
4052 nsresult GetCurrentDocumentChannel
(nsIChannel
**aCurrentDocumentChannel
);
4053 nsresult SetChildOffset
(uint32_t offset
);
4054 nsresult GetIsInUnload
(bool
*aIsInUnload
);
4055 nsresult GetChannelIsUnsafe
(bool
*aChannelIsUnsafe
);
4056 nsresult GetHasMixedActiveContentLoaded
(bool
*aHasMixedActiveContentLoaded
);
4057 nsresult GetHasMixedActiveContentBlocked
(bool
*aHasMixedActiveContentBlocked
);
4058 nsresult GetHasMixedDisplayContentLoaded
(bool
*aHasMixedDisplayContentLoaded
);
4059 nsresult GetHasMixedDisplayContentBlocked
(bool
*aHasMixedDisplayContentBlocked
);
4060 nsresult GetHasTrackingContentBlocked
(bool
*aHasTrackingContentBlocked
);
4061 nsresult GetHasTrackingContentLoaded
(bool
*aHasTrackingContentLoaded
);
4062 void DetachEditorFromWindow
();
4063 nsresult GetIsOffScreenBrowser
(bool
*aIsOffScreenBrowser
);
4064 nsresult SetIsOffScreenBrowser
(bool aIsOffScreenBrowser
);
4065 nsresult GetPrintPreview
(nsIWebBrowserPrint
**aPrintPreview
);
4066 nsresult GetCanExecuteScripts
(bool
*aCanExecuteScripts
);
4067 nsresult GetIsActive
(bool
*aIsActive
);
4068 nsresult SetIsActive
(bool aIsActive
);
4069 nsresult SetIsActiveAndForeground
(bool aIsActive
);
4070 nsresult SetIsPrerendered
(bool prerendered
);
4071 nsresult GetIsPrerendered
(bool
*aIsPrerendered
);
4072 nsresult GetHistoryID
(uint64_t
*aHistoryID
);
4073 nsresult GetIsAppTab
(bool
*aIsAppTab
);
4074 nsresult SetIsAppTab
(bool aIsAppTab
);
4075 nsresult CreateAboutBlankContentViewer
(nsIPrincipal
*aPrincipal
);
4076 nsresult GetCharset
(nsACString
*aCharset
);
4077 nsresult SetCharset
(nsACString
*aCharset
);
4078 nsresult GatherCharsetMenuTelemetry
();
4079 nsresult GetForcedCharset
(nsIAtom
**aForcedCharset
);
4080 nsresult SetForcedCharset
(nsIAtom
*aForcedCharset
);
4081 void /* thiscall */ SetParentCharset
(const nsACString
*parentCharset
, int32_t parentCharsetSource
, nsIPrincipal
*parentCharsetPrincipal
);
4082 void /* thiscall */ GetParentCharset
(nsACString
*parentCharset
, int32_t
*parentCharsetSource
, nsIPrincipal
**parentCharsetPrincipal
);
4083 nsresult GetRecordProfileTimelineMarkers
(bool
*aRecordProfileTimelineMarkers
);
4084 nsresult SetRecordProfileTimelineMarkers
(bool aRecordProfileTimelineMarkers
);
4085 nsresult Now
(int /* DOMHighResTimeStamp */ *_retval
);
4086 nsresult PopProfileTimelineMarkers
(JSContext
*cx
, void /*JS::MutableHandleValue*/ *_retval
);
4087 nsresult AddWeakPrivacyTransitionObserver
(nsIPrivacyTransitionObserver
*obs
);
4088 nsresult AddWeakReflowObserver
(nsISupports
/*nsIReflowObserver*/ *obs
);
4089 nsresult RemoveWeakReflowObserver
(nsISupports
/*nsIReflowObserver*/ *obs
);
4090 nsresult NotifyReflowObservers
(bool interruptible
, int /*DOMHighResTimeStamp*/ start
, int /*DOMHighResTimeStamp*/ end
);
4091 nsresult AddWeakScrollObserver
(void /*nsIScrollObserver*/ *obs
);
4092 nsresult RemoveWeakScrollObserver
(void /*nsIScrollObserver*/ *obs
);
4093 nsresult NotifyScrollObservers
();
4094 nsresult GetIsApp
(bool
*aIsApp
);
4095 nsresult GetFrameType
(uint32_t
*aFrameType
);
4096 nsresult SetFrameType
(uint32_t aFrameType
);
4097 nsresult GetIsMozBrowserOrApp
(bool
*aIsMozBrowserOrApp
);
4098 nsresult GetIsIsolatedMozBrowserElement
(bool
*aIsIsolatedMozBrowserElement
);
4099 nsresult GetIsInIsolatedMozBrowserElement
(bool
*aIsInIsolatedMozBrowserElement
);
4100 nsresult SetIsInIsolatedMozBrowserElement
(bool aIsInIsolatedMozBrowserElement
);
4101 nsresult GetIsInMozBrowserOrApp
(bool
*aIsInMozBrowserOrApp
);
4102 nsresult GetAppId
(uint32_t
*aAppId
);
4103 nsresult GetAppManifestURL
(nsAString
*aAppManifestURL
);
4104 nsresult GetSameTypeParentIgnoreBrowserAndAppBoundaries
(nsIDocShell
**_retval
);
4105 nsresult GetSameTypeRootTreeItemIgnoreBrowserAndAppBoundaries
(nsIDocShell
**_retval
);
4106 nsresult GetAsyncPanZoomEnabled
(bool
*aAsyncPanZoomEnabled
);
4107 nsresult GetSandboxFlags
(uint32_t
*aSandboxFlags
);
4108 nsresult SetSandboxFlags
(uint32_t aSandboxFlags
);
4109 nsresult GetOnePermittedSandboxedNavigator
(nsIDocShell
**aOnePermittedSandboxedNavigator
);
4110 nsresult SetOnePermittedSandboxedNavigator
(nsIDocShell
*aOnePermittedSandboxedNavigator
);
4111 bool
/* thiscall */ IsSandboxedFrom
(nsIDocShell
*aTargetDocShell
);
4112 nsresult GetMixedContentChannel
(nsIChannel
**aMixedContentChannel
);
4113 nsresult SetMixedContentChannel
(nsIChannel
*aMixedContentChannel
);
4114 nsresult GetAllowMixedContentAndConnectionData
(bool
*rootHasSecureConnection
, bool
*allowMixedContent
, bool
*isRootDocShell
);
4115 bool PluginsAllowedInCurrentDoc
();
4116 nsresult GetFullscreenAllowed
(bool
*aFullscreenAllowed
);
4117 nsresult SetFullscreenAllowed
(bool allowed
);
4118 uint32_t OrientationLock
();
4119 void SetOrientationLock
(uint32_t orientationLock
);
4120 nsresult GetAffectPrivateSessionLifetime
(bool
*aAffectPrivateSessionLifetime
);
4121 nsresult SetAffectPrivateSessionLifetime
(bool aAffectPrivateSessionLifetime
);
4122 nsresult GetMayEnableCharacterEncodingMenu
(bool
*aMayEnableCharacterEncodingMenu
);
4123 nsresult GetEditor
(nsIEditor
**aEditor
);
4124 nsresult SetEditor
(nsIEditor
*aEditor
);
4125 nsresult GetEditable
(bool
*aEditable
);
4126 nsresult GetHasEditingSession
(bool
*aHasEditingSession
);
4127 nsresult MakeEditable
(bool inWaitForUriLoad
);
4128 nsresult GetChildSHEntry
(int32_t aChildOffset
, nsISHEntry
**_retval
);
4129 nsresult AddChildSHEntry
(nsISHEntry
*aCloneReference
, nsISHEntry
*aHistoryEntry
, int32_t aChildOffset
, uint32_t aLoadType
, bool aCloneChildren
);
4130 nsresult GetUseGlobalHistory
(bool
*aUseGlobalHistory
);
4131 nsresult SetUseGlobalHistory
(bool aUseGlobalHistory
);
4132 nsresult RemoveFromSessionHistory
();
4133 nsresult GetCreatedDynamically
(bool
*aCreatedDynamically
);
4134 nsresult SetCreatedDynamically
(bool aCreatedDynamically
);
4135 nsresult GetCurrentSHEntry
(nsISHEntry
**aEntry
, bool
*_retval
);
4136 nsresult IsCommandEnabled
(const char *command
, bool
*_retval
);
4137 nsresult DoCommand
(const char *command
);
4139 void SetInvisible
(bool aIsInvisibleDochsell
);
4140 void /* nsIScriptGlobalObject thiscall */ *GetScriptGlobalObject
();
4141 nsresult GetDeviceSizeIsPageSize
(bool
*aDeviceSizeIsPageSize
);
4142 nsresult SetDeviceSizeIsPageSize
(bool aDeviceSizeIsPageSize
);
4143 void /* thiscall */ SetOpener
(void /*nsITabParent*/ *aOpener
);
4144 void /* thiscall nsITabParent */ *GetOpener
();
4145 void /* thiscall */ NotifyJSRunToCompletionStart
(const char *aReason
, const char16_t
*functionName
,
4146 const char16_t
*fileName
, uint32_t lineNumber
);
4147 void /* thiscall */ NotifyJSRunToCompletionStop
();
4148 nsresult GetHasLoadedNonBlankURI
(bool
*aHasLoadedNonBlankURI
);
4149 nsresult GetPaymentRequestId
(nsAString
*aPaymentRequestId
);
4150 nsresult SetPaymentRequestId
(const nsAString
*aPaymentRequestId
);
4151 nsresult GetWindowDraggingAllowed
(bool
*aWindowDraggingAllowed
);
4152 nsresult SetWindowDraggingAllowed
(bool aWindowDraggingAllowed
);
4153 nsresult GetCurrentScrollRestorationIsManual
(bool
*aCurrentScrollRestorationIsManual
);
4154 nsresult SetCurrentScrollRestorationIsManual
(bool aCurrentScrollRestorationIsManual
);
4155 nsresult GetOriginAttributes
(JSContext
* cx
, void* /* JS::MutableHandleValue */ _retval
);
4156 nsresult SetOriginAttributes
(int /* JS::HandleValue */ aAttrs
, JSContext
*cx
);
4161 uuid(6d674c17
-0fbc
-4633-8f46
-734e87ebf0c7
),
4164 interface nsIMutationObserver
: nsISupports
4166 typedef struct {} nsAttrValue
;
4168 void CharacterDataWillChange
(nsIDocument
*aDocument
, nsIContent
*aContent
,
4169 void /*CharacterDataChangeInfo*/ *aInfo
);
4170 void CharacterDataChanged
(nsIDocument
*aDocument
, nsIContent
*aContent
,
4171 void /*CharacterDataChangeInfo*/ *aInfo
);
4172 void AttributeWillChange
(nsIDocument
*aDocument
, /*mozilla::dom::Element*/ void *aElement
, int32_t aNameSpaceID
,
4173 nsIAtom
*aAttribute
, int32_t aModType
, const nsAttrValue
*aNewValue
);
4174 void AttributeChanged
(nsIDocument
*aDocument
, /*mozilla::dom::Element*/ void *aElement
, int32_t aNameSpaceID
,
4175 nsIAtom
*aAttribute
, int32_t aModType
, const nsAttrValue
*aOldValue
);
4176 void NativeAnonymousChildListChange
(nsIDocument
*aDocument
, nsIContent
*aContent
, bool aIsRemove
);
4177 void AttributeSetToCurrentValue
(nsIDocument
*aDocument
, /*mozilla::dom::Element*/ void *aElement
,
4178 int32_t aNameSpaceID
, nsIAtom
*aAttribute
);
4179 void ContentAppended
(nsIDocument
*aDocument
, nsIContent
*aContainer
, nsIContent
*aFirstNewContent
,
4180 int32_t aNewIndexInContainer
);
4181 void ContentInserted
(nsIDocument
*aDocument
, nsIContent
*aContainer
, nsIContent
*aChild
,
4182 int32_t aIndexInContainer
);
4183 void ContentRemoved
(nsIDocument
*aDocument
, nsIContent
*aContainer
, nsIContent
*aChild
,
4184 int32_t aIndexInContainer
, nsIContent
*aPreviousSibling
);
4185 void NodeWillBeDestroyed
(const nsINode
*aNode
);
4186 void ParentChainChanged
(nsIContent
*aContent
);
4191 uuid(2c4ad90a
-740e-4212-ba3f
-feacda4b929e
),
4194 interface nsIParser
: nsISupports
4196 typedef int nsDTDMode
;
4197 typedef int eParserCommands
;
4199 /* From nsParserBase: */
4200 bool IsParserEnabled
();
4201 nsresult GetChannel
(nsIChannel
**aChannel
);
4203 void SetContentSink
(nsIContentSink
*aSink
);
4204 nsIContentSink
*GetContentSink
();
4205 void GetCommand
(nsACString
*aCommand
);
4206 void SetCommand2
(const char *aCommand
);
4207 void SetCommand
(eParserCommands aParserCommand
);
4208 void SetDocumentCharset
(const nsACString
*aCharset
, int32_t aSource
);
4209 void GetDocumentCharset
(nsACString
*oCharset
, int32_t
*oSource
);
4210 /* nsresult GetChannel(nsIChannel **aChannel); in nsParserBase */
4211 nsresult GetDTD
(nsIDTD
**aDTD
);
4212 nsIStreamListener
*GetStreamListener
();
4213 nsresult ContinueInterruptedParsing
();
4215 void UnblockParser
();
4216 void ContinueInterruptedParsingAsync
();
4217 /* bool IsParserEnabled(); in nsParserBase */
4219 nsresult Parse
(nsIURI
*aURL
, nsIRequestObserver
*aListener
, void *aKey
, nsDTDMode aMode
);
4220 nsresult Terminate
();
4221 nsresult ParseFragment
(const nsAString
*aSourceBuffer
, void /*nsTArray<nsString>*/ *aTagStack
);
4222 nsresult BuildModel
();
4223 nsresult CancelParsingEvents
();
4225 bool IsInsertionPointDefined
();
4226 void BeginEvaluatingParserInsertedScript
();
4227 void EndEvaluatingParserInsertedScript
();
4228 void MarkAsNotScriptCreated
(const char *aCommand
);
4229 bool IsScriptCreated
();
4234 uuid(71041fa3
-6dd7
-4cde
-bb76
-aecc69e17578
),
4237 interface nsIDocumentObserver
: nsIMutationObserver
4239 typedef uint32_t nsUpdateType
;
4243 } mozilla_StyleSheetHandle
;
4249 void BeginUpdate
(nsIDocument
*aDocument
, nsUpdateType aUpdateType
);
4250 void EndUpdate
(nsIDocument
*aDocument
, nsUpdateType aUpdateType
);
4251 void BeginLoad
(nsIDocument
*aDocument
);
4252 void EndLoad
(nsIDocument
*aDocument
);
4253 void ContentStatesChanged
(nsIDocument
*aDocument
, nsIContent
*aContent
, EventStates aStateMask
);
4254 void DocumentStatesChanged
(nsIDocument
*aDocument
, EventStates aStateMask
);
4255 void StyleSheetAdded
(mozilla_StyleSheetHandle aStyleSheet
, bool aDocumentSheet
);
4256 void StyleSheetRemoved
(mozilla_StyleSheetHandle aStyleSheet
, bool aDocumentSheet
);
4257 void StyleSheetApplicableStateChanged
(mozilla_StyleSheetHandle aStyleSheet
);
4258 void StyleRuleChanged
(mozilla_StyleSheetHandle aStyleSheet
);
4259 void StyleRuleAdded
(mozilla_StyleSheetHandle aStyleSheet
);
4260 void StyleRuleRemoved
(mozilla_StyleSheetHandle aStyleSheet
);
4261 void BindToDocument
(nsIDocument
*aDocument
, nsIContent
*aContent
);
4262 void AttemptToExecuteScript
(nsIContent
*aContent
, nsIParser
*aParser
, bool
*aBlock
);
4267 uuid(3682dd99
-8560-44f4
-9b8f
-ccce9d7b96fb
),
4270 interface nsIContentUtils
: nsISupports
4272 bool IsSafeToRunScript
();
4273 nsresult AddDocumentObserver
(nsIDocument
*aDocument
, nsIDocumentObserver
*aObserver
);
4274 nsresult RemoveDocumentObserver
(nsIDocument
*aDocument
, nsIDocumentObserver
*aObserver
);
4275 nsresult AddMutationObserver
(nsINode
*aNode
, nsIMutationObserver
*aObserver
);
4276 nsresult RemoveMutationObserver
(nsINode
*aNode
, nsIMutationObserver
*aObserver
);
4277 nsresult AddScriptRunner
(nsIRunnable
*aRunnable
);
4278 JSContext
*GetContextFromDocument
(nsIDocument
*aDocument
);
4283 uuid(15c05894
-408e-4798-b527
-a8c32d9c5f8c
),
4286 interface nsIAudioChannelAgentCallback
: nsISupports
4288 nsresult WindowVolumeChanged
(float aVolume
, bool aMuted
);
4289 nsresult WindowAudioCaptureChanged
(bool aCapture
);
4294 uuid(8f672000
-bab9
-4c60
-aaaf
-2673c4e2a4c6
),
4297 interface nsIPluginInstance
: nsIAudioChannelAgentCallback
4299 nsresult GetDOMElement
(nsIDOMElement
**aDOMElement
);
4304 uuid(11afa8be
-d997
-4e07
-a6a3
-6f872ec3ee7f
),
4307 interface nsIGlobalObject
: nsISupports
4313 uuid(3eedba38
-8d22
-41e1
-817a
-0e43e165b664
),
4316 interface nsIScriptObjectPrincipal
: nsISupports
4318 nsIPrincipal
* /* thiscall */ GetPrincipal
();
4323 uuid(6f54214c
-7175-498d
-9d2d
-0429e38c2869
),
4326 interface nsIXMLHttpRequest
: nsISupports
4328 nsresult GetChannel
(nsIChannel
**aChannel
);
4329 nsresult GetResponseXML
(nsIDOMDocument
**aResponseXML
);
4330 nsresult GetResponseText
(nsAString
*aResponseText
);
4331 nsresult GetResponseType
(nsAString
*aResponseType
);
4332 nsresult SetResponseType
(const nsAString
*aResponseType
);
4333 nsresult GetResponse
(JSContext
*cx
, int /*JS::MutableHandleValue*/ aResponse
);
4334 nsresult GetStatus
(uint32_t
*aStatus
);
4335 nsresult GetStatusText
(nsACString
*aStatusText
);
4336 nsresult SlowAbort
();
4337 nsresult GetAllResponseHeaders
(nsACString
*_retval
);
4338 nsresult GetResponseHeader
(const nsACString
*header
, nsACString
*_retval
);
4339 nsresult Open
(const nsACString
*method
, const nsACString
*url
, bool async
, const nsAString
*user
, const nsAString
*password
, uint8_t _argc
);
4340 nsresult Send
(nsIVariant
*body
);
4341 nsresult SetRequestHeader
(const nsACString
*header
, const nsACString
*value
);
4342 nsresult GetTimeout
(uint32_t
*aTimeout
);
4343 nsresult SetTimeout
(uint32_t aTimeout
);
4344 nsresult GetReadyState
(uint16_t
*aReadyState
);
4345 nsresult SlowOverrideMimeType
(const nsAString
*mimetype
);
4346 nsresult GetMozBackgroundRequest
(bool
*aMozBackgroundRequest
);
4347 nsresult SetMozBackgroundRequest
(bool aMozBackgroundRequest
);
4348 nsresult GetWithCredentials
(bool
*aWithCredentials
);
4349 nsresult SetWithCredentials
(bool aWithCredentials
);
4350 nsresult Init
(nsIPrincipal
*principal
, nsIScriptContext
*scriptContext
, nsIGlobalObject
*globalObject
, nsIURI
*baseURI
, nsILoadGroup
*loadGroup
);
4351 nsresult GetUpload
(nsIXMLHttpRequestUpload
**aUpload
);
4352 nsresult GetOnreadystatechange
(JSContext
*cx
, int /*JS::MutableHandleValue*/ aOnreadystatechange
);
4353 nsresult SetOnreadystatechange
(JSContext
*cx
, int /*JS::HandleValue*/ aOnreadystatechange
);
4354 nsresult GetMozAnon
(bool
*aMozAnon
);
4355 nsresult GetMozSystem
(bool
*aMozSystem
);
4356 nsresult GetResponseBuffer
(void *buffer
, uint32_t buffer_size
, uint32_t
*_retval
);
4359 cpp_quote
("DEFINE_GUID(IID_nsCycleCollectionISupports, 0xc61eac14,0x5f7a,0x4481,0x96,0x5e,0x7e,0xaa,0x6e,0xff,0xa8,0x5f);")