push 15b96ea46b12fa9aa8d3d4072be1bf1f7af34661
[wine/hacks.git] / dlls / mshtml / nsiface.idl
blob21f8cd7244e5bc4524bd5b81b55ab9e9ac19d999
1 /*
2 * Copyright 2005-2007 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 /*
20 * NOTE:
21 * This file is not a typical idl file. Interfaces in this file are XPCOM
22 * interfaces (NOT MSCOM!), but we generate the header file with WIDL
23 * compatible with XPCOM, usable in C code.
26 cpp_quote("#define GECKO_VERSION \"0.1.0\"")
27 cpp_quote("#define GECKO_VERSION_STRING \"Wine Gecko \" GECKO_VERSION")
29 import "wtypes.idl";
31 typedef HRESULT nsresult;
32 typedef ULONG nsrefcnt;
34 typedef IID nsID;
35 typedef IID nsIID;
36 typedef nsIID nsCID;
37 typedef REFIID nsIIDRef;
38 typedef nsIIDRef nsCIDRef;
40 typedef void** nsQIResult;
41 typedef WCHAR PRUnichar;
42 typedef ULONG PRUint32;
43 typedef LONG PRInt32;
44 typedef WORD PRUint16;
45 typedef INT16 PRInt16;
46 typedef BYTE PRUint8;
47 typedef BOOL PRBool;
48 typedef LARGE_INTEGER PRInt64;
49 typedef ULARGE_INTEGER PRUint64;
50 typedef PRUint64 DOMTimeStamp;
51 typedef PRUint32 nsLoadFlags;
53 typedef struct {
54 void *v;
55 void *d1;
56 PRUint32 d2;
57 void *d3;
58 } nsCStringContainer;
60 typedef struct {
61 void *v;
62 void *d1;
63 PRUint32 d2;
64 void *d3;
65 } nsStringContainer;
67 typedef nsCStringContainer nsACString;
68 typedef nsStringContainer nsAString;
70 interface nsIWebBrowserChrome;
71 interface nsILoadGroup;
72 interface nsIDOMNode;
73 interface nsIDOMDocument;
74 interface nsIDOMEvent;
75 interface nsIEditor;
76 interface nsISelectionController;
77 interface nsITransactionManager;
78 interface nsITransaction;
79 interface nsIInlineSpellChecker;
80 interface nsIOutputStream;
81 interface nsIEditorObserver;
82 interface nsIEditActionListener;
83 interface nsIDocumentStateListener;
84 interface nsIDOMCSSStyleSheet;
85 interface nsIDOMDocumentView;
87 interface IMoniker;
90 object,
91 uuid(00000000-0000-0000-c000-000000000046),
92 local
94 interface nsISupports
96 nsresult QueryInterface(nsIIDRef riid, nsQIResult result);
97 nsrefcnt AddRef();
98 nsrefcnt Release();
101 /* Currently we don't need a full declaration of these interfaces */
102 typedef nsISupports nsISHistory;
103 typedef nsISupports nsIWidget;
104 typedef nsISupports nsIHttpHeaderVisitor;
105 typedef nsISupports nsIDOMBarProp;
106 typedef nsISupports nsIDOMWindowCollection;
107 typedef nsISupports nsIPrompt;
108 typedef nsISupports nsIAuthPrompt;
109 typedef nsISupports nsIDOMNamedNodeMap;
110 typedef nsISupports nsIDOMAttr;
111 typedef nsISupports nsIDOMDocumentType;
112 typedef nsISupports nsIDOMDOMImplementation;
113 typedef nsISupports nsIDOMCDATASection;
114 typedef nsISupports nsIDOMProcessingInstruction;
115 typedef nsISupports nsIDOMEntityReference;
116 typedef nsISupports nsIDOMHTMLFormElement;
117 typedef nsISupports nsIDOMHTMLOptionsCollection;
118 typedef nsISupports nsIWebProgressListener;
119 typedef nsISupports nsIDOMCSSValue;
120 typedef nsISupports nsIPrintSession;
121 typedef nsISupports nsIControllerCommandTable;
122 typedef nsISupports nsIPrincipal;
123 typedef nsISupports nsIAtom;
124 typedef nsISupports nsISupportsArray;
125 typedef nsISupports nsIContentFilter;
126 typedef nsISupports nsIDOMMediaList;
127 typedef nsISupports nsIDOMHTMLTableCaptionElement;
128 typedef nsISupports nsIDOMHTMLTableSectionElement;
131 object,
132 uuid(8bb35ed9-e332-462d-9155-4a002ab5c958),
133 local
134 /* FROZEN */
136 interface nsIServiceManager : nsISupports
138 nsresult GetService(nsCIDRef aClass, nsIIDRef aIID, void **result);
139 nsresult GetServiceByContractID(const char *aContractID, nsIIDRef aIID, void **result);
140 nsresult IsServiceInstantiated(nsCIDRef aClass, nsIIDRef aIID, BOOL *_retval);
141 nsresult IsServiceInstantiatedByContractID(const char *aContractID, nsIIDRef aIID, BOOL *_retval);
145 object,
146 uuid(00000001-0000-0000-c000-000000000046),
147 local
148 /* FROZEN */
150 interface nsIFactory : nsISupports
152 nsresult CreateInstance(nsISupports *aOuter, const nsIID *iid, void **result);
153 nsresult LockFactory(PRBool lock);
157 object,
158 uuid(db242e01-e4d9-11d2-9dde-000064657374),
159 local
160 /* FROZEN */
162 interface nsIObserver : nsISupports
164 nsresult Observe(nsISupports *aSubject, const char *aTopic, const PRUnichar *aData);
168 object,
169 uuid(a88e5a60-205a-4bb1-94e1-2628daf51eae),
170 local
171 /* FROZEN */
173 interface nsIComponentManager : nsISupports
175 nsresult GetClassObject(nsCIDRef aClass, nsIIDRef aIID, nsQIResult result);
176 nsresult GetClassObjectByContractID(const char *aContractID, nsIIDRef aIID, nsQIResult result);
177 nsresult CreateInstance(nsCIDRef aClass, nsISupports *aDelegate, nsIIDRef aIID,
178 nsQIResult result);
179 nsresult CreateInstanceByContractID(const char *aContractID, nsISupports *aDelegate,
180 nsIIDRef aIID, nsQIResult result);
184 object,
185 uuid(59e7e77a-38e4-11d4-8cf5-0060b0fc14a3),
186 local
187 /* FROZEN */
189 interface nsIMemory : nsISupports
191 void *Alloc(/*size_t*/ int size);
192 void *Realloc(void *_ptr, /*size_t*/ int newSize);
193 void Free(void *_ptr);
194 nsresult HeapMinimize(PRBool immediate);
195 nsresult IsLowMemory(PRBool *_retval);
199 object,
200 uuid(9188bc85-f92e-11d2-81ef-0060083a0bcf),
201 local
202 /* FROZEN */
204 interface nsIWeakReference : nsISupports
206 nsresult QueryReferent(const nsIID *riid, void **result);
210 object,
211 uuid(9188bc86-f92e-11d2-81ef-0060083a0bcf),
212 local
213 /* FROZEN */
215 interface nsISupportsWeakReference : nsISupports
217 nsresult GetWeakReference(nsIWeakReference **_retval);
221 object,
222 uuid(033a1470-8b2a-11d3-af88-00a024ffc08c),
223 local
224 /* FROZEN */
226 interface nsIInterfaceRequestor : nsISupports
228 nsresult GetInterface(const nsIID *riid, void **result);
232 object,
233 uuid(d1899240-f9d2-11d2-bdd6-000064657374),
234 local
235 /* FROZEN */
237 interface nsISimpleEnumerator : nsISupports
239 nsresult HasMoreElements(PRBool *_retval);
240 nsresult GetNext(nsISupports **_retval);
244 object,
245 uuid(114744d9-c369-456e-b55a-52fe52880d2d),
246 local
247 /* NOT_FROZEN */
249 interface nsIArray : nsISupports
251 nsresult GetLength(PRUint32 *aLength);
252 nsresult QueryElementAt(PRUint32 index, const nsIID *uuid, void **result);
253 nsresult IndexOf(PRUint32 startIndex, nsISupports *element, PRUint32 *_retval);
254 nsresult Enumerate(nsISimpleEnumerator **_retval);
258 object,
259 uuid(af059da0-c85b-40ec-af07-ae4bfdc192cc),
260 local
261 /* NOT_FROZEN */
263 interface nsIMutableArray : nsIArray
265 nsresult AppendElement(nsISupports *element, PRBool weak);
266 nsresult RemoveElementAt(PRUint32 index);
267 nsresult InsertElementAt(nsISupports *element, PRUint32 index, PRBool weak);
268 nsresult Clear();
272 object,
273 uuid(4d12e540-83d7-11d5-90ed-0010a4e73d9a),
274 local
275 /* NOT_FROZEN */
277 interface nsIVariant : nsISupports
279 enum nsDataType {
280 TYPE_INT8,
281 TYPE_INT16,
282 TYPE_INT32,
283 TYPE_INT64,
284 TYPE_UINT8,
285 TYPE_UINT16,
286 TYPE_UINT32,
287 TYPE_UINT64,
288 TYPE_FLOAT,
289 TYPE_DOUBLE,
290 TYPE_BOOL,
291 TYPE_CHAR,
292 TYPE_WCHAR,
293 TYPE_VOID,
294 TYPE_ID,
295 TYPE_DOMSTRING,
296 TYPE_CHAR_STR,
297 TYPE_WCHAR_STR,
298 TYPE_INTERFACE,
299 TYPE_INTERFACE_IS,
300 TYPE_ARRAY,
301 TYPE_STRING_SIZE_IS,
302 TYPE_WSTRING_SIZE_IS,
303 TYPE_UTF8STRING,
304 TYPE_CSTRING,
305 TYPE_ASTRING,
306 TYPE_AMPTY_ARRAY,
307 TYPE_EMPTY
310 nsresult GetDataType(PRUint16 *aDataType);
311 nsresult GetAsInt8(PRUint8 *_retval);
312 nsresult GetAsInt16(PRInt16 *_retval);
313 nsresult GetAsInt32(PRInt32 *_retval);
314 nsresult GetAsInt64(PRInt64 *_retval);
315 nsresult GetAsUint8(PRUint8 *_retval);
316 nsresult GetAsUint16(PRUint16 *_retval);
317 nsresult GetAsUint32(PRUint32 *_retval);
318 nsresult GetAsUint64(PRUint64 *_retval);
319 nsresult GetAsFloat(float *_retval);
320 nsresult GetAsDouble(double *_retval);
321 nsresult GetAsBool(PRBool *_retval);
322 nsresult GetAsChar(char *_retval);
323 nsresult GetAsWChar(PRUnichar *_retval);
324 nsresult GetAsID(nsID *retval);
325 nsresult GetAsAString(nsAString *_retval);
326 nsresult GetAsDOMString(nsAString *_retval);
327 nsresult GetAsACString(nsACString *_retval);
328 nsresult GetAsAUTF8String(nsACString *_retval);
329 nsresult GetAsString(char **_retval);
330 nsresult GetAsWString(PRUnichar **_retval);
331 nsresult GetAsISupports(nsISupports **_retval);
332 nsresult GetAsInterface(nsIID * *iid, void **iface);
333 nsresult GetAsArray(PRUint16 *type, nsIID *iid, PRUint32 *count, void **ptr);
334 nsresult GetAsStringWithSize(PRUint32 *size, char **str);
335 nsresult GetAsWStringWithSize(PRUint32 *size, PRUnichar **str);
339 object,
340 uuid(5586a590-8c82-11d5-90f3-0010a4e73d9a),
341 local
342 /* NOT_FROZEN */
344 interface nsIWritableVariant : nsIVariant
346 nsresult GetWritable(PRBool *aWritable);
347 nsresult SetWritable(PRBool aWritable);
348 nsresult SetAsInt8(PRUint8 aValue);
349 nsresult SetAsInt16(PRInt16 aValue);
350 nsresult SetAsInt32(PRInt32 aValue);
351 nsresult SetAsInt64(PRInt64 aValue);
352 nsresult SetAsUint8(PRUint8 aValue);
353 nsresult SetAsUint16(PRUint16 aValue);
354 nsresult SetAsUint32(PRUint32 aValue);
355 nsresult SetAsUint64(PRUint64 aValue);
356 nsresult SetAsFloat(float aValue);
357 nsresult SetAsDouble(double aValue);
358 nsresult SetAsBool(PRBool aValue);
359 nsresult SetAsChar(char aValue);
360 nsresult SetAsWChar(PRUnichar aValue);
361 nsresult SetAsID(const nsID *aValue);
362 nsresult SetAsAString(const nsAString *aValue);
363 nsresult SetAsDOMString(const nsAString *aValue);
364 nsresult SetAsACString(const nsACString *aValue);
365 nsresult SetAsAUTF8String(const nsACString *aValue);
366 nsresult SetAsString(const char *aValue);
367 nsresult SetAsWString(const PRUnichar *aValue);
368 nsresult SetAsISupports(nsISupports *aValue);
369 nsresult SetAsInterface(const nsIID *iid, void *iface);
370 nsresult SetAsArray(PRUint16 type, const nsIID *iid, PRUint32 count, void *ptr);
371 nsresult SetAsStringWithSize(PRUint32 size, const char *str);
372 nsresult SetAsWStringWithSize(PRUint32 size, const PRUnichar *str);
373 nsresult SetAsVoid();
374 nsresult SetAsEmpty();
375 nsresult SetAsEmptyArray();
376 nsresult SetFromVariant(nsIVariant *aValue);
380 object,
381 uuid(fa9c7f6c-61b3-11d4-9877-00c04fa0cf4a),
382 local
383 /* FROZEN */
385 interface nsIInputStream : nsISupports
387 nsresult Close();
388 nsresult Available(PRUint32 *_retval);
389 nsresult Read(char *aBuf, PRUint32 aCount, PRUint32 *_retval);
390 nsresult ReadSegments(nsresult (*aWriter)(nsIInputStream *aInStream,
391 void *aClosure, const char *aFromSegment, PRUint32 aToOffset,
392 PRUint32 aCount, PRUint32 *aWriteCount),
393 void *aClosure, PRUint32 aCount, PRUint32 *_retval);
394 nsresult IsNonBlocking(PRBool *_retval);
398 object,
399 uuid(450cd2d4-f0fd-424d-b365-b1251f80fd53),
400 local
401 /* NOT_FROZEN */
403 interface nsIStringInputStream : nsIInputStream
405 nsresult SetData(const char *data, PRInt32 dataLen);
406 nsresult AdoptData(char *data, PRInt32 dataLen);
407 nsresult ShareData(const char *data, PRInt32 dataLen);
411 object,
412 uuid(07a22cc0-0ce5-11d3-9331-00104ba0fd40),
413 local
414 /* FROZEN */
416 interface nsIURI : nsISupports
418 nsresult GetSpec(nsACString *aSpec);
419 nsresult SetSpec(const nsACString *aSpec);
420 nsresult GetPrePath(nsACString *aPrePath);
421 nsresult GetScheme(nsACString *aScheme);
422 nsresult SetScheme(const nsACString *aScheme);
423 nsresult GetUserPass(nsACString *aUserPass);
424 nsresult SetUserPass(const nsACString *aUserPass);
425 nsresult GetUsername(nsACString *aUsername);
426 nsresult SetUsername(const nsACString *aUsername);
427 nsresult GetPassword(nsACString *aPassword);
428 nsresult SetPassword(const nsACString *aPassword);
429 nsresult GetHostPort(nsACString *aHostPort);
430 nsresult SetHostPort(const nsACString *aHostPort);
431 nsresult GetHost(nsACString *aHost);
432 nsresult SetHost(const nsACString *aHost);
433 nsresult GetPort(PRInt32 *aPort);
434 nsresult SetPort(PRInt32 aPort);
435 nsresult GetPath(nsACString *aPath);
436 nsresult SetPath(const nsACString *aPath);
437 nsresult Equals(nsIURI *other, PRBool *_retval);
438 nsresult SchemeIs(const char *scheme, PRBool *_retval);
439 nsresult Clone(nsIURI **_retval);
440 nsresult Resolve(const nsACString *relativePath, nsACString *_retval);
441 nsresult GetAsciiSpec(nsACString *aAsciiSpec);
442 nsresult GetAsciiHost(nsACString *aAsciiHost);
443 nsresult GetOriginCharset(nsACString *aOriginCharset);
447 object,
448 uuid(ef6bfbd2-fd46-48d8-96b7-9f8f0fd387fe),
449 local
450 /* FROZEN */
452 interface nsIRequest : nsISupports
454 nsresult GetName(nsACString *aName);
455 nsresult IsPending(PRBool *_retval);
456 nsresult GetStatus(nsresult *aStatus);
457 nsresult Cancel(nsresult aStatus);
458 nsresult Suspend();
459 nsresult Resume();
460 nsresult GetLoadGroup(nsILoadGroup **aLoadGroup);
461 nsresult SetLoadGroup(nsILoadGroup *aLoadGroup);
462 nsresult GetLoadFlags(nsLoadFlags *aLoadFlags);
463 nsresult SetLoadFlags(nsLoadFlags aLoadFlags);
467 object,
468 uuid(fd91e2e0-1481-11d3-9333-00104ba0fd40),
469 local
470 /* FROZEN */
472 interface nsIRequestObserver : nsISupports
474 nsresult OnStartRequest(nsIRequest *aRequest, nsISupports *aContext);
475 nsresult OnStopRequest(nsIRequest *aRequest, nsISupports *aContext, nsresult aStatusCode);
479 object,
480 uuid(1a637020-1482-11d3-9333-00104ba0fd40),
481 local
482 /* FROZEN */
484 interface nsIStreamListener : nsIRequestObserver
486 nsresult OnDataAvailable(nsIRequest *aRequest, nsISupports *aContext,
487 nsIInputStream *aInputStream, PRUint32 aOffset, PRUint32 aCount);
491 object,
492 uuid(3de0a31c-feaf-400f-9f1e-4ef71f8b20cc),
493 local
494 /* FROZEN */
496 interface nsILoadGroup : nsIRequest
498 nsresult GetGroupObserver(nsIRequestObserver **aGroupObserver);
499 nsresult SetGroupObserver(nsIRequestObserver *aGroupObserver);
500 nsresult GetDefaultLoadRequest(nsIRequest **aDefaultLoadRequest);
501 nsresult SetDefaultLoadRequest(nsIRequest *aDefaultLoadRequest);
502 nsresult AddRequest(nsIRequest *aRequest, nsISupports *aContext);
503 nsresult RemoveRequest(nsIRequest *aRequest, nsISupports *aContext, nsresult aStatus);
504 nsresult GetRequests(nsISimpleEnumerator **aRequests);
505 nsresult GetActiveCount(PRUint32 *aActiveCount);
506 nsresult GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks);
507 nsresult SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks);
511 object,
512 uuid(c63a055a-a676-4e71-bf3c-6cfa11082018),
513 local
514 /* FROZEN */
516 interface nsIChannel : nsIRequest
518 nsresult GetOriginalURI(nsIURI **aOriginalURI);
519 nsresult SetOriginalURI(nsIURI *aOriginalURI);
520 nsresult GetURI(nsIURI **aURI);
521 nsresult GetOwner(nsISupports **aOwner);
522 nsresult SetOwner(nsISupports *aOwner);
523 nsresult GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks);
524 nsresult SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks);
525 nsresult GetSecurityInfo(nsISupports **aSecurityInfo);
526 nsresult GetContentType(nsACString *aContentType);
527 nsresult SetContentType(const nsACString *aContentType);
528 nsresult GetContentCharset(nsACString *aContentCharset);
529 nsresult SetContentCharset(const nsACString *aContentCharset);
530 nsresult GetContentLength(PRInt32 *aContentLength);
531 nsresult SetContentLength(PRInt32 aContentLength);
532 nsresult Open(nsIInputStream **_retval);
533 nsresult AsyncOpen(nsIStreamListener *aListener, nsISupports *aContext);
537 object,
538 uuid(9277fe09-f0cc-4cd9-bbce-581dd94b0260),
539 local
540 /* FROZEN */
542 interface nsIHttpChannel : nsIChannel
544 nsresult GetRequestMethod(nsACString *aRequestMethod);
545 nsresult SetRequestMethod(const nsACString *aRequestMethod);
546 nsresult GetReferrer(nsIURI **aReferrer);
547 nsresult SetReferrer(nsIURI *aReferrer);
548 nsresult GetRequestHeader(const nsACString *aHeader, nsACString *_retval);
549 nsresult SetRequestHeader(const nsACString *aHeader, const nsACString *aValue, PRBool aMerge);
550 nsresult VisitRequestHeaders(nsIHttpHeaderVisitor *aVisitor);
551 nsresult GetAllowPipelining(PRBool *aAllowPipelining);
552 nsresult SetAllowPipelining(PRBool aAllowPipelining);
553 nsresult GetRedirectionLimit(PRUint32 *aRedirectionLimit);
554 nsresult SetRedirectionLimit(PRUint32 aRedirectionLimit);
555 nsresult GetResponseStatus(PRUint32 *aResponseStatus);
556 nsresult GetResponseStatusText(nsACString *aResponseStatusText);
557 nsresult GetRequestSucceeded(PRBool *aRequestSucceeded);
558 nsresult GetResponseHeader(const nsACString *header, nsACString *_retval);
559 nsresult SetResponseHeader(const nsACString *header, const nsACString *value, PRBool merge);
560 nsresult VisitResponseHeaders(nsIHttpHeaderVisitor *aVisitor);
561 nsresult IsNoStoreResponse(PRBool *_retval);
562 nsresult IsNoCacheResponse(PRBool *_retval);
566 object,
567 uuid(ddf633d8-e9a4-439d-ad88-de636fd9bb75),
568 local
569 /* FROZEN */
571 interface nsIUploadChannel : nsISupports
573 nsresult SetUploadStream(nsIInputStream *aStream, const nsACString *aContentType,
574 PRInt32 aContentLength);
575 nsresult GetUploadStream(nsIInputStream **aUploadStream);
579 object,
580 uuid(a6cf90c1-15b3-11d2-932e-00805f8add32),
581 local
582 /* FROZEN */
584 interface nsIDOMCSSRule : nsISupports
586 nsresult GetType(PRUint16 *aType);
587 nsresult GetCssText(nsAString *aCssText);
588 nsresult SetCssText(const nsAString *aCssText);
589 nsresult GetParentStyleSheet(nsIDOMCSSStyleSheet **aParentStyleSheet);
590 nsresult GetParentRule(nsIDOMCSSRule **aParentRule);
594 object,
595 uuid(a6cf90be-15b3-11d2-932e-00805f8add32),
596 local
597 /* FROZEN */
599 interface nsIDOMCSSStyleDeclaration : nsISupports
601 nsresult GetCssText(nsAString *aCssText);
602 nsresult SetCssText(const nsAString *aCssText);
603 nsresult GetPropertyValue(const nsAString *propertyName, nsAString *_retval);
604 nsresult GetPropertyCSSValue(const nsAString *propertyName, nsIDOMCSSValue **_retval);
605 nsresult RemoveProperty(const nsAString *propertyName, nsAString *_retval);
606 nsresult GetPropertyPriority(const nsAString *propertyName, nsAString *_retval);
607 nsresult SetProperty(const nsAString *propertyName, const nsAString *value,
608 const nsAString *priority);
609 nsresult GetLength(PRUint32 *aLength);
610 nsresult Item(PRUint32 index, nsAString *_retval);
611 nsresult GetParentRule(nsIDOMCSSRule **aParentRule);
615 object,
616 uuid(a6cf90c0-15b3-11d2-932e-00805f8add32),
617 local
618 /* FROZEN */
620 interface nsIDOMCSSRuleList : nsISupports
622 nsresult GetLength(PRUint32 *aLength);
623 nsresult Item(PRUint32 index, nsIDOMCSSRule **_retval);
627 object,
628 uuid(a6cf9080-15b3-11d2-932e-00805f8add32),
629 local
630 /* FROZEN */
632 interface nsIDOMStyleSheet : nsISupports
634 nsresult GetType(nsAString *aType);
635 nsresult GetDisabled(PRBool *aDisabled);
636 nsresult SetDisabled(PRBool aDisabled);
637 nsresult GetOwnerNode(nsIDOMNode **aOwnerNode);
638 nsresult GetParentStyleSheet(nsIDOMStyleSheet **aParentStyleSheet);
639 nsresult GetHref(nsAString *aHref);
640 nsresult GetTitle(nsAString *aTitle);
641 nsresult GetMedia(nsIDOMMediaList **aMedia);
645 object,
646 uuid(a6cf90c2-15b3-11d2-932e-00805f8add32),
647 local
648 /* FROZEN */
650 interface nsIDOMCSSStyleSheet : nsIDOMStyleSheet
652 nsresult GetOwnerRule(nsIDOMCSSRule **aOwnerRule);
653 nsresult GetCssRules(nsIDOMCSSRuleList **aCssRules);
654 nsresult InsertRule(const nsAString *rule, PRUint32 index, PRUint32 *_retval);
655 nsresult DeleteRule(PRUint32 index);
659 object,
660 uuid(a6cf9081-15b3-11d2-932e-00805f8add32),
661 local
662 /* FROZEN */
664 interface nsIDOMStyleSheetList : nsISupports
666 nsresult GetLength(PRUint32 *aLength);
667 nsresult Item(PRUint32 index, nsIDOMStyleSheet **_retval);
671 object,
672 uuid(a6cf907d-15b3-11d2-932e-00805f8add32),
673 local
674 /* FROZEN */
676 interface nsIDOMNodeList : nsISupports
678 nsresult Item(PRUint32 index, nsIDOMNode **_retval);
679 nsresult GetLength(PRUint32 *aLength);
683 object,
684 uuid(a6cf907c-15b3-11d2-932e-00805f8add32),
685 local
686 /* FROZEN */
688 interface nsIDOMNode : nsISupports
690 enum NSNODETYPE {
691 ELEMENT_NODE = 1,
692 ATTRIBUTE_NODE = 2,
693 TEXT_NODE = 3,
694 CDATA_SELECTION_NODE = 4,
695 ENTITY_REFERENCE_NODE = 5,
696 ENTITY_NODE = 6,
697 PROCESSING_INSTRUCTION_NODE = 7,
698 COMMENT_NODE = 8,
699 DOCUMENT_NODE = 9,
700 DOCUMENT_TYPE_NODE = 10,
701 DOCUMENT_FRAGMENT_NODE = 11,
702 NOTATION_NODE = 12
705 nsresult GetNodeName(nsAString *aNodeName);
706 nsresult GetNodeValue(nsAString *aNodeValue);
707 nsresult SetNodeValue(const nsAString *aNodeValue);
708 nsresult GetNodeType(PRUint16 *aNodeType);
709 nsresult GetParentNode(nsIDOMNode **aParentNode);
710 nsresult GetChildNodes(nsIDOMNodeList **aChildNodes);
711 nsresult GetFirstChild(nsIDOMNode **aFirstChild);
712 nsresult GetLastChild(nsIDOMNode **aLastChild);
713 nsresult GetPreviousSibling(nsIDOMNode **aPreviousSibling);
714 nsresult GetNextSibling(nsIDOMNode **aNextSibling);
715 nsresult GetAttributes(nsIDOMNamedNodeMap **aAttributes);
716 nsresult GetOwnerDocument(nsIDOMDocument **aOwnerDocument);
717 nsresult InsertBefore(nsIDOMNode *newChild, nsIDOMNode *refChild, nsIDOMNode **_retval);
718 nsresult ReplaceChild(nsIDOMNode *newChild, nsIDOMNode *oldChild, nsIDOMNode **_retval);
719 nsresult RemoveChild(nsIDOMNode *oldChild, nsIDOMNode **_retval);
720 nsresult AppendChild(nsIDOMNode *newChild, nsIDOMNode **_retval);
721 nsresult HasChildNodes(PRBool *_retval);
722 nsresult CloneNode(PRBool deep, nsIDOMNode **_retval);
723 nsresult Normalize();
724 nsresult IsSupported(const nsAString *feature, const nsAString *version, PRBool *_retval);
725 nsresult GetNamespaceURI(nsAString *aNamespaceURI);
726 nsresult GetPrefix(nsAString *aPrefix);
727 nsresult SetPrefix(const nsAString *aPrefix);
728 nsresult GetLocalName(nsAString *aLocalName);
729 nsresult HasAttributes(PRBool *_retval);
733 object,
734 uuid(a6cf9078-15b3-11d2-932e-00805f8add32),
735 local
736 /* FROZEN */
738 interface nsIDOMElement : nsIDOMNode
740 nsresult GetTagName(nsAString *aTagName);
741 nsresult GetAttribute(const nsAString *name, nsAString *_retval);
742 nsresult SetAttribute(const nsAString *name, const nsAString *value);
743 nsresult RemoveAttribute(const nsAString *name);
744 nsresult GetAttributeNode(const nsAString *name, nsIDOMAttr **_retval);
745 nsresult SetAttributeNode(nsIDOMAttr *newAttr, nsIDOMAttr **_retval);
746 nsresult RemoveAttributeNode(nsIDOMAttr *oldAttr, nsIDOMAttr **_retval);
747 nsresult GetElementsByTagName(const nsAString *name, nsIDOMNodeList **_retval);
748 nsresult GetAttributeNS(const nsAString *namespaceURI, const nsAString *localName,
749 nsAString *_retval);
750 nsresult SetAttributeNS(const nsAString *namespaceURI, const nsAString *qualifiedName,
751 const nsAString *value);
752 nsresult RemoveAttributeNS(const nsAString *namespaceURI, const nsAString *localName);
753 nsresult GetAttributeNodeNS(const nsAString *namespaceURI, const nsAString *localName,
754 nsIDOMAttr **_retval);
755 nsresult SetAttributeNodeNS(nsIDOMAttr *newAttr, nsIDOMAttr **_retval);
756 nsresult GetElementsByTagNameNS(const nsAString *namespaceURI, const nsAString *localName,
757 nsIDOMNodeList **_retval);
758 nsresult HasAttribute(const nsAString *name, PRBool *_retval);
759 nsresult HasAttributeNS(const nsAString *namespaceURI, const nsAString *localName,
760 PRBool *_retval);
764 object,
765 uuid(99715845-95fc-4a56-aa53-214b65c26e22),
766 local
767 /* FROZEN */
769 interface nsIDOMElementCSSInlineStyle : nsISupports
771 nsresult GetStyle(nsIDOMCSSStyleDeclaration **aStyle);
774 cpp_quote("#undef GetClassName")
777 object,
778 uuid(a6cf9085-15b3-11d2-932e-00805f8add32),
779 local
780 /* FROZEN */
782 interface nsIDOMHTMLElement : nsIDOMElement
784 nsresult GetId(nsAString *aId);
785 nsresult SetId(const nsAString *aId);
786 nsresult GetTitle(nsAString *aTitle);
787 nsresult SetTitle(const nsAString *aTitle);
788 nsresult GetLang(nsAString *aLang);
789 nsresult SetLang(const nsAString *aLang);
790 nsresult GetDir(nsAString *aDir);
791 nsresult SetDir(const nsAString *aDir);
792 nsresult GetClassName(nsAString *aClassName);
793 nsresult SetClassName(const nsAString *aClassName);
797 object,
798 uuid(da83b2ec-8264-4410-8496-ada3acd2ae42),
799 local
800 /* NOT_FROZEN */
802 interface nsIDOMNSHTMLElement : nsISupports
804 nsresult GetOffsetTop(PRInt32 *aOffsetTop);
805 nsresult GetOffsetLeft(PRInt32 *aOffsetLeft);
806 nsresult GetOffsetWidth(PRInt32 *aOffsetWidth);
807 nsresult GetOffsetHeight(PRInt32 *aOffsetHeight);
808 nsresult GetOffsetParent(nsIDOMElement **aOffsetParent);
809 nsresult GetInnerHTML(nsAString *aInnerHTML);
810 nsresult SetInnerHTML(const nsAString *aInnerHTML);
811 nsresult GetScrollTop(PRInt32 *aScrollTop);
812 nsresult SetScrollTop(PRInt32 aScrollTop);
813 nsresult GetScrollLeft(PRInt32 *aScrollLeft);
814 nsresult SetScrollLeft(PRInt32 aScrollLeft);
815 nsresult GetScrollHeight(PRInt32 *aScrollHeight);
816 nsresult GetScrollWidth(PRInt32 *aScrollWidth);
817 nsresult GetClientHeight(PRInt32 *aClientHeight);
818 nsresult GetClientWidth(PRInt32 *aClientWidth);
819 nsresult GetTabIndex(PRInt32 *aTabIndex);
820 nsresult SetTabIndex(PRInt32 aTabIndex);
821 nsresult blur();
822 nsresult focus();
823 nsresult ScrollIntoView(PRBool top);
827 object,
828 uuid(a6cf9083-15b3-11d2-932e-00805f8add32),
829 local
830 /* FROZEN */
832 interface nsIDOMHTMLCollection : nsISupports
834 nsresult GetLength(PRUint32 *aLength);
835 nsresult Item(PRUint32 index, nsIDOMNode **_retval);
836 nsresult NamedItem(const nsAString *name, nsIDOMNode **_retval);
840 object,
841 uuid(a6cf9072-15b3-11d2-932e-00805f8add32),
842 local
843 /* FROZEN */
845 interface nsIDOMCharacterData : nsIDOMNode
847 nsresult GetData(nsAString *aData);
848 nsresult SetData(const nsAString *aData);
849 nsresult GetLength(PRUint32 *aLength);
850 nsresult SubstringData(PRUint32 offset, PRUint32 count, nsAString *_retval);
851 nsresult AppendData(const nsAString *arg);
852 nsresult InsertData(PRUint32 offset, const nsAString *arg);
853 nsresult DeleteData(PRUint32 offset, PRUint32 count);
854 nsresult ReplaceData(PRUint32 offset, PRUint32 count, const nsAString *arg);
858 object,
859 uuid(a6cf9082-15b3-11d2-932e-00805f8add32),
860 local
861 /* FROZEN */
863 interface nsIDOMText : nsIDOMCharacterData
865 nsresult SplitText(PRUint32 offset, nsIDOMText **_retval);
869 object,
870 uuid(a6cf9073-15b3-11d2-932e-00805f8add32),
871 local
872 /* FROZEN */
874 interface nsIDOMComment : nsIDOMCharacterData
879 object,
880 uuid(a6cf9076-15b3-11d2-932e-00805f8add32),
881 local
882 /* FROZEN */
884 interface nsIDOMDocumentFragment : nsIDOMNode
889 object,
890 uuid(f51ebade-8b1a-11d3-aae7-0010830123b4),
891 local
892 /* FROZEN */
894 interface nsIDOMAbstractView : nsISupports
896 nsresult GetDocument(nsIDOMDocumentView **aDocument);
900 object,
901 uuid(0b9341f3-95d4-4fa4-adcd-e119e0db2889),
902 local
903 /* NOT_FROZEN */
905 interface nsIDOMViewCSS : nsIDOMAbstractView
907 nsresult GetComputedStyle(nsIDOMElement *elt, const nsAString *pseudoElt, nsIDOMCSSStyleDeclaration **_retval);
911 object,
912 uuid(a6cf9075-15b3-11d2-932e-00805f8add32),
913 local
914 /* FROZEN */
916 interface nsIDOMDocument : nsIDOMNode
918 nsresult GetDoctype(nsIDOMDocumentType **aDoctype);
919 nsresult GetImplementation(nsIDOMDOMImplementation **aImplementation);
920 nsresult GetDocumentElement(nsIDOMElement **aDocumentElement);
921 nsresult CreateElement(const nsAString *tagName, nsIDOMElement **_retval);
922 nsresult CreateDocumentFragment(nsIDOMDocumentFragment **_retval);
923 nsresult CreateTextNode(const nsAString *data, nsIDOMText **_retval);
924 nsresult CreateComment(const nsAString *data, nsIDOMComment **_retval);
925 nsresult CreateCDATASection(const nsAString *data, nsIDOMCDATASection **_retval);
926 nsresult CreateProcessingInstruction(const nsAString *target, const nsAString *data,
927 nsIDOMProcessingInstruction **_retval);
928 nsresult CreateAttribute(const nsAString *name, nsIDOMAttr **_retval);
929 nsresult CreateEntityReference(const nsAString *name, nsIDOMEntityReference **_retval);
930 nsresult GetElementsByTagName(const nsAString *tagname, nsIDOMNodeList **_retval);
931 nsresult ImportNode(nsIDOMNode *importedNode, PRBool deep, nsIDOMNode **_retval);
932 nsresult CreateElementNS(const nsAString *namespaceURI, const nsAString *qualifiedName,
933 nsIDOMElement **_retval);
934 nsresult CreateAttributeNS(const nsAString *namespaceURI, const nsAString *qualifiedName,
935 nsIDOMAttr **_retval);
936 nsresult GetElementsByTagNameNS(const nsAString *namespaceURI, const nsAString *localName,
937 nsIDOMNodeList **_retval);
938 nsresult GetElementById(const nsAString *elementId, nsIDOMElement **_retval);
942 object,
943 uuid(a6cf9084-15b3-11d2-932e-00805f8add32),
944 local
945 /* FROZEN */
947 interface nsIDOMHTMLDocument : nsIDOMDocument
949 nsresult GetTitle(nsAString *aTitle);
950 nsresult SetTitle(const nsAString *aTitle);
951 nsresult GetReferrer(nsAString *aReferrer);
952 nsresult GetDomain(nsAString *aDomain);
953 nsresult GetURL(nsAString *aURL);
954 nsresult GetBody(nsIDOMHTMLElement **aBody);
955 nsresult SetBody(nsIDOMHTMLElement *aBody);
956 nsresult GetImages(nsIDOMHTMLCollection **aImages);
957 nsresult GetApplets(nsIDOMHTMLCollection **aApplets);
958 nsresult GetLinks(nsIDOMHTMLCollection **aLinks);
959 nsresult GetForms(nsIDOMHTMLCollection **aForms);
960 nsresult GetAnchors(nsIDOMHTMLCollection **aAnchors);
961 nsresult GetCookie(nsAString *aCookie);
962 nsresult SetCookie(const nsAString *aCookie);
963 nsresult Open();
964 nsresult Close();
965 nsresult Write(const nsAString *text);
966 nsresult Writeln(const nsAString *text);
967 nsresult GetElementsByName(const nsAString *elementName, nsIDOMNodeList **_retval);
971 object,
972 uuid(79beb289-3644-4b54-9432-9fb993945629),
973 local
974 /* NOT_FROZEN */
976 interface nsIDOMNSHTMLDocument : nsISupports
978 nsresult GetWidth(PRInt32 *aWidth);
979 nsresult GetHeight(PRInt32 *aHeight);
980 nsresult GetAlinkColor(nsAString *aAlinkColor);
981 nsresult SetAlinkColor(const nsAString *aAlinkColor);
982 nsresult GetLinkColor(nsAString *aLinkColor);
983 nsresult SetLinkColor(const nsAString *aLinkColor);
984 nsresult GetVlinkColor(nsAString *aVlinkColor);
985 nsresult SetVlinkColor(const nsAString *aVlinkColor);
986 nsresult GetBgColor(nsAString *aBgColor);
987 nsresult SetBgColor(const nsAString *aBgColor);
988 nsresult GetFgColor(nsAString *aFgColor);
989 nsresult SetFgColor(const nsAString *aFgColor);
990 nsresult GetDomain(nsAString *aDomain);
991 nsresult SetDomain(const nsAString *aDomain);
992 nsresult GetEmbeds(nsIDOMHTMLCollection **aEmbeds);
993 nsresult GetSelection(nsAString *_retval);
994 nsresult Open(nsIDOMDocument **_retval);
995 nsresult Write();
996 nsresult Writeln();
997 nsresult Clear();
998 nsresult CaptureEvents(PRInt32 eventFlags);
999 nsresult ReleaseEvents(PRInt32 eventFlags);
1000 nsresult RouteEvent(nsIDOMEvent *evt);
1001 nsresult GetCompatMode(nsAString *aCompatMode);
1002 nsresult GetPlugins(nsIDOMHTMLCollection **aPlugins);
1003 nsresult GetDesignMode(nsAString *aDesignMode);
1004 nsresult SetDesignMode(const nsAString *aDesignMode);
1005 nsresult ExecCommand(const nsAString *commandID, PRBool doShowUI, const nsAString *value, PRBool *_retval);
1006 nsresult ExecCommandShowHelp(const nsAString *commandID, PRBool *_retval);
1007 nsresult QueryCommandEnabled(const nsAString *commandID, PRBool *_retval);
1008 nsresult QueryCommandIndeterm(const nsAString *commandID, PRBool *_retval);
1009 nsresult QueryCommandState(const nsAString *commandID, PRBool *_retval);
1010 nsresult QueryCommandSupported(const nsAString *commandID, PRBool *_retval);
1011 nsresult QueryCommandText(const nsAString *commandID, nsAString *_retval);
1012 nsresult QueryCommandValue(const nsAString *commandID, nsAString *_retval);
1016 object,
1017 uuid(3d9f4973-dd2e-48f5-b5f7-2634e09eadd9),
1018 local
1019 /* FROZEN */
1021 interface nsIDOMDocumentStyle : nsISupports
1023 nsresult GetStyleSheets(nsIDOMStyleSheetList **aStyleSheets);
1027 object,
1028 uuid(1acdb2ba-1dd2-11b2-95bc-9542495d2569),
1029 local
1030 /* FROZEN */
1032 interface nsIDOMDocumentView : nsISupports
1034 nsresult GetDefaultView(nsIDOMAbstractView **aDefaultView);
1038 object,
1039 uuid(a6cf90ce-15b3-11d2-932e-00805f8add32),
1040 local
1041 /* FROZEN */
1043 interface nsIDOMRange : nsISupports
1045 enum {
1046 NS_START_TO_START,
1047 NS_START_TO_END,
1048 NS_END_TO_END,
1049 NS_END_TO_START
1052 nsresult GetStartContainer(nsIDOMNode **aStartContainer);
1053 nsresult GetStartOffset(PRInt32 *aStartOffset);
1054 nsresult GetEndContainer(nsIDOMNode **aEndContainer);
1055 nsresult GetEndOffset(PRInt32 *aEndOffset);
1056 nsresult GetCollapsed(PRBool *aCollapsed);
1057 nsresult GetCommonAncestorContainer(nsIDOMNode **aCommonAncestorContainer);
1058 nsresult SetStart(nsIDOMNode *refNode, PRInt32 offset);
1059 nsresult SetEnd(nsIDOMNode *refNode, PRInt32 offset);
1060 nsresult SetStartBefore(nsIDOMNode *refNode);
1061 nsresult SetStartAfter(nsIDOMNode *refNode);
1062 nsresult SetEndBefore(nsIDOMNode *refNode);
1063 nsresult SetEndAfter(nsIDOMNode *refNode);
1064 nsresult Collapse(PRBool toStart);
1065 nsresult SelectNode(nsIDOMNode *refNode);
1066 nsresult SelectNodeContents(nsIDOMNode *refNode);
1067 nsresult CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourceRange, PRInt16 *_retval);
1068 nsresult DeleteContents();
1069 nsresult ExtractContents(nsIDOMDocumentFragment **_retval);
1070 nsresult CloneContents(nsIDOMDocumentFragment **_retval);
1071 nsresult InsertNode(nsIDOMNode *newNode);
1072 nsresult SurroundContents(nsIDOMNode *newParent);
1073 nsresult CloneRange(nsIDOMRange **_retval);
1074 nsresult ToString(nsAString *_retval);
1075 nsresult Detach();
1079 object,
1080 uuid(a6cf90f2-15b3-11d2-932e-00805f8add32),
1081 local
1083 interface nsIDOMNSRange : nsISupports
1085 nsresult CreateContextualFragment([in] const nsAString *fragment, [out] nsIDOMDocumentFragment **_retval);
1086 nsresult IsPointInRange([in] nsIDOMNode *parent, [in] PRInt32 offset, [out] PRBool *_retval);
1087 nsresult ComparePoint([in] nsIDOMNode *parent, [in] PRInt32 offset, [out] PRInt16 *_retval);
1088 nsresult IntersectsNode([in] nsIDOMNode *n, [out] PRBool *_retval);
1089 nsresult CompareNode([in] nsIDOMNode *n, [out] PRUint16 *_retval);
1090 nsresult nSDetach();
1095 object,
1096 uuid(7b9badc6-c9bc-447a-8670-dbd195aed24b),
1097 local
1098 /* FROZEN */
1100 interface nsIDOMDocumentRange : nsISupports
1102 nsresult CreateRange(nsIDOMRange **_retval);
1106 object,
1107 uuid(b2c7ed59-8634-4352-9e37-5484c8b6e4e1),
1108 local
1109 /* FROZEN */
1111 interface nsISelection : nsISupports
1113 nsresult GetAnchorNode(nsIDOMNode **aAnchorNode);
1114 nsresult GetAnchorOffset(PRInt32 *aAnchorOffset);
1115 nsresult GetFocusNode(nsIDOMNode **aFocusNode);
1116 nsresult GetFocusOffset(PRInt32 *aFocusOffset);
1117 nsresult GetIsCollapsed(PRBool *aIsCollapsed);
1118 nsresult GetRangeCount(PRInt32 *aRangeCount);
1119 nsresult GetRangeAt(PRInt32 index, nsIDOMRange **_retval);
1120 nsresult Collapse(nsIDOMNode *parentNode, PRInt32 offset);
1121 nsresult Extend(nsIDOMNode *parentNode, PRInt32 offset);
1122 nsresult CollapseToStart();
1123 nsresult CollapseToEnd();
1124 nsresult ContainsNode(nsIDOMNode *node, PRBool entirelyContained, PRBool *_retval);
1125 nsresult SelectAllChildren(nsIDOMNode *parentNode);
1126 nsresult AddRange(nsIDOMRange *range);
1127 nsresult RemoveRange(nsIDOMRange *range);
1128 nsresult RemoveAllRanges();
1129 nsresult DeleteFromDocument();
1130 nsresult SelectionLanguageChange(PRBool langRTL);
1131 nsresult ToString(PRUnichar **_retval);
1135 object,
1136 uuid(a6cf906b-15b3-11d2-932e-00805f8add32),
1137 local
1138 /* FROZEN */
1140 interface nsIDOMWindow : nsISupports
1142 nsresult GetDocument(nsIDOMDocument **aDocument);
1143 nsresult GetParent(nsIDOMWindow **aParent);
1144 nsresult GetTop(nsIDOMWindow **aTop);
1145 nsresult GetScrollbars(nsIDOMBarProp **aScrollbars);
1146 nsresult GetFrames(nsIDOMWindowCollection **aFrames);
1147 nsresult GetName(nsAString *aName);
1148 nsresult SetName(const nsAString *aName);
1149 nsresult GetTextZoom(float *aTextZoom);
1150 nsresult SetTextZoom(float aTextZoom);
1151 nsresult GetScrollX(PRInt32 *aScrollX);
1152 nsresult GetScrollY(PRInt32 *aScrollY);
1153 nsresult ScrollTo(PRInt32 xScroll, PRInt32 yScroll);
1154 nsresult ScrollBy(PRInt32 xScrollDif, PRInt32 yScrollDif);
1155 nsresult GetSelection(nsISelection **_retval);
1156 nsresult ScrollByLines(PRInt32 numLines);
1157 nsresult ScrollByPages(PRInt32 numPages);
1158 nsresult SizeToContent();
1162 object,
1163 uuid(a6cf908e-15b3-11d2-932e-00805f8add32),
1164 local
1165 /* FROZEN */
1167 interface nsIDOMHTMLBodyElement : nsIDOMHTMLElement
1169 nsresult GetALink(nsAString *aALink);
1170 nsresult SetALink(const nsAString *aALink);
1171 nsresult GetBackground(nsAString *aBackground);
1172 nsresult SetBackground(const nsAString *aBackground);
1173 nsresult GetBgColor(nsAString *aBgColor);
1174 nsresult SetBgColor(const nsAString *aBgColor);
1175 nsresult GetLink(nsAString *aLink);
1176 nsresult SetLink(const nsAString *aLink);
1177 nsresult GetText(nsAString *aText);
1178 nsresult SetText(const nsAString *aText);
1179 nsresult GetVLink(nsAString *aVLink);
1180 nsresult SetVLink(const nsAString *aVLink);
1184 object,
1185 uuid(a6cf9093-15b3-11d2-932e-00805f8add32),
1186 local
1187 /* FROZEN */
1189 interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
1191 nsresult GetDefaultValue(nsAString *aDefaultValue);
1192 nsresult SetDefaultValue(const nsAString *aDefaultValue);
1193 nsresult GetDefaultChecked(PRBool *aDefaultChecked);
1194 nsresult SetDefaultChecked(PRBool aDefaultChecked);
1195 nsresult GetForm(nsIDOMHTMLFormElement **aForm);
1196 nsresult GetAccept(nsAString *aAccept);
1197 nsresult SetAccept(const nsAString *aAccept);
1198 nsresult GetAccessKey(nsAString *aAccessKey);
1199 nsresult SetAccessKey(const nsAString *aAccessKey);
1200 nsresult GetAlign(nsAString *aAlign);
1201 nsresult SetAlign(const nsAString *aAlign);
1202 nsresult GetAlt(nsAString *aAlt);
1203 nsresult SetAlt(const nsAString *aAlt);
1204 nsresult GetChecked(PRBool *aChecked);
1205 nsresult SetChecked(PRBool aChecked);
1206 nsresult GetDisabled(PRBool *aDisabled);
1207 nsresult SetDisabled(PRBool aDisabled);
1208 nsresult GetMaxLength(PRInt32 *aMaxLength);
1209 nsresult SetMaxLength(PRInt32 aMaxLength);
1210 nsresult GetName(nsAString *aName);
1211 nsresult SetName(const nsAString *aName);
1212 nsresult GetReadOnly(PRBool *aReadOnly);
1213 nsresult SetReadOnly(PRBool aReadOnly);
1214 nsresult GetSize(PRUint32 *aSize);
1215 nsresult SetSize(PRUint32 aSize);
1216 nsresult GetSrc(nsAString *aSrc);
1217 nsresult SetSrc(const nsAString *aSrc);
1218 nsresult GetTabIndex(PRInt32 *aTabIndex);
1219 nsresult SetTabIndex(PRInt32 aTabIndex);
1220 nsresult GetType(nsAString *aType);
1221 nsresult SetType(const nsAString *aType);
1222 nsresult GetUseMap(nsAString *aUseMap);
1223 nsresult SetUseMap(const nsAString *aUseMap);
1224 nsresult GetValue(nsAString *aValue);
1225 nsresult SetValue(const nsAString *aValue);
1226 nsresult Blur();
1227 nsresult Focus();
1228 nsresult Select();
1229 nsresult Click();
1233 object,
1234 uuid(a6cf9092-15b3-11d2-932e-00805f8add32),
1235 local
1236 /* FROZEN */
1238 interface nsIDOMHTMLOptionElement : nsIDOMHTMLElement
1240 nsresult GetForm(nsIDOMHTMLFormElement **aForm);
1241 nsresult GetDefaultSelected(PRBool *aDefaultSelected);
1242 nsresult SetDefaultSelected(PRBool aDefaultSelected);
1243 nsresult GetText(nsAString *aText);
1244 nsresult GetIndex(PRInt32 *aIndex);
1245 nsresult GetDisabled(PRBool *aDisabled);
1246 nsresult SetDisabled(PRBool aDisabled);
1247 nsresult GetLabel(nsAString *aLabel);
1248 nsresult SetLabel(const nsAString *aLabel);
1249 nsresult GetSelected(PRBool *aSelected);
1250 nsresult SetSelected(PRBool aSelected);
1251 nsresult GetValue(nsAString *aValue);
1252 nsresult SetValue(const nsAString *aValue);
1256 object,
1257 uuid(a6cf9090-15b3-11d2-932e-00805f8add32),
1258 local
1259 /* FROZEN */
1261 interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
1263 nsresult GetType(nsAString *aType);
1264 nsresult GetSelectedIndex(PRInt32 *aSelectedIndex);
1265 nsresult SetSelectedIndex(PRInt32 aSelectedIndex);
1266 nsresult GetValue(nsAString *aValue);
1267 nsresult SetValue(const nsAString *aValue);
1268 nsresult GetLength(PRUint32 *aLength);
1269 nsresult SetLength(PRUint32 aLength);
1270 nsresult GetForm(nsIDOMHTMLFormElement **aForm);
1271 nsresult GetOptions(nsIDOMHTMLOptionsCollection **aOptions);
1272 nsresult GetDisabled(PRBool *aDisabled);
1273 nsresult SetDisabled(PRBool aDisabled);
1274 nsresult GetMultiple(PRBool *aMultiple);
1275 nsresult SetMultiple(PRBool aMultiple);
1276 nsresult GetName(nsAString *aName);
1277 nsresult SetName(const nsAString *aName);
1278 nsresult GetSize(PRInt32 *aSize);
1279 nsresult SetSize(PRInt32 aSize);
1280 nsresult GetTabIndex(PRInt32 *aTabIndex);
1281 nsresult SetTabIndex(PRInt32 aTabIndex);
1282 nsresult Add(nsIDOMHTMLElement *element, nsIDOMHTMLElement *before);
1283 nsresult Remove(PRInt32 index);
1284 nsresult Blur();
1285 nsresult Focus();
1289 object,
1290 uuid(a6cf9094-15b3-11d2-932e-00805f8add32),
1291 local
1292 /* FROZEN */
1294 interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement
1296 nsresult GetDefaultValue(nsAString *aDefaultValue);
1297 nsresult SetDefaultValue(const nsAString *aDefaultValue);
1298 nsresult GetForm(nsIDOMHTMLFormElement **aForm);
1299 nsresult GetAccessKey(nsAString *aAccessKey);
1300 nsresult SetAccessKey(const nsAString *aAccessKey);
1301 nsresult GetCols(PRInt32 *aCols);
1302 nsresult SetCols(PRInt32 aCols);
1303 nsresult GetDisabled(PRBool *aDisabled);
1304 nsresult SetDisabled(PRBool aDisabled);
1305 nsresult GetName(nsAString *aName);
1306 nsresult SetName(const nsAString *aName);
1307 nsresult GetReadOnly(PRBool *aReadOnly);
1308 nsresult SetReadOnly(PRBool aReadOnly);
1309 nsresult GetRows(PRInt32 *aRows);
1310 nsresult SetRows(PRInt32 aRows);
1311 nsresult GetTabIndex(PRInt32 *aTabIndex);
1312 nsresult SetTabIndex(PRInt32 aTabIndex);
1313 nsresult GetType(nsAString *aType);
1314 nsresult GetValue(nsAString *aValue);
1315 nsresult SetValue(const nsAString *aValue);
1316 nsresult Blur();
1317 nsresult Focus();
1318 nsresult Select();
1322 object,
1323 uuid(a6cf90b1-15b3-11d2-932e-00805f8add32),
1324 local
1325 /* FROZEN */
1327 interface nsIDOMHTMLScriptElement : nsIDOMHTMLElement
1329 nsresult GetText(nsAString *aText);
1330 nsresult SetText(const nsAString *aText);
1331 nsresult GetHtmlFor(nsAString *aHtmlFor);
1332 nsresult SetHtmlFor(const nsAString *aHtmlFor);
1333 nsresult GetEvent(nsAString *aEvent);
1334 nsresult SetEvent(const nsAString *aEvent);
1335 nsresult GetCharset(nsAString *aCharset);
1336 nsresult SetCharset(const nsAString *aCharset);
1337 nsresult GetDefer(PRBool *aDefer);
1338 nsresult SetDefer(PRBool aDefer);
1339 nsresult GetSrc(nsAString *aSrc);
1340 nsresult SetSrc(const nsAString *aSrc);
1341 nsresult GetType(nsAString *aType);
1342 nsresult SetType(const nsAString *aType);
1346 object,
1347 uuid(a6cf90ab-15b3-11d2-932e-00805f8add32),
1348 local
1349 /* FROZEN */
1351 interface nsIDOMHTMLImageElement : nsIDOMHTMLElement
1353 nsresult GetName(nsAString *aName);
1354 nsresult SetName(const nsAString *aName);
1355 nsresult GetAlign(nsAString *aAlign);
1356 nsresult SetAlign(const nsAString *aAlign);
1357 nsresult GetAlt(nsAString *aAlt);
1358 nsresult SetAlt(const nsAString *aAlt);
1359 nsresult GetBorder(nsAString *aBorder);
1360 nsresult SetBorder(const nsAString *aBorder);
1361 nsresult GetHeight(PRInt32 *aHeight);
1362 nsresult SetHeight(PRInt32 aHeight);
1363 nsresult GetHspace(PRInt32 *aHspace);
1364 nsresult SetHspace(PRInt32 aHspace);
1365 nsresult GetIsMap(PRBool *aIsMap);
1366 nsresult SetIsMap(PRBool aIsMap);
1367 nsresult GetLongDesc(nsAString *aLongDesc);
1368 nsresult SetLongDesc(const nsAString *aLongDesc);
1369 nsresult GetSrc(nsAString *aSrc);
1370 nsresult SetSrc(const nsAString *aSrc);
1371 nsresult GetUseMap(nsAString *aUseMap);
1372 nsresult SetUseMap(const nsAString *aUseMap);
1373 nsresult GetVspace(PRInt32 *aVspace);
1374 nsresult SetVspace(PRInt32 aVspace);
1375 nsresult GetWidth(PRInt32 *aWidth);
1376 nsresult SetWidth(PRInt32 aWidth);
1380 object,
1381 uuid(a6cf90b2-15b3-11d2-932e-00805f8add32),
1382 local
1383 /* FROZEN */
1385 interface nsIDOMHTMLTableElement : nsIDOMHTMLElement
1387 nsresult GetCaption(nsIDOMHTMLTableCaptionElement **aCaption);
1388 nsresult SetCaption(nsIDOMHTMLTableCaptionElement *aCaption);
1389 nsresult GetTHead(nsIDOMHTMLTableSectionElement **aTHead);
1390 nsresult SetTHead(nsIDOMHTMLTableSectionElement *aTHead);
1391 nsresult GetTFoot(nsIDOMHTMLTableSectionElement **aTFoot);
1392 nsresult SetTFoot(nsIDOMHTMLTableSectionElement *aTFoot);
1393 nsresult GetRows(nsIDOMHTMLCollection **aRows);
1394 nsresult GetTBodies(nsIDOMHTMLCollection **aTBodies);
1395 nsresult GetAlign(nsAString *aAlign);
1396 nsresult SetAlign(const nsAString *aAlign);
1397 nsresult GetBgColor(nsAString *aBgColor);
1398 nsresult SetBgColor(const nsAString *aBgColor);
1399 nsresult GetBorder(nsAString *aBorder);
1400 nsresult SetBorder(const nsAString *aBorder);
1401 nsresult GetCellPadding(nsAString *aCellPadding);
1402 nsresult SetCellPadding(const nsAString *aCellPadding);
1403 nsresult GetCellSpacing(nsAString *aCellSpacing);
1404 nsresult SetCellSpacing(const nsAString *aCellSpacing);
1405 nsresult GetFrame(nsAString *aFrame);
1406 nsresult SetFrame(const nsAString *aFrame);
1407 nsresult GetRules(nsAString *aRules);
1408 nsresult SetRules(const nsAString *aRules);
1409 nsresult GetSummary(nsAString *aSummary);
1410 nsresult SetSummary(const nsAString *aSummary);
1411 nsresult GetWidth(nsAString *aWidth);
1412 nsresult SetWidth(const nsAString *aWidth);
1413 nsresult CreateTHead(nsIDOMHTMLElement **_retval);
1414 nsresult DeleteTHead();
1415 nsresult CreateTFoot(nsIDOMHTMLElement **_retval);
1416 nsresult DeleteTFoot();
1417 nsresult CreateCaption(nsIDOMHTMLElement **_retval);
1418 nsresult DeleteCaption();
1419 nsresult InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval);
1420 nsresult DeleteRow(PRInt32 index);
1424 object,
1425 uuid(a6cf90b6-15b3-11d2-932e-00805f8add32),
1426 local
1427 /* FROZEN */
1429 interface nsIDOMHTMLTableRowElement : nsIDOMHTMLElement
1431 nsresult GetRowIndex(PRInt32 *aRowIndex);
1432 nsresult GetSectionRowIndex(PRInt32 *aSectionRowIndex);
1433 nsresult GetCells(nsIDOMHTMLCollection **aCells);
1434 nsresult GetAlign(nsAString *aAlign);
1435 nsresult SetAlign(const nsAString *aAlign);
1436 nsresult GetBgColor(nsAString *aBgColor);
1437 nsresult SetBgColor(const nsAString *aBgColor);
1438 nsresult GetCh(nsAString *aCh);
1439 nsresult SetCh(const nsAString *aCh);
1440 nsresult GetChOff(nsAString *aChOff);
1441 nsresult SetChOff(const nsAString *aChOff);
1442 nsresult GetVAlign(nsAString *aVAlign);
1443 nsresult SetVAlign(const nsAString *aVAlign);
1444 nsresult InsertCell(PRInt32 index, nsIDOMHTMLElement **_retval);
1445 nsresult DeleteCell(PRInt32 index);
1449 object,
1450 uuid(a6cf90ba-15b3-11d2-932e-00805f8add32),
1451 local
1452 /* FROZEN */
1454 interface nsIDOMHTMLIFrameElement : nsIDOMHTMLElement
1456 nsresult GetAlign(nsAString *aAlign);
1457 nsresult SetAlign(const nsAString *aAlign);
1458 nsresult GetFrameBorder(nsAString *aFrameBorder);
1459 nsresult SetFrameBorder(const nsAString *aFrameBorder);
1460 nsresult GetHeight(nsAString *aHeight);
1461 nsresult SetHeight(const nsAString *aHeight);
1462 nsresult GetLongDesc(nsAString *aLongDesc);
1463 nsresult SetLongDesc(const nsAString *aLongDesc);
1464 nsresult GetMarginHeight(nsAString *aMarginHeight);
1465 nsresult SetMarginHeight(const nsAString *aMarginHeight);
1466 nsresult GetMarginWidth(nsAString *aMarginWidth);
1467 nsresult SetMarginWidth(const nsAString *aMarginWidth);
1468 nsresult GetName(nsAString *aName);
1469 nsresult SetName(const nsAString *aName);
1470 nsresult GetScrolling(nsAString *aScrolling);
1471 nsresult SetScrolling(const nsAString *aScrolling);
1472 nsresult GetSrc(nsAString *aSrc);
1473 nsresult SetSrc(const nsAString *aSrc);
1474 nsresult GetWidth(nsAString *aWidth);
1475 nsresult SetWidth(const nsAString *aWidth);
1476 nsresult GetContentDocument(nsIDOMDocument **aContentDocument);
1480 object,
1481 uuid(94928ab3-8b63-11d3-989d-001083010e9b),
1482 local
1483 /* FROZEN */
1485 interface nsIURIContentListener : nsISupports
1487 nsresult OnStartURIOpen(nsIURI *aURI, PRBool *_retval);
1488 nsresult DoContent(const char *aContentType, PRBool aIsContentPreferred, nsIRequest *aRequest,
1489 nsIStreamListener **aContentHandler, PRBool *_retval);
1490 nsresult IsPreferred(const char *aContentType, char **aDesiredContentType, PRBool *_retval);
1491 nsresult CanHandleContent(const char *aContentType, PRBool aIsContentPreferred,
1492 char **aDesiredContentType, PRBool *_retval);
1493 nsresult GetLoadCookie(nsISupports **aLoadCookie);
1494 nsresult SetLoadCookie(nsISupports *aLoadCookie);
1495 nsresult GetParentContentListener(nsIURIContentListener **aParentContentListener);
1496 nsresult SetParentContentListener(nsIURIContentListener *aParentContentListener);
1500 object,
1501 uuid(44b78386-1dd2-11b2-9ad2-e4eee2ca1916),
1502 local
1503 /* FROZEN */
1505 interface nsITooltipListener : nsISupports
1507 nsresult OnShowTooltip(PRInt32 aXCoords, PRInt32 aYCoords, const PRUnichar *aTipText);
1508 nsresult OnHideTooltip();
1512 object,
1513 uuid(69e5df00-7b8b-11d3-af61-00a024ffc08c),
1514 local
1515 /* FROZEN */
1517 interface nsIWebBrowser : nsISupports
1519 nsresult AddWebBrowserListener(nsIWeakReference *aListener, const nsIID *aIID);
1520 nsresult RemoveWebBrowserListener(nsIWeakReference *aListener, const nsIID *aIID);
1521 nsresult GetContainerWindow(nsIWebBrowserChrome **aContainerWindow);
1522 nsresult SetContainerWindow(nsIWebBrowserChrome *aContainerWindow);
1523 nsresult GetParentURIContentListener(nsIURIContentListener **aParentURIContentListener);
1524 nsresult SetParentURIContentListener(nsIURIContentListener *aParentURIContentListener);
1525 nsresult GetContentDOMWindow(nsIDOMWindow **aContentDOMWindow);
1528 cpp_quote("#define SETUP_ALLOW_JAVASCRIPT 2")
1529 cpp_quote("#define SETUP_IS_CHROME_WRAPPER 7")
1532 object,
1533 uuid(f15398a0-8018-11d3-af70-00a024ffc08c),
1534 local
1535 /* FROZEN */
1537 interface nsIWebBrowserSetup : nsISupports
1539 nsresult SetProperty(PRUint32 aId, PRUint32 aValue);
1542 typedef void* nativeWindow;
1545 object,
1546 uuid(046bc8a0-8015-11d3-af70-00a024ffc08c),
1547 local
1548 /* NOT_FROZEN */
1550 interface nsIBaseWindow : nsISupports
1552 nsresult InitWindow(nativeWindow parentNativeWindow, nsIWidget *parentWidget, PRInt32 x,
1553 PRInt32 y, PRInt32 cx, PRInt32 cy);
1554 nsresult Create();
1555 nsresult Destroy();
1556 nsresult SetPosition(PRInt32 x, PRInt32 y);
1557 nsresult GetPosition(PRInt32 *x, PRInt32 *y);
1558 nsresult SetSize(PRInt32 cx, PRInt32 cy, PRBool fRepaint);
1559 nsresult GetSize(PRInt32 *cx, PRInt32 *cy);
1560 nsresult SetPositionAndSize(PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy, PRBool fRepaint);
1561 nsresult GetPositionAndSize(PRInt32 *x, PRInt32 *y, PRInt32 *cx, PRInt32 *cy);
1562 nsresult Repaint(PRBool force);
1563 nsresult GetParentWidget(nsIWidget **aParentWidget);
1564 nsresult SetParentWidget(nsIWidget *aParentWidget);
1565 nsresult GetParentNativeWindow(nativeWindow *aParentNativeWindow);
1566 nsresult SetParentNativeWindow(nativeWindow aParentNativeWindow);
1567 nsresult GetVisibility(PRBool *aVisibility);
1568 nsresult SetVisibility(PRBool aVisibility);
1569 nsresult GetEnabled(PRBool *aEnabled);
1570 nsresult SetEnabled(PRBool aEnabled);
1571 nsresult GetBlurSuppression(PRBool *aBlurSuppression);
1572 nsresult SetBlurSuppression(PRBool aBlurSuppression);
1573 nsresult GetMainWidget(nsIWidget **aMainWidget);
1574 nsresult SetFocus();
1575 nsresult GetTitle(PRUnichar **aTitle);
1576 nsresult SetTitle(const PRUnichar *aTitle);
1579 cpp_quote("#define LOAD_FLAGS_NONE 0")
1582 object,
1583 uuid(f5d9e7b0-d930-11d3-b057-00a024ffc08c),
1584 local
1585 /* NOT_FROZEN */
1587 interface nsIWebNavigation : nsISupports
1589 nsresult GetCanGoBack(PRBool *aCanGoBack);
1590 nsresult GetCanGoForward(PRBool *aCanGoForward);
1591 nsresult GoBack();
1592 nsresult GoForward();
1593 nsresult GotoIndex(PRInt32 index);
1594 nsresult LoadURI(const PRUnichar *aURI, PRUint32 aLoadFlags, nsIURI *aReferrer,
1595 nsIInputStream *aPostData, nsIInputStream *aHeaders);
1596 nsresult Reload(PRUint32 aReloadFlags);
1597 nsresult Stop(PRUint32 aStopFlags);
1598 nsresult GetDocument(nsIDOMDocument **aDocument);
1599 nsresult GetCurrentURI(nsIURI **aCurrentURI);
1600 nsresult GetReferringURI(nsIURI **aReferringURI);
1601 nsresult GetSessionHistory(nsISHistory **aSessionHistory);
1602 nsresult SetSessionHistory(nsISHistory *aSessionHistory);
1606 object,
1607 uuid(f1094df6-ce0e-42c9-9847-2f663172c38d),
1608 local
1609 /* NOT_FROZEN */
1611 interface nsIPrintSettings : nsISupports
1613 typedef struct { char dummy; } nsMargin;
1615 nsresult SetPrintOptions(PRInt32 aType, PRBool aTurnOnOff);
1616 nsresult GetPrintOptions(PRInt32 aType, PRBool *_retval);
1617 nsresult GetPrintOptionsBits(PRInt32 *_retval);
1618 nsresult GetPageSizeInTwips(PRInt32 *aWidth, PRInt32 *aHeight);
1619 nsresult Clone(nsIPrintSettings **_retval);
1620 nsresult Assign(nsIPrintSettings *aPS);
1621 nsresult GetPrintSession(nsIPrintSession **aPrintSession);
1622 nsresult SetPrintSession(nsIPrintSession *aPrintSession);
1623 nsresult GetStartPageRange(PRInt32 *aStartPageRange);
1624 nsresult SetStartPageRange(PRInt32 aStartPageRange);
1625 nsresult GetEndPageRange(PRInt32 *aEndPageRange);
1626 nsresult SetEndPageRange(PRInt32 aEndPageRange);
1627 nsresult GetMarginTop(double *aMarginTop);
1628 nsresult SetMarginTop(double aMarginTop);
1629 nsresult GetMarginLeft(double *aMarginLeft);
1630 nsresult SetMarginLeft(double aMarginLeft);
1631 nsresult GetMarginBottom(double *aMarginBottom);
1632 nsresult SetMarginBottom(double aMarginBottom);
1633 nsresult GetMarginRight(double *aMarginRight);
1634 nsresult SetMarginRight(double aMarginRight);
1635 nsresult GetScaling(double *aScaling);
1636 nsresult SetScaling(double aScaling);
1637 nsresult GetPrintBGColors(PRBool *aPrintBGColors);
1638 nsresult SetPrintBGColors(PRBool aPrintBGColors);
1639 nsresult GetPrintBGImages(PRBool *aPrintBGImages);
1640 nsresult SetPrintBGImages(PRBool aPrintBGImages);
1641 nsresult GetPrintRange(PRInt16 *aPrintRange);
1642 nsresult SetPrintRange(PRInt16 aPrintRange);
1643 nsresult GetTitle(PRUnichar **aTitle);
1644 nsresult SetTitle(const PRUnichar *aTitle);
1645 nsresult GetDocURL(PRUnichar **aDocURL);
1646 nsresult SetDocURL(const PRUnichar *aDocURL);
1647 nsresult GetHeaderStrLeft(PRUnichar **aHeaderStrLeft);
1648 nsresult SetHeaderStrLeft(const PRUnichar *aHeaderStrLeft);
1649 nsresult GetHeaderStrCenter(PRUnichar **aHeaderStrCenter);
1650 nsresult SetHeaderStrCenter(const PRUnichar *aHeaderStrCenter);
1651 nsresult GetHeaderStrRight(PRUnichar **aHeaderStrRight);
1652 nsresult SetHeaderStrRight(const PRUnichar *aHeaderStrRight);
1653 nsresult GetFooterStrLeft(PRUnichar **aFooterStrLeft);
1654 nsresult SetFooterStrLeft(const PRUnichar *aFooterStrLeft);
1655 nsresult GetFooterStrCenter(PRUnichar **aFooterStrCenter);
1656 nsresult SetFooterStrCenter(const PRUnichar *aFooterStrCenter);
1657 nsresult GetFooterStrRight(PRUnichar **aFooterStrRight);
1658 nsresult SetFooterStrRight(const PRUnichar *aFooterStrRight);
1659 nsresult GetHowToEnableFrameUI(PRInt16 *aHowToEnableFrameUI);
1660 nsresult SetHowToEnableFrameUI(PRInt16 aHowToEnableFrameUI);
1661 nsresult GetIsCancelled(PRBool *aIsCancelled);
1662 nsresult SetIsCancelled(PRBool aIsCancelled);
1663 nsresult GetPrintFrameTypeUsage(PRInt16 *aPrintFrameTypeUsage);
1664 nsresult SetPrintFrameTypeUsage(PRInt16 aPrintFrameTypeUsage);
1665 nsresult GetPrintFrameType(PRInt16 *aPrintFrameType);
1666 nsresult SetPrintFrameType(PRInt16 aPrintFrameType);
1667 nsresult GetPrintSilent(PRBool *aPrintSilent);
1668 nsresult SetPrintSilent(PRBool aPrintSilent);
1669 nsresult GetShrinkToFit(PRBool *aShrinkToFit);
1670 nsresult SetShrinkToFit(PRBool aShrinkToFit);
1671 nsresult GetShowPrintProgress(PRBool *aShowPrintProgress);
1672 nsresult SetShowPrintProgress(PRBool aShowPrintProgress);
1673 nsresult GetPaperName(PRUnichar **aPaperName);
1674 nsresult SetPaperName(const PRUnichar *aPaperName);
1675 nsresult GetPaperSizeType(PRInt16 *aPaperSizeType);
1676 nsresult SetPaperSizeType(PRInt16 aPaperSizeType);
1677 nsresult GetPaperData(PRInt16 *aPaperData);
1678 nsresult SetPaperData(PRInt16 aPaperData);
1679 nsresult GetPaperWidth(double *aPaperWidth);
1680 nsresult SetPaperWidth(double aPaperWidth);
1681 nsresult GetPaperHeight(double *aPaperHeight);
1682 nsresult SetPaperHeight(double aPaperHeight);
1683 nsresult GetPaperSizeUnit(PRInt16 *aPaperSizeUnit);
1684 nsresult SetPaperSizeUnit(PRInt16 aPaperSizeUnit);
1685 nsresult GetPlexName(PRUnichar **aPlexName);
1686 nsresult SetPlexName(const PRUnichar *aPlexName);
1687 nsresult GetColorspace(PRUnichar **aColorspace);
1688 nsresult SetColorspace(const PRUnichar *aColorspace);
1689 nsresult GetResolutionName(PRUnichar **aResolutionName);
1690 nsresult SetResolutionName(const PRUnichar aResolutionName);
1691 nsresult GetDownloadFonts(PRBool *aDownloadFonts);
1692 nsresult SetDownloadFonts(PRBool aDownloadFonts);
1693 nsresult GetPrintReversed(PRBool *aPrintReversed);
1694 nsresult SetPrintReversed(PRBool aPrintReversed);
1695 nsresult GetPrintInColor(PRBool *aPrintInColor);
1696 nsresult SetPrintInColor(PRBool aPrintInColor);
1697 nsresult GetPaperSize(PRInt32 *aPaperSize);
1698 nsresult SetPaperSize(PRInt32 aPaperSize);
1699 nsresult GetOrientation(PRInt32 *aOrientation);
1700 nsresult SetOrientation(PRInt32 aOrientation);
1701 nsresult GetPrintCommand(PRUnichar **aPrintCommand);
1702 nsresult SetPrintCommand(const PRUnichar *aPrintCommand);
1703 nsresult GetNumCopies(PRInt32 *aNumCopies);
1704 nsresult SetNumCopies(PRInt32 aNumCopies);
1705 nsresult GetPrinterName(PRUnichar **aPrinterName);
1706 nsresult SetPrinterName(const PRUnichar *aPrinterName);
1707 nsresult GetPrintToFile(PRBool *aPrintToFile);
1708 nsresult SetPrintToFile(PRBool aPrintToFile);
1709 nsresult GetToFileName(PRUnichar **aToFileName);
1710 nsresult SetToFileName(const PRUnichar *aToFileName);
1711 nsresult GetPrintPageDelay(PRInt32 *aPrintPageDelay);
1712 nsresult SetPrintPageDelay(PRInt32 aPrintPageDelay);
1713 nsresult GetIsInitializedFromPrinter(PRBool *aIsInitializedFromPrinter);
1714 nsresult SetIsInitializedFromPrinter(PRBool aIsInitializedFromPrinter);
1715 nsresult GetIsInitializedFromPrefs(PRBool *aIsInitializedFromPrefs);
1716 nsresult SetIsInitializedFromPrefs(PRBool aIsInitializedFromPrefs);
1717 nsresult SetMarginInTwips(nsMargin *aMargin);
1718 nsresult GetMarginInTwips(nsMargin *aMargin);
1722 object,
1723 uuid(9a7ca4b0-fbba-11d4-a869-00105a183419),
1724 local
1725 /* FROZEN */
1727 interface nsIWebBrowserPrint : nsISupports
1729 nsresult GetGlobalPrintSettings(nsIPrintSettings **aGlobalPrintSettings);
1730 nsresult GetCurrentPrintSettings(nsIPrintSettings **aCurrentPrintSettings);
1731 nsresult GetCurrentChildDOMWindow(nsIDOMWindow **aCurrentChildDOMWindow);
1732 nsresult GetDoingPrint(PRBool *aDoingPrint);
1733 nsresult GetDoingPrintPreview(PRBool *aDoingPrintPreview);
1734 nsresult GetIsFramesetDocument(PRBool *aIsFramesetDocument);
1735 nsresult GetIsFramesetFrameSelected(PRBool *aIsFramesetFrameSelected);
1736 nsresult GetIsIFrameSelected(PRBool *aIsIFrameSelected);
1737 nsresult GetIsRangeSelection(PRBool *aIsRangeSelection);
1738 nsresult GetPrintPreviewNumPages(PRInt32 *aPrintPreviewNumPages);
1739 nsresult Print(nsIPrintSettings *aThePrintSettings, nsIWebProgressListener *aWPListener);
1740 nsresult PrintPreview(nsIPrintSettings *aThePrintSettings, nsIDOMWindow *aChildDOMWin,
1741 nsIWebProgressListener *aWPListener);
1742 nsresult PrintPreviewNavigate(PRInt16 aNavType, PRInt32 aPageNum);
1743 nsresult Cancel();
1744 nsresult EnumerateDocumentNames(PRUint32 *aCount, PRUnichar ***aResult);
1745 nsresult ExitPrintPreview();
1749 object,
1750 uuid(919e792a-6490-40b8-bba5-f9e9ad5640c8),
1751 local
1752 /* NOT_FROZEN */
1754 interface nsIScrollable : nsISupports
1756 enum {
1757 ScrollOrientation_X = 1,
1758 ScrollOrientation_Y = 2
1761 enum {
1762 Scrollbar_Auto = 1,
1763 Scrollbar_Never = 2,
1764 Scrollbar_Always = 3
1767 nsresult GetCurScrollPos(PRInt32 scrollOrientation, PRInt32 *curPos);
1768 nsresult SetCurScrollPos(PRInt32 scrollOrientation, PRInt32 curPos);
1769 nsresult SetCurScrollPosEx(PRInt32 curHorizontalPos, PRInt32 curVerticalPos);
1770 nsresult GetScrollRange(PRInt32 scrollOrientation, PRInt32 *minPos, PRInt32 *maxPos);
1771 nsresult SetScrollRange(PRInt32 scrollOrientation, PRInt32 minPos, PRInt32 maxPos);
1772 nsresult SetScrollRangeEx(PRInt32 minHorizontalPos, PRInt32 maxHorizontalPos,
1773 PRInt32 minVerticalPos, PRInt32 maxVerticalPos);
1774 nsresult GetDefaultScrollbarPreferences(PRInt32 scrollOrientation, PRInt32 *scrollbarPref);
1775 nsresult SetDefaultScrollbarPreferences(PRInt32 scrollOrientation, PRInt32 scrollbarPref);
1776 nsresult GetScrollbarVisibility(PRBool *verticalVisible, PRBool *horizontalVisible);
1780 object,
1781 uuid(c8c0a080-0868-11d3-915f-d9d889d48e3c),
1782 local
1783 /* FROZEN */
1785 interface nsIFile : nsISupports
1787 nsresult Append(const nsAString *node);
1788 nsresult AppendNative(const nsAString *node);
1789 nsresult Normalize();
1790 nsresult Create(PRUint32 type, PRUint32 permission);
1791 nsresult GetLeafName(nsAString *aLeafName);
1792 nsresult SetLeafName(const nsAString *aLeafName);
1793 nsresult GetNativeLeafName(nsAString *aLeafName);
1794 nsresult SetNativeLeafName(const nsAString *aLeafName);
1795 nsresult CopyTo(nsIFile *newParentDir, const nsAString *newName);
1796 nsresult CopyToNative(nsIFile *newParentDir, const nsAString *newName);
1797 nsresult CopyToFollowingLinks(nsIFile *newParentDir, const nsAString *newName);
1798 nsresult CopyToFollowingLinksNative(nsIFile *newParentDir, const nsAString *newName);
1799 nsresult MoveTo(nsIFile *newParentDir, const nsAString *newName);
1800 nsresult MoveToNative(nsIFile *newParentDir, const nsAString *newName);
1801 nsresult Remove(PRBool recursive);
1802 nsresult GetPermissions(PRUint32 *aPermissions);
1803 nsresult SetPermissions(PRUint32 pPermissions);
1804 nsresult GetPermissionsOfLink(PRUint32 *aPermissions);
1805 nsresult SetPermissionsOfLink(PRUint32 pPermissions);
1806 nsresult GetLastModifiedTime(PRInt64 *aLastModifiedTime);
1807 nsresult SetLastModifiedTime(PRInt64 aLastModifiedTime);
1808 nsresult GetFileSize(PRInt64 *aFileSize);
1809 nsresult SetFileSize(PRInt64 aFileSize);
1810 nsresult GetFileSizeOfLink(PRInt64 *aFileSizeOfLink);
1811 nsresult GetTarget(nsAString *aTarget);
1812 nsresult GetNativeTarget(nsACString *aNativeTarget);
1813 nsresult GetPath(nsAString *aPath);
1814 nsresult GetNativePath(nsACString *aNativePath);
1815 nsresult Exists(PRBool *_retval);
1816 nsresult IsWritable(PRBool *_retval);
1817 nsresult IsReadable(PRBool *_retval);
1818 nsresult IsExecutable(PRBool *_retval);
1819 nsresult IsHidden(PRBool *_retval);
1820 nsresult IsDirectory(PRBool *_retval);
1821 nsresult IsFile(PRBool *_retval);
1822 nsresult IsSymlink(PRBool *_retval);
1823 nsresult IsSpecial(PRBool *_retval);
1824 nsresult CreateUnique(PRUint32 type, PRUint32 permission);
1825 nsresult Clone(nsIFile **_retval);
1826 nsresult Equals(nsIFile *inFile, PRBool *_retval);
1827 nsresult Contains(nsIFile *inFile, PRBool recir, PRBool *_retval);
1828 nsresult GetParent(nsIFile **aParent);
1829 nsresult GetDirectoryEntries(nsISimpleEnumerator **aDirectoryEntries);
1833 object,
1834 uuid(56c35506-f14b-11d3-99d3-ddbfac2ccf65),
1835 local
1836 /* FROZEN */
1838 interface nsIPrefBranch : nsISupports
1840 nsresult GetRoot(char **aRoot);
1841 nsresult GetPrefType(const char *aPrefName, PRInt32 *_retval);
1842 nsresult GetBoolPref(const char *aPrefName, PRBool *_retval);
1843 nsresult SetBoolPref(const char *aPrefName, PRInt32 aValue);
1844 nsresult GetCharPref(const char *aPrefName, char **_retval);
1845 nsresult SetCharPref(const char *aPrefName, const char *aValue);
1846 nsresult GetIntPref(const char *aPrefName, PRInt32 *_retval);
1847 nsresult SetIntPref(const char *aPrefName, PRInt32 aValue);
1848 nsresult GetComplexValue(const char *aPrefName, const nsIID *aType, void **aValue);
1849 nsresult SetComplexValue(const char *aPrefName, const nsIID *aType, nsISupports *aValue);
1850 nsresult ClearUserPref(const char *aPrefName);
1851 nsresult LockPref(const char *aPrefName);
1852 nsresult PrefHasUserValue(const char *aPrefName, PRBool *_retval);
1853 nsresult PrefIsLocked(const char *aPrefName, PRBool *_retval);
1854 nsresult UnlockPref(const char *aPrefName);
1855 nsresult DeleteBranch(const char *aStartingAt);
1856 nsresult GetChildList(const char *aStartingAt, PRUint32 *aCount, char ***aChildArray);
1857 nsresult ResetBranch(const char *aStartingAt);
1861 object,
1862 uuid(15fd6940-8ea7-11d3-93ad-00104ba0fd40),
1863 local
1864 /* FROZEN */
1866 interface nsIProtocolHandler : nsISupports
1868 nsresult GetScheme(nsACString *aScheme);
1869 nsresult GetDefaultPort(PRInt32 *aDefaultPort);
1870 nsresult GetProtocolFlags(PRUint32 *aProtocolFlags);
1871 nsresult NewURI(const nsACString *aSpec, const char *aOriginCharset,
1872 nsIURI *aBaseURI, nsIURI **_retval);
1873 nsresult NewChannel(nsIURI *aURI, nsIChannel **_retval);
1874 nsresult AllowPort(PRInt32 port, const char *scheme, PRBool *_retval);
1878 object,
1879 uuid(0e61f3b2-34d7-4c79-bfdc-4860bc7341b7),
1880 local
1881 /* NOT_FROZEN */
1883 interface nsIExternalProtocolHandler : nsIProtocolHandler
1885 nsresult ExternalAppExistsForScheme(const nsACString *scheme, PRBool *_retval);
1889 object,
1890 uuid(bddeda3f-9020-4d12-8c70-984ee9f7935e),
1891 local
1892 /* FROZEN */
1894 interface nsIIOService : nsISupports
1896 nsresult GetProtocolHandler(const char *aScheme, nsIProtocolHandler **_retval);
1897 nsresult GetProtocolFlags(const char *aScheme, PRUint32 *_retval);
1898 nsresult NewURI(const nsACString *aSpec, const char *aOriginCharset, nsIURI *aBaseURI,
1899 nsIURI **_retval);
1900 nsresult NewFileURI(nsIFile *aFile, nsIURI **_retval);
1901 nsresult NewChannelFromURI(nsIURI *aURI, nsIChannel **_retval);
1902 nsresult NewChannel(const nsACString *aSpec, const char *aOriginCharset, nsIURI *aBaseURI,
1903 nsIChannel **_retval);
1904 nsresult GetOffline(PRBool *aOffline);
1905 nsresult SetOffline(PRBool aOffline);
1906 nsresult AllowPort(PRInt32 aPort, const char *aScheme, PRBool *_retval);
1907 nsresult ExtractScheme(const nsACString *urlString, nsACString * _retval);
1911 object,
1912 uuid(f0c5dddb-4713-4603-af2d-bf671838996b),
1913 local,
1914 /* NOT_FROZEN */
1916 interface nsINetUtil : nsISupports
1918 nsresult ParseContentType(const nsACString *aTypeHeader, nsACString *aCharset,
1919 PRBool *aHadCharset, nsACString *aContentType);
1923 object,
1924 uuid(9c5d3c58-1dd1-11b2-a1c9-f3699284657a),
1925 local
1926 /* FROZEN */
1928 interface nsIWebBrowserFocus : nsISupports
1930 nsresult Activate();
1931 nsresult Deactivate();
1932 nsresult SetFocusAtFirstElement();
1933 nsresult SetFocusAtLastElement();
1934 nsresult GetFocusedWindow(nsIDOMWindow **aFocusedWindow);
1935 nsresult SetFocusedWindow(nsIDOMWindow *aFocusedWindow);
1936 nsresult GetFocusedElement(nsIDOMElement **aFocusedElement);
1937 nsresult SetFocusedElement(nsIDOMElement *aFocusedElement);
1941 object,
1942 uuid(ba434c60-9d52-11d3-afb0-00a024ffc08c),
1943 local
1944 /* FROZEN */
1946 interface nsIWebBrowserChrome : nsISupports
1948 nsresult SetStatus(PRUint32 statusType, const PRUnichar *status);
1949 nsresult GetWebBrowser(nsIWebBrowser **aWebBrowser);
1950 nsresult SetWebBrowser(nsIWebBrowser *aWebBrowser);
1951 nsresult GetChromeFlags(PRUint32 *aChromeFlags);
1952 nsresult SetChromeFlags(PRUint32 aChromeFlags);
1953 nsresult DestroyBrowserWindow();
1954 nsresult SizeBrowserTo(PRInt32 aCX, PRInt32 aCY);
1955 nsresult ShowAsModal();
1956 nsresult IsWindowModal(PRBool *_retval);
1957 nsresult ExitModalEventLoop(nsresult aStatus);
1961 object,
1962 uuid(df31c120-ded6-11d1-bd85-00805f8ae3f4),
1963 local
1964 /* FROZEN */
1966 interface nsIDOMEventListener : nsISupports
1968 nsresult HandleEvent(nsIDOMEvent *event);
1972 object,
1973 uuid(1c773b30-d1cf-11d2-bd95-00805f8ae3f4),
1974 local
1975 /* FROZEN */
1977 interface nsIDOMEventTarget : nsISupports
1979 nsresult AddEventListener(const nsAString *type, nsIDOMEventListener *listener, PRBool useCapture);
1980 nsresult RemoveEventListener(const nsAString *type, nsIDOMEventListener *listener, PRBool useCapture);
1981 nsresult DispatchEvent(nsIDOMEvent *evt, PRBool *_retval);
1985 object,
1986 uuid(a66b7b80-ff46-bd97-0080-5f8ae38add32),
1987 local
1988 /* FROZEN */
1990 interface nsIDOMEvent : nsISupports
1992 nsresult GetType(nsAString *aType);
1993 nsresult GetTarget(nsIDOMEventTarget **aTarget);
1994 nsresult GetCurrentTarget(nsIDOMEventTarget **aCurrentTarget);
1995 nsresult GetEventPhase(PRUint16 *aEventPhase);
1996 nsresult GetBubbles(PRBool *aBubbles);
1997 nsresult GetCancelable(PRBool *aCancelable);
1998 nsresult GetTimeStamp(DOMTimeStamp *aTimeStamp);
1999 nsresult StopPropagation();
2000 nsresult PreventDefault();
2001 nsresult InitEvent(const nsAString *eventTypeArg, PRBool canBubbleArg, PRBool cancelableArg);
2004 cpp_quote("#define CONTEXT_NONE 0x00")
2005 cpp_quote("#define CONTEXT_LINK 0x01")
2006 cpp_quote("#define CONTEXT_IMAGE 0x02")
2007 cpp_quote("#define CONTEXT_DOCUMENT 0x04")
2008 cpp_quote("#define CONTEXT_TEXT 0x08")
2009 cpp_quote("#define CONTEXT_INPUT 0x10")
2010 cpp_quote("#define CONTEXT_BACKGROUND_IMAGE 0x20")
2013 object,
2014 uuid(3478b6b0-3875-11d4-94ef-0020183bf181),
2015 local
2016 /* FROZEN */
2018 interface nsIContextMenuListener : nsISupports
2020 nsresult OnShowContextMenu(PRUint32 aContextFlags, nsIDOMEvent *aEvent, nsIDOMNode *aNode);
2024 object,
2025 uuid(a6cf90c3-15b3-11d2-932e-00805f8add32),
2026 local
2027 /* FROZEN */
2029 interface nsIDOMUIEvent : nsIDOMEvent
2031 nsresult GetView(nsIDOMAbstractView **aView);
2032 nsresult GetDetail(PRInt32 *aDetail);
2033 nsresult InitUIEvent(const nsAString *typeArg, PRBool canBubbleArg, PRBool cancelableArg,
2034 nsIDOMAbstractView *viewArg, PRInt32 detailArg);
2038 object,
2039 uuid(ff751edc-8b02-aae7-0010-8301838a3123),
2040 local
2041 /* FROZEN */
2043 interface nsIDOMMouseEvent : nsIDOMUIEvent
2045 nsresult GetScreenX(PRInt32 *aScreenX);
2046 nsresult GetScreenY(PRInt32 *aScreenY);
2047 nsresult GetClientX(PRInt32 *aClientX);
2048 nsresult GetClientY(PRInt32 *aClientY);
2049 nsresult GetCtrlKey(PRBool *aCtrlKey);
2050 nsresult GetShiftKey(PRBool *aShiftKey);
2051 nsresult GetAltKey(PRBool *aAltKey);
2052 nsresult GetMetaKey(PRBool *aMetaKey);
2053 nsresult GetButton(PRUint16 *aButton);
2054 nsresult GetRelatedTarget(nsIDOMEventTarget * *aRelatedTarget);
2055 nsresult InitMouseEvent(const nsAString *typeArg, PRBool canBubbleArg, PRBool cancelableArg,
2056 nsIDOMAbstractView *viewArg, PRInt32 detailArg, PRInt32 screenXArg, PRInt32 screenYArg,
2057 PRInt32 clientXArg, PRInt32 clientYArg, PRBool ctrlKeyArg, PRBool altKeyArg,
2058 PRBool shiftKeyArg, PRBool metaKeyArg, PRUint16 buttonArg,
2059 nsIDOMEventTarget *relatedTargetArg);
2063 object,
2064 uuid(028e0e6e-8b01-11d3-aae7-0010838a3123),
2065 local
2066 /* NOT_FROZEN */
2068 interface nsIDOMKeyEvent : nsIDOMUIEvent
2070 nsresult GetCharCode(PRUint32 *aCharCode);
2071 nsresult GetKeyCode(PRUint32 *aKeyCode);
2072 nsresult GetAltKey(PRBool *aAltKey);
2073 nsresult GetCtrlKey(PRBool *aCtrlKey);
2074 nsresult GetShiftKey(PRBool *aShiftKey);
2075 nsresult GetMetaKey(PRBool *aMetaKey);
2076 nsresult InitKeyEvent(const nsAString *typeArg, PRBool canBubbleArg,
2077 PRBool cancelableArg, nsIDOMAbstractView *viewArg, PRBool ctrlKeyArg,
2078 PRBool altKeyArg, PRBool shiftKeyArg, PRBool metaKeyArg, PRUint32 keyCodeArg,
2079 PRUint32 charCodeArg);
2083 object,
2084 uuid(3e5432cd-9568-4bd1-8cbe-d50aba110743),
2085 local
2086 /* FROZEN */
2088 interface nsIEmbeddingSiteWindow : nsISupports
2090 nsresult SetDimensions(PRUint32 flags, PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy);
2091 nsresult GetDimensions(PRUint32 flags, PRInt32 *x, PRInt32 *y, PRInt32 *cx, PRInt32 *cy);
2092 nsresult SetFocus();
2093 nsresult GetVisibility(PRBool *aVisibility);
2094 nsresult SetVisibility(PRBool aVisibility);
2095 nsresult GetTitle(PRUnichar **aTitle);
2096 nsresult SetTitle(const PRUnichar *aTitle);
2097 nsresult GetSiteWindow(void **aSiteWindow);
2101 object,
2102 uuid(2417cbfe-65ad-48a6-b4b6-eb84db174392),
2103 local
2104 /* FROZEN */
2106 interface nsIComponentRegistrar : nsISupports
2108 nsresult AutoRegister(nsIFile *aSpec);
2109 nsresult AutoUnregister(nsIFile *aSpec);
2110 nsresult RegisterFactory(const nsCID *aClass, const char *aClassName,
2111 const char *aContractID, nsIFactory *aFactory);
2112 nsresult UnregisterFactory(const nsCID *aClass, nsIFactory *aFactory);
2113 nsresult RegisterFactoryLocation(const nsCID *aClass, const char *aClassName,
2114 const char *aContractID, nsIFile *aFile, const char *aLoaderStr,
2115 const char *aType);
2116 nsresult UnregisterFactoryLocation(const nsCID *aClass, nsIFile *aFile);
2117 nsresult IsCIDRegistered(const nsCID *aClass, PRBool *_retval);
2118 nsresult IsContractIDRegistered(const char *aContractID, PRBool *_retval);
2119 nsresult EnumerateCIDs(nsISimpleEnumerator **_retval);
2120 nsresult EnumerateContractIDs(nsISimpleEnumerator **_retval);
2121 nsresult CIDToContractID(const nsCID *aClass, char **_retval);
2122 nsresult ContractIDToCID(const char *aContractID, nsCID **_retval);
2126 object,
2127 uuid(1630c61a-325e-49ca-8759-a31b16c47aa5),
2128 local
2129 /* FROZEN */
2131 interface nsIPromptService : nsISupports
2133 nsresult Alert(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
2134 const PRUnichar *aText);
2135 nsresult AlertCheck(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
2136 const PRUnichar *aText, const PRUnichar *aCheckMsg, PRBool *aCheckState);
2137 nsresult Confirm(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
2138 const PRUnichar *aText, PRBool *_retval);
2139 nsresult ConfirmCheck(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
2140 const PRUnichar *aText, const PRUnichar *aCheckMsg, PRBool *aCheckState,
2141 PRBool *_retval);
2142 nsresult ConfirmEx(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
2143 const PRUnichar *aText, PRUint32 aButtonFlags, const PRUnichar *aButton0Title,
2144 const PRUnichar *aButton1Title, const PRUnichar *aButton2Title,
2145 const PRUnichar *aCheckMsg, PRBool *aCheckState, PRInt32 *_retval);
2146 nsresult Prompt(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
2147 const PRUnichar *aText, PRUnichar **aValue, const PRUnichar *aCheckMsg,
2148 PRBool *aCheckState, PRBool *_retval);
2149 nsresult PromptUsernameAndPassword(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
2150 const PRUnichar *aText, PRUnichar **aUsername, PRUnichar **aPassword,
2151 const PRUnichar *aCheckMsg, PRBool *aCheckState, PRBool *_retval);
2152 nsresult PromptPassword(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
2153 const PRUnichar *aText, PRUnichar **aPassword, const PRUnichar *aCheckMsg,
2154 PRBool *aCheckState, PRBool *_retval);
2155 nsresult Select(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
2156 const PRUnichar *aText, PRUint32 aCount, const PRUnichar **aSelectList,
2157 PRInt32 *aOutSelection, PRBool *_retval);
2161 object,
2162 uuid(b128a1e6-44f3-4331-8fbe-5af360ff21ee),
2163 local
2164 /* FROZEN */
2166 interface nsITooltipTextProvider : nsISupports
2168 nsresult GetNodeText(nsIDOMNode *aNode, PRUnichar **aText, PRBool *_retval);
2172 object,
2173 uuid(02b0625a-e7f3-11d2-9f5a-006008a6efe9),
2174 local
2175 /* FROZEN */
2177 interface nsIProfile : nsISupports
2179 nsresult GetProfileCount(PRInt32 *aProfileCount);
2180 nsresult GetProfileList(PRUint32 *length, PRUnichar ***profileNames);
2181 nsresult ProfileExists(const PRUnichar *profileName, PRBool *_retval);
2182 nsresult GetCurrentProfile(PRUnichar * *aCurrentProfile);
2183 nsresult SetCurrentProfile(const PRUnichar * aCurrentProfile);
2184 nsresult ShutDownCurrentProfile(PRUint32 shutDownType);
2185 nsresult CreateNewProfile(const PRUnichar *profileName,
2186 const PRUnichar *nativeProfileDir, const PRUnichar *langcode,
2187 PRBool useExistingDir);
2188 nsresult RenameProfile(const PRUnichar *oldName, const PRUnichar *newName);
2189 nsresult DeleteProfile(const PRUnichar *name, PRBool canDeleteFiles);
2190 nsresult CloneProfile(const PRUnichar *profileName);
2194 object,
2195 uuid(30465632-a777-44cc-90f9-8145475ef999),
2196 local
2197 /* FROZEN */
2199 interface nsIWindowCreator : nsISupports
2201 nsresult CreateChromeWindow(nsIWebBrowserChrome *parent, PRUint32 chromeFlags,
2202 nsIWebBrowserChrome **_retval);
2206 object,
2207 uuid(f673ec81-a4b0-11d6-964b-eb5a2bf216fc),
2208 local
2209 /* NOT_FROZEN */
2211 interface nsIWindowCreator2 : nsIWindowCreator
2213 nsresult CreateChromeWindow2(nsIWebBrowserChrome *parent, PRUint32 chromeFlags,
2214 PRUint32 contextFlags, nsIURI *uri, PRBool *cancel,
2215 nsIWebBrowserChrome **_retval);
2219 object,
2220 uuid(002286a8-494b-43b3-8ddd-49e3fc50622b),
2221 local
2222 /* FROZEN */
2224 interface nsIWindowWatcher : nsISupports
2226 nsresult OpenWindow(nsIDOMWindow *aParent, const char *aUrl, const char *aName,
2227 const char *aFeatures, nsISupports *aArguments, nsIDOMWindow **_retval);
2228 nsresult RegisterNotification(nsIObserver *aObserver);
2229 nsresult UnregisterNotification(nsIObserver *aObserver);
2230 nsresult GetWindowEnumerator(nsISimpleEnumerator **_retval);
2231 nsresult GetNewPrompter(nsIDOMWindow *aParent, nsIPrompt **_retval);
2232 nsresult GetNewAuthPrompter(nsIDOMWindow *aParent, nsIAuthPrompt **_retval);
2233 nsresult SetWindowCreator(nsIWindowCreator *creator);
2234 nsresult GetChromeForWindow(nsIDOMWindow *aWindow, nsIWebBrowserChrome **_retval);
2235 nsresult GetWindowByName(const PRUnichar *aTargetName, nsIDOMWindow *aCurrentWindow,
2236 nsIDOMWindow **_retval);
2237 nsresult GetActiveWindow(nsIDOMWindow **aActiveWindow);
2238 nsresult SetActiveWindow(nsIDOMWindow *aActiveWindow);
2242 object,
2243 uuid(d39fd2b4-3978-45d2-a4be-ba448171b61b),
2244 local
2245 /* NOT_FROZEN */
2247 interface nsIEditingSession : nsISupports
2249 nsresult GetEditorStatus(PRUint32 *aEditorStatus);
2250 nsresult MakeWindowEditable(nsIDOMWindow *window, const char *aEditorType,
2251 PRBool doAfterUriLoad);
2252 nsresult WindowIsEditable(nsIDOMWindow *window, PRBool *_retval);
2253 nsresult GetEditorForWindow(nsIDOMWindow *window, nsIEditor **_retval);
2254 nsresult SetupEditorOnWindow(nsIDOMWindow *window);
2255 nsresult TearDownEditorOnWindow(nsIDOMWindow *window);
2256 nsresult SetEditorOnControllers(nsIDOMWindow *aWindow, nsIEditor *aEditor);
2260 object,
2261 uuid(83f892cf-7ed3-490e-967a-62640f3158e1),
2262 local
2263 /* NOT_FROZEN */
2265 interface nsICommandParams : nsISupports
2267 nsresult GetValueType(const char *name, PRInt16 *_retval);
2268 nsresult GetBooleanValue(const char *name, PRBool *_retval);
2269 nsresult GetLongValue(const char *name, PRInt32 *_retval);
2270 nsresult GetDoubleValue(const char *name, double *_retval);
2271 nsresult GetStringValue(const char *name, nsAString *_retval);
2272 nsresult GetCStringValue(const char *name, char **_retval);
2273 nsresult GetISupportsValue(const char *name, nsISupports **_retval);
2274 nsresult SetBooleanValue(const char *name, PRBool value);
2275 nsresult SetLongValue(const char *name, PRInt32 value);
2276 nsresult SetDoubleValue(const char *name, double value);
2277 nsresult SetStringValue(const char *name, const nsAString *value);
2278 nsresult SetCStringValue(const char *name, const char *value);
2279 nsresult SetISupportsValue(const char *name, nsISupports *value);
2280 nsresult RemoveValue(const char *name);
2281 nsresult HasMoreElements(PRBool *_retval);
2282 nsresult First();
2283 nsresult GetNext(char **_retval);
2287 object,
2288 uuid(080d2001-f91e-11d4-a73c-f9242928207c),
2289 local
2290 /* NOT_FROZEN */
2292 interface nsICommandManager : nsISupports
2294 nsresult AddCommandObserver(nsIObserver *aCommandObserver, const char *aCommandToObserve);
2295 nsresult RemoveCommandObserver(nsIObserver *aCommandObserver, const char *aCommandObserved);
2296 nsresult IsCommandSupported(const char *aCommandName, nsIDOMWindow *aTargetWindow, PRBool *_retval);
2297 nsresult IsCommandEnabled(const char *aCommandName, nsIDOMWindow *aTargetWindow, PRBool *_retval);
2298 nsresult GetCommandState(const char *aCommandName, nsIDOMWindow *aTargetWindow,
2299 nsICommandParams *aCommandParams);
2300 nsresult DoCommand(const char *aCommandName, nsICommandParams *aCommandParams,
2301 nsIDOMWindow *aTargetWindow);
2305 object,
2306 uuid(47b82b60-a36f-4167-8072-6f421151ed50),
2307 local
2308 /* NOT_FROZEN */
2310 interface nsIControllerContext : nsISupports
2312 nsresult Init(nsIControllerCommandTable *aCommandTable);
2313 nsresult SetCommandContext(nsISupports *aCommandContext);
2317 object,
2318 uuid(d5b61b82-1da4-11d3-bf87-00105a1b0627),
2319 local
2320 /* NOT_FROZEN */
2322 interface nsIController : nsISupports
2324 nsresult IsCommandEnabled(const char *command, PRBool *_retval);
2325 nsresult SupportsCommand(const char *command, PRBool *_retval);
2326 nsresult DoCommand(const char *command);
2327 nsresult OnEvent(const char *eventName);
2331 object,
2332 uuid(d650439a-ca29-410d-a906-b0557fb62fcd),
2333 local
2334 /* NOT_FROZEN */
2336 interface nsIContentSerializer : nsISupports
2338 nsresult Init(PRUint32 flags, PRUint32 aWrapColumn, const char* aCharSet, PRBool aIsCopying);
2339 nsresult AppendText(nsIDOMText *aText, PRInt32 aStartOffset, PRInt32 aEndOffset, nsAString *aStr);
2340 nsresult AppendCDATASection(nsIDOMCDATASection *aCDATASection, PRInt32 aStartOffset,
2341 PRInt32 aEndOffset, nsAString *aStr);
2342 nsresult AppendProcessingInstruction(nsIDOMProcessingInstruction* aPI, PRInt32 aStartOffset,
2343 PRInt32 aEndOffset, nsAString *aStr);
2344 nsresult AppendComment(nsIDOMComment *aComment, PRInt32 aStartOffset, PRInt32 aEndOffset,
2345 nsAString *aStr);
2346 nsresult AppendDoctype(nsIDOMDocumentType *aDoctype, nsAString *aStr);
2347 nsresult AppendElementStart(nsIDOMElement *aElement, PRBool aHasChildren, nsAString *aStr);
2348 nsresult AppendElementEnd(nsIDOMElement *aElement, nsAString *aStr);
2349 nsresult Flush(nsAString *aStr);
2350 nsresult AppendDocumentStart(nsIDOMDocument *aDocument, nsAString *aStr);
2354 object,
2355 uuid(68b97c56-2289-48ac-a9e1-72c30fd3dba2),
2356 local
2358 interface nsIScriptContainer : nsISupports
2360 typedef void *JSObject;
2362 nsresult GetContext(void **aContext);
2363 nsresult GetGlobalObject(void **aGlobalObject);
2364 nsresult CompileScript(const PRUnichar *aText, PRInt32 aTextLength, void *aScopeObject,
2365 nsIPrincipal *aPrincipal, const char *aURL, PRUint32 aLineNo, PRUint32 aVersion, void **_retval);
2366 nsresult ExecuteScript(void *aScriptObject, void *aScopeObject, nsAString *aRetVal, PRBool *aIsUndefined);
2367 nsresult CompileFunction(void *aTarget, const nsACString *aName, PRUint32 aArgCount,
2368 const char **aArgArray, const nsAString *aBody, const char *aURL, PRInt32 aLineNo,
2369 PRBool aShared, void* *_retval);
2370 nsresult CallFunction(nsISupports *aTarget, void *aScope, void *aHandler, nsIArray *argv,
2371 nsIVariant **_retval);
2372 nsresult BindEventHandler(nsISupports *aTarget, void *aScope, nsIAtom *aName, void *aHandler);
2373 nsresult HoldScriptObject(void *aObject);
2374 nsresult DropScriptObject(void *aObject);
2378 object,
2379 uuid(D4882FFB-E927-408b-96BE-D4391B456FA9),
2380 local
2382 interface nsIEditor : nsISupports
2384 typedef void *nsIPresShellPtr;
2385 typedef void *nsIContentPtr;
2387 nsresult GetSelection([out] nsISelection *_retval);
2388 nsresult Init([in] nsIDOMDocument *doc, [in] nsIPresShellPtr shell, [in] nsIContentPtr aRoot, [in] nsISelectionController *aSelCon, [in] PRUint32 aFlags);
2389 nsresult SetAttributeOrEquivalent([in] nsIDOMElement *element, [in] const nsAString *sourceAttrName, [in] const nsAString *sourceAttrValue, [in] PRBool aSuppressTransaction);
2390 nsresult RemoveAttributeOrEquivalent([in] nsIDOMElement *element, [in] const nsAString *sourceAttrName, [in] PRBool aSuppressTransaction);
2391 nsresult PostCreate();
2392 nsresult PreDestroy();
2393 nsresult GetFlags([out] PRUint32 *_retval);
2394 nsresult SetFlags([in] PRUint32 val);
2395 nsresult GetContentsMIMEType([out] char **_retval);
2396 nsresult SetContentsMIMEType([in] const char *val);
2397 nsresult GetIsDocumentEditable([out] PRBool *_retval);
2398 nsresult GetDocument([out] nsIDOMDocument **_retval);
2399 nsresult GetRootElement([out] nsIDOMElement **_retval);
2400 nsresult GetSelectionController([out] nsISelectionController **_retval);
2401 nsresult DeleteSelection([in] PRInt16 action);
2402 nsresult GetDocumentIsEmpty([out] PRBool *_retval);
2403 nsresult GetDocumentModified([out] PRBool *_retval);
2404 nsresult GetDocumentCharacterSet([out] nsACString *_retval);
2405 nsresult SetDocumentCharacterSet([in] const nsACString *val);
2406 nsresult ResetModificationCount();
2407 nsresult GetModificationCount([out] PRInt32 *_retval);
2408 nsresult IncrementModificationCount([in] long aModCount);
2409 nsresult GetTransactionManager([out] nsITransactionManager **_retval);
2410 nsresult DoTransaction([in] nsITransaction *txn);
2411 nsresult EnableUndo([in] PRBool enable);
2412 nsresult Undo([in] PRUint32 count);
2413 nsresult CanUndo([out] PRBool *isEnabled, [out] PRBool *canUndo);
2414 nsresult Redo([in] PRUint32 count);
2415 nsresult CanRedo([out] PRBool *isEnabled, [out] PRBool *canRedo);
2416 nsresult BeginTransaction();
2417 nsresult EndTransaction();
2418 nsresult BeginPlaceHolderTransaction([in] nsIAtom *name);
2419 nsresult EndPlaceHolderTransaction();
2420 nsresult ShouldTxnSetSelection([out] PRBool *_retval);
2421 nsresult SetShouldTxnSetSelection([in] PRBool should);
2422 nsresult GetInlineSpellChecker([out] nsIInlineSpellChecker **_retval);
2423 nsresult Cut();
2424 nsresult CanCut([out] PRBool *_retval);
2425 nsresult Copy();
2426 nsresult CanCopy([out] PRBool *_retval);
2427 nsresult Paste([in] PRInt32 aSelectionType);
2428 nsresult CanPaste([in] PRInt32 aSelectionType, [out] PRBool *_retval);
2429 nsresult SelectAll();
2430 nsresult BeginningOfDocument();
2431 nsresult EndOfDocument();
2432 nsresult CanDrag([in] nsIDOMEvent *aEvent, [out] PRBool *_retval);
2433 nsresult DoDrag([in] nsIDOMEvent *aEvent);
2434 nsresult InsertFromDrop([in] nsIDOMEvent *aEvent);
2435 nsresult SetAttribute([in] nsIDOMElement *aElement, [in] const nsAString *attributestr, [in] const nsAString *attvalue);
2436 nsresult GetAttributeValue([in] nsIDOMElement *aElement, [in] const nsAString *attributestr, [out] nsAString *resultValue, PRBool *_retval);
2437 nsresult RemoveAttribute([in] nsIDOMElement *aElement, [in] const nsAString *aAttribute);
2438 nsresult CloneAttribute([in] const nsAString *aAttribute, [in] nsIDOMNode *aDestNode, [in] nsIDOMNode *aSourceNode);
2439 nsresult CloneAttributes([in] nsIDOMNode *destNode, [in] nsIDOMNode *sourceNode);
2440 nsresult CreateNode([in] const nsAString *tag, [in] nsIDOMNode *parent, [in] PRInt32 position, [out] nsIDOMNode **_retval);
2441 nsresult InsertNode([in] nsIDOMNode *node, [in] nsIDOMNode *parent, [in] PRInt32 aPosition);
2442 nsresult SplitNode([in] nsIDOMNode *existingRightNode, [in] PRInt32 offset, [out] nsIDOMNode **newLeftNode);
2443 nsresult JoinNodes([in] nsIDOMNode *leftNode, [in] nsIDOMNode *rightNode, [in] nsIDOMNode *parent);
2444 nsresult DeleteNode([in] nsIDOMNode *child);
2445 nsresult MarkNodeDirty([in] nsIDOMNode *node);
2446 nsresult SwitchTextDirection();
2447 nsresult OutputToString([in] nsAString formatType, [in] PRUint32 flags, [out] nsAString *_retval);
2448 nsresult OutputToStream([in] nsIOutputStream *aStream, [in] nsAString *formatType, [in] nsACString *charsetOverride, [in] PRUint32 flags);
2449 nsresult AddEditorObserver([in] nsIEditorObserver *observer);
2450 nsresult RemoveEditorObserver([in] nsIEditorObserver *observer);
2451 nsresult AddEditActionListener([in] nsIEditActionListener *listener);
2452 nsresult RemoveEditActionListener([in] nsIEditActionListener *listener);
2453 nsresult AddDocumentStateListener([in] nsIDocumentStateListener *listener);
2454 nsresult RemoveDocumentStateListener([in] nsIDocumentStateListener *listener);
2455 nsresult DumpContentTree();
2456 nsresult DebugDumpContent();
2457 nsresult DebugUnitTests([out] PRInt32 *outNumTests, [out] PRInt32 *outNumTestsFailed);
2461 object,
2462 uuid(afc36593-5787-4420-93d9-b2c0ccbf0cad),
2463 local
2465 interface nsIHTMLEditor : nsISupports
2467 nsresult AddDefaultProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue);
2468 nsresult RemoveDefaultProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue);
2469 nsresult RemoveAllDefaultProperties();
2470 nsresult SetCSSInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue);
2471 nsresult SetInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue);
2472 nsresult GetInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue, [out] PRBool *aFirst, [out] PRBool *aAny, [out] PRBool *aAll);
2473 nsresult GetInlinePropertyWithAttrValue([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue, [out] PRBool *aFirst, [out] PRBool *aAny, [out] PRBool *aAll, [out] nsAString *_retval);
2474 nsresult RemoveAllInlineProperties();
2475 nsresult RemoveInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute);
2476 nsresult IncreaseFontSize();
2477 nsresult DecreaseFontSize();
2478 nsresult CanDrag([in] nsIDOMEvent *aEvent, [out] PRBool *_retval);
2479 nsresult DoDrag([in] nsIDOMEvent *aEvent);
2480 nsresult InsertFromDrop([in] nsIDOMEvent *aEvent);
2481 nsresult NodeIsBlock([in] nsIDOMNode *node, PRBool *_retval);
2482 nsresult InsertHTML([in] nsAString *aInputString);
2483 nsresult PasteNoFormatting([in] PRInt32 aSelectionType);
2484 nsresult RebuildDocumentFromSource([in] nsAString *aSourceString);
2485 nsresult InsertHTMLWithContext([in] nsAString *aInputString, [in] nsAString *aContextStr, [in] nsAString *aInfoStr, [in] nsAString *aFlavor, [in] nsIDOMDocument *aSourceDoc, [in] nsIDOMNode *aDestinationNode, [in] PRInt32 aDestinationOffset, [in] PRBool aDeleteSelection);
2486 nsresult InsertElementAtSelection([in] nsIDOMElement *aElement, [in] PRBool aDeleteSelection);
2487 nsresult SetDocumentTitle([in] nsAString *aTitle);
2488 nsresult UpdateBaseURL();
2489 nsresult SelectElement([in] nsIDOMElement *aElement);
2490 nsresult SetCaretAfterElement([in] nsIDOMElement *aElement);
2491 nsresult SetParagraphFormat([in] nsAString *aParagraphFormat);
2492 nsresult GetParagraphState([out] PRBool *aMixed, [out] nsAString *_retval);
2493 nsresult GetFontFaceState([out] PRBool *aMixed, [out] nsAString *_retval);
2494 nsresult GetFontColorState([out] PRBool *aMixed, [out] nsAString *_retval);
2495 nsresult GetBackgroundColorState([out] PRBool *aMixed, [out] nsAString *_retval);
2496 nsresult GetHighlightColorState([out] PRBool *aMixed, [out] nsAString *_retval);
2497 nsresult GetListState([out] PRBool *aMixed, [out] PRBool *aOL, [out] PRBool *aUL, [out] PRBool *aDL);
2498 nsresult GetListItemState([out] PRBool *aMixed, [out] PRBool *aLI, [out] PRBool *aDT, [out] PRBool *aDD);
2499 nsresult GetAlignment([out] PRBool *aMixed, [out] PRInt16 *aAlign);
2500 nsresult GetIndentState([out] PRBool *aCanIndent, [out] PRBool *aCanOutdent);
2501 nsresult MakeOrChangeList([in] nsAString *aListType, [in] PRBool entireList, [in] nsAString *aBulletType);
2502 nsresult RemoveList([in] nsAString *aListType);
2503 nsresult Indent([in] nsAString *aIndent);
2504 nsresult Align([in] nsAString *aAlign);
2505 nsresult GetElementOrParentByTagName([in] nsAString *aTagName, [in] nsIDOMNode *aNode, [out] nsIDOMElement **_retval);
2506 nsresult GetSelectedElement([in] nsAString *aTagName, [out] nsIDOMElement **_retval);
2507 nsresult GetHeadContentsAsHTML([out] nsAString *_retval);
2508 nsresult ReplaceHeadContentsWithHTML([in] nsAString *aSourceToInsert);
2509 nsresult CreateElementWithDefaults([in] nsAString *aTagName, [out] nsIDOMElement **_retval);
2510 nsresult InsertLinkAroundSelection([in] nsIDOMElement *aAnchorElement);
2511 nsresult SetBackgroundColor([in] nsAString *aColor);
2512 nsresult SetBodyAttribute([in] nsAString *aAttr, [in] nsAString *aValue);
2513 nsresult IgnoreSpuriousDragEvent([in] PRBool aIgnoreSpuriousDragEvent);
2514 nsresult GetLinkedObjects([out] nsISupportsArray **_retval);
2515 nsresult GetIsCSSEnabled([out] PRBool *_retval);
2516 nsresult SetIsCSSEnabled([in] PRBool prb);
2517 nsresult AddInsertionListener([in] nsIContentFilter *inFilter);
2518 nsresult RemoveInsertionListener([in] nsIContentFilter *inFilter);
2519 nsresult CreateAnonymousElement([in] nsAString *aTag, [in] nsIDOMNode *aParentNode, [in] nsAString *aAnonClass, [in] PRBool aIsCreatedHidden, [out] nsIDOMElement **_retval);
2520 nsresult GetSelectionContainer([out] nsIDOMElement **_retval);
2521 nsresult CheckSelectionStateForAnonymousButtons([in] nsISelection *aSelection);
2522 nsresult IsAnonymousElement([in] nsIDOMElement *aElement, [out] PRBool *_retval);
2523 nsresult GetReturnInParagraphCreatesNewParagraph([out] PRBool *_retval);
2524 nsresult SetReturnInParagraphCreatesNewParagraph([in] PRBool prb);
2528 * NOTE:
2529 * This is a private Wine interface that is implemented by our implementation
2530 * of nsIURI to store its owner.
2533 object,
2534 uuid(5088272e-900b-11da-c687-000fea57f21a),
2535 local
2536 /* INTERNAL */
2538 interface nsIWineURI : nsIURI
2540 typedef struct NSContainer NSContainer;
2542 nsresult GetNSContainer(NSContainer **aNSContainer);
2543 nsresult SetNSContainer(NSContainer *aNSContainer);
2544 nsresult GetIsDocumentURI(PRBool *aIsDocumentURI);
2545 nsresult SetIsDocumentURI(PRBool aIsDocumentURI);
2546 nsresult GetWineURL(LPCWSTR *aURL);
2547 nsresult SetWineURL(LPCWSTR aURL);