2 * Copyright 2005-2006 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 * This file is not an usual idl file. Interfaces in this file are XPCOM interfaces
22 * (NOT MSCOM!), but we generate the header file with WIDL compatibile with XPCOM,
28 typedef HRESULT nsresult;
29 typedef ULONG nsrefcnt;
33 typedef REFIID nsIIDRef;
34 typedef nsIIDRef nsCIDRef;
36 typedef void** nsQIResult;
37 typedef WCHAR PRUnichar;
38 typedef ULONG PRUint32;
40 typedef WORD PRUint16;
41 typedef INT16 PRInt16;
44 typedef LARGE_INTEGER PRInt64;
45 typedef ULARGE_INTEGER PRUint64;
46 typedef PRUint64 DOMTimeStamp;
47 typedef PRUint32 nsLoadFlags;
63 typedef nsCStringContainer nsACString;
64 typedef nsStringContainer nsAString;
66 interface nsIWebBrowserChrome;
67 interface nsILoadGroup;
69 interface nsIDOMDocument;
70 interface nsIDOMEvent;
76 uuid(00000000-0000-0000-c000-000000000046)
80 nsresult QueryInterface(nsIIDRef riid, nsQIResult result);
85 /* Currently we don't need a full declaration of these interfaces */
86 typedef nsISupports nsISHistory;
87 typedef nsISupports nsISimpleEnumerator;
88 typedef nsISupports nsIWidget;
89 typedef nsISupports nsIProtocolHandler;
90 typedef nsISupports nsIDOMAbstractView;
91 typedef nsISupports nsIHttpHeaderVisitor;
92 typedef nsISupports nsIDOMBarProp;
93 typedef nsISupports nsIDOMWindowCollection;
94 typedef nsISupports nsIPrompt;
95 typedef nsISupports nsIAuthPrompt;
96 typedef nsISupports nsIDOMNamedNodeMap;
97 typedef nsISupports nsIDOMAttr;
98 typedef nsISupports nsIDOMDocumentType;
99 typedef nsISupports nsIDOMDOMImplementation;
100 typedef nsISupports nsIDOMComment;
101 typedef nsISupports nsIDOMCDATASection;
102 typedef nsISupports nsIDOMProcessingInstruction;
103 typedef nsISupports nsIDOMEntityReference;
104 typedef nsISupports nsIDOMHTMLFormElement;
105 typedef nsISupports nsIDOMHTMLOptionsCollection;
106 typedef nsISupports nsIDOMHTMLCollection;
107 typedef nsISupports nsIEditor;
108 typedef nsISupports nsIWebProgressListener;
109 typedef nsISupports nsIDOMCSSValue;
110 typedef nsISupports nsIDOMCSSRule;
111 typedef nsISupports nsIPrintSession;
115 uuid(8bb35ed9-e332-462d-9155-4a002ab5c958)
118 interface nsIServiceManager : nsISupports
120 nsresult GetService(nsCIDRef aClass, nsIIDRef aIID, void **result);
121 nsresult GetServiceByContactID(const char *aContactID, nsIIDRef aIID, void **result);
122 nsresult IsServiceInstantiated(nsCIDRef aClass, nsIIDRef aIID, BOOL *_retval);
123 nsresult IsServiceInstantiatedByContractID(const char *aContractID, nsIIDRef aIID, BOOL *_retval);
128 uuid(00000001-0000-0000-c000-000000000046)
131 interface nsIFactory : nsISupports
133 nsresult CreateInstance(nsISupports *aOuter, const nsIID *iid, void **result);
134 nsresult LockFactory(PRBool lock);
139 uuid(db242e01-e4d9-11d2-9dde-000064657374)
142 interface nsIObserver : nsISupports
144 nsresult Observe(nsISupports *aSubject, const char *aTopic, const PRUnichar *aData);
149 uuid(a88e5a60-205a-4bb1-94e1-2628daf51eae)
152 interface nsIComponentManager : nsISupports
154 nsresult GetClassObject(nsCIDRef aClass, nsIIDRef aIID, nsQIResult result);
155 nsresult GetClassObjectByContractID(const char *aContractID, nsIIDRef aIID, nsQIResult result);
156 nsresult CreateInstance(nsCIDRef aClass, nsISupports *aDelegate, nsIIDRef aIID,
158 nsresult CreateInstanceByContractID(const char *aContractID, nsISupports *aDelegate,
159 nsIIDRef aIID, nsQIResult result);
164 uuid(59e7e77a-38e4-11d4-8cf5-0060b0fc14a3)
167 interface nsIMemory : nsISupports
169 void *Alloc(/*size_t*/ int size);
170 void *Realloc(void *_ptr, /*size_t*/ int newSize);
171 void Free(void *_ptr);
172 nsresult HeapMinimize(PRBool immediate);
173 nsresult IsLowMemory(PRBool *_retval);
178 uuid(9188bc85-f92e-11d2-81ef-0060083a0bcf)
181 interface nsIWeakReference : nsISupports
183 nsresult QueryReferent(const nsIID *riid, void **result);
188 uuid(9188bc86-f92e-11d2-81ef-0060083a0bcf)
191 interface nsISupportsWeakReference : nsISupports
193 nsresult GetWeakReference(nsIWeakReference **_retval);
198 uuid(033a1470-8b2a-11d3-af88-00a024ffc08c)
201 interface nsIInterfaceRequestor : nsISupports
203 nsresult GetInterface(const nsIID *riid, void **result);
208 uuid(fa9c7f6c-61b3-11d4-9877-00c04fa0cf4a)
211 interface nsIInputStream : nsISupports
214 nsresult Available(PRUint32 *_retval);
215 nsresult Read(char *aBuf, PRUint32 aCount, PRUint32 *_retval);
216 nsresult ReadSegments(nsresult (*aWriter)(nsIInputStream *aInStream,
217 void *aClosure, const char *aFromSegment, PRUint32 aToOffset,
218 PRUint32 aCount, PRUint32 *aWriteCount),
219 void *aClosure, PRUint32 aCount, PRUint32 *_retval);
220 nsresult IsNonBlocking(PRBool *_retval);
225 uuid(450cd2d4-f0fd-424d-b365-b1251f80fd53)
228 interface nsIStringInputStream : nsIInputStream
230 nsresult SetData(const char *data, PRInt32 dataLen);
231 nsresult AdoptData(char *data, PRInt32 dataLen);
232 nsresult ShareData(const char *data, PRInt32 dataLen);
237 uuid(07a22cc0-0ce5-11d3-9331-00104ba0fd40)
240 interface nsIURI : nsISupports
242 nsresult GetSpec(nsACString *aSpec);
243 nsresult SetSpec(const nsACString *aSpec);
244 nsresult GetPrePath(nsACString *aPrePath);
245 nsresult GetScheme(nsACString *aScheme);
246 nsresult SetScheme(const nsACString *aScheme);
247 nsresult GetUserPass(nsACString *aUserPass);
248 nsresult SetUserPass(const nsACString *aUserPass);
249 nsresult GetUsername(nsACString *aUsername);
250 nsresult SetUsername(const nsACString *aUsername);
251 nsresult GetPassword(nsACString *aPassword);
252 nsresult SetPassword(const nsACString *aPassword);
253 nsresult GetHostPort(nsACString *aHostPort);
254 nsresult SetHostPort(const nsACString *aHostPort);
255 nsresult GetHost(nsACString *aHost);
256 nsresult SetHost(const nsACString *aHost);
257 nsresult GetPort(PRInt32 *aPort);
258 nsresult SetPort(PRInt32 aPort);
259 nsresult GetPath(nsACString *aPath);
260 nsresult SetPath(const nsACString *aPath);
261 nsresult Equals(nsIURI *other, PRBool *_retval);
262 nsresult SchemeIs(const char *scheme, PRBool *_retval);
263 nsresult Clone(nsIURI **_retval);
264 nsresult Resolve(const nsACString *relativePath, nsACString *_retval);
265 nsresult GetAsciiSpec(nsACString *aAsciiSpec);
266 nsresult GetAsciiHost(nsACString *aAsciiHost);
267 nsresult GetOriginCharset(nsACString *aOriginCharset);
272 uuid(ef6bfbd2-fd46-48d8-96b7-9f8f0fd387fe)
275 interface nsIRequest : nsISupports
277 nsresult GetName(nsACString *aName);
278 nsresult IsPending(PRBool *_retval);
279 nsresult GetStatus(nsresult *aStatus);
280 nsresult Cancel(nsresult aStatus);
283 nsresult GetLoadGroup(nsILoadGroup **aLoadGroup);
284 nsresult SetLoadGroup(nsILoadGroup *aLoadGroup);
285 nsresult GetLoadFlags(nsLoadFlags *aLoadFlags);
286 nsresult SetLoadFlags(nsLoadFlags aLoadFlags);
291 uuid(fd91e2e0-1481-11d3-9333-00104ba0fd40)
294 interface nsIRequestObserver : nsISupports
296 nsresult OnStartRequest(nsIRequest *aRequest, nsISupports *aContext);
297 nsresult OnStopRequest(nsIRequest *aRequest, nsISupports *aContext, nsresult aStatusCode);
302 uuid(1a637020-1482-11d3-9333-00104ba0fd40)
305 interface nsIStreamListener : nsIRequestObserver
307 nsresult OnDataAvailable(nsIRequest *aRequest, nsISupports *aContext,
308 nsIInputStream *aInputStream, PRUint32 aOffset, PRUint32 aCount);
313 uuid(3de0a31c-feaf-400f-9f1e-4ef71f8b20cc)
316 interface nsILoadGroup : nsIRequest
318 nsresult GetGroupObserver(nsIRequestObserver **aGroupObserver);
319 nsresult SetGroupObserver(nsIRequestObserver *aGroupObserver);
320 nsresult GetDefaultLoadRequest(nsIRequest **aDefaultLoadRequest);
321 nsresult SetDefaultLoadRequest(nsIRequest *aDefaultLoadRequest);
322 nsresult AddRequest(nsIRequest *aRequest, nsISupports *aContext);
323 nsresult RemoveRequest(nsIRequest *aRequest, nsISupports *aContext, nsresult aStatus);
324 nsresult GetRequests(nsISimpleEnumerator **aRequests);
325 nsresult GetActiveCount(PRUint32 *aActiveCount);
326 nsresult GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks);
327 nsresult SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks);
332 uuid(c63a055a-a676-4e71-bf3c-6cfa11082018)
335 interface nsIChannel : nsIRequest
337 nsresult GetOriginalURI(nsIURI **aOriginalURI);
338 nsresult SetOriginalURI(nsIURI *aOriginalURI);
339 nsresult GetURI(nsIURI **aURI);
340 nsresult GetOwner(nsISupports **aOwner);
341 nsresult SetOwner(nsISupports *aOwner);
342 nsresult GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks);
343 nsresult SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks);
344 nsresult GetSecurityInfo(nsISupports **aSecurityInfo);
345 nsresult GetContentType(nsACString *aContentType);
346 nsresult SetContentType(const nsACString *aContentType);
347 nsresult GetContentCharset(nsACString *aContentCharset);
348 nsresult SetContentCharset(const nsACString *aContentCharset);
349 nsresult GetContentLength(PRInt32 *aContentLength);
350 nsresult SetContentLength(PRInt32 aContentLength);
351 nsresult Open(nsIInputStream **_retval);
352 nsresult AsyncOpen(nsIStreamListener *aListener, nsISupports *aContext);
357 uuid(9277fe09-f0cc-4cd9-bbce-581dd94b0260)
360 interface nsIHttpChannel : nsIChannel
362 nsresult GetRequestMethod(nsACString *aRequestMethod);
363 nsresult SetRequestMethod(const nsACString *aRequestMethod);
364 nsresult GetReferrer(nsIURI **aReferrer);
365 nsresult SetReferrer(nsIURI *aReferrer);
366 nsresult GetRequestHeader(const nsACString *aHeader, nsACString *_retval);
367 nsresult SetRequestHeader(const nsACString *aHeader, const nsACString *aValue, PRBool aMerge);
368 nsresult VisitRequestHeaders(nsIHttpHeaderVisitor *aVisitor);
369 nsresult GetAllowPipelining(PRBool *aAllowPipelining);
370 nsresult SetAllowPipelining(PRBool aAllowPipelining);
371 nsresult GetRedirectionLimit(PRUint32 *aRedirectionLimit);
372 nsresult SetRedirectionLimit(PRUint32 aRedirectionLimit);
373 nsresult GetResponseStatus(PRUint32 *aResponseStatus);
374 nsresult GetResponseStatusText(nsACString *aResponseStatusText);
375 nsresult GetRequestSucceeded(PRBool *aRequestSucceeded);
376 nsresult GetResponseHeader(const nsACString *header, nsACString *_retval);
377 nsresult SetResponseHeader(const nsACString *header, const nsACString *value, PRBool merge);
378 nsresult VisitResponseHeaders(nsIHttpHeaderVisitor *aVisitor);
379 nsresult IsNoStoreResponse(PRBool *_retval);
380 nsresult IsNoCacheResponse(PRBool *_retval);
385 uuid(ddf633d8-e9a4-439d-ad88-de636fd9bb75)
388 interface nsIUploadChannel : nsISupports
390 nsresult SetUploadStream(nsIInputStream *aStream, const nsACString *aContentType,
391 PRInt32 aContentLength);
392 nsresult GetUploadStream(nsIInputStream **aUploadStream);
397 uuid(a6cf90be-15b3-11d2-932e-00805f8add32)
400 interface nsIDOMCSSStyleDeclaration : nsISupports
402 nsresult GetCssText(nsAString *aCssText);
403 nsresult SetCssText(const nsAString *aCssText);
404 nsresult GetPropertyValue(const nsAString *propertyName, nsAString *_retval);
405 nsresult GetPropertyCSSValue(const nsAString *propertyName, nsIDOMCSSValue **_retval);
406 nsresult RemoveProperty(const nsAString *propertyName, nsAString *_retval);
407 nsresult GetPropertyPriority(const nsAString *propertyName, nsAString *_retval);
408 nsresult SetProperty(const nsAString *propertyName, const nsAString *value,
409 const nsAString *priority);
410 nsresult GetLength(PRUint32 *aLength);
411 nsresult Item(PRUint32 index, nsAString *_retval);
412 nsresult GetParentRule(nsIDOMCSSRule **aParentRule);
417 uuid(a6cf907d-15b3-11d2-932e-00805f8add32)
420 interface nsIDOMNodeList : nsISupports
422 nsresult Item(PRUint32 index, nsIDOMNode **_retval);
423 nsresult GetLength(PRUint32 *aLength);
428 uuid(a6cf907c-15b3-11d2-932e-00805f8add32)
431 interface nsIDOMNode : nsISupports
437 CDATA_SELECTION_NODE = 4,
438 ENTITY_REFERENCE_NODE = 5,
440 PROCESSING_INSTRUCTION_NODE = 7,
443 DOCUMENT_TYPE_NODE = 10,
444 DOCUMENT_FRAGMENT_NODE = 11,
448 nsresult GetNodeName(nsAString *aNodeName);
449 nsresult GetNodeValue(nsAString *aNodeValue);
450 nsresult SetNodeValue(const nsAString *aNodeValue);
451 nsresult GetNodeType(PRUint16 *aNodeType);
452 nsresult GetParentNode(nsIDOMNode **aParentNode);
453 nsresult GetChildNodes(nsIDOMNodeList **aChildNodes);
454 nsresult GetFirstChild(nsIDOMNode **aFirstChild);
455 nsresult GetLastChild(nsIDOMNode **aLastChild);
456 nsresult GetPreviousSibling(nsIDOMNode **aPreviousSibling);
457 nsresult GetNextSibling(nsIDOMNode **aNextSibling);
458 nsresult GetAttributes(nsIDOMNamedNodeMap **aAttributes);
459 nsresult GetOwnerDocument(nsIDOMDocument **aOwnerDocument);
460 nsresult InsertBefore(nsIDOMNode *newChild, nsIDOMNode *refChild, nsIDOMNode **_retval);
461 nsresult ReplaceChild(nsIDOMNode *newChild, nsIDOMNode *oldChild, nsIDOMNode **_retval);
462 nsresult RemoveChild(nsIDOMNode *oldChild, nsIDOMNode **_retval);
463 nsresult AppendChild(nsIDOMNode *newChild, nsIDOMNode **_retval);
464 nsresult HasChildNodes(PRBool *_retval);
465 nsresult CloneNode(PRBool deep, nsIDOMNode **_retval);
466 nsresult Normalize();
467 nsresult IsSupported(const nsAString *feature, const nsAString *version, PRBool *_retval);
468 nsresult GetNamespaceURI(nsAString *aNamespaceURI);
469 nsresult GetPrefix(nsAString *aPrefix);
470 nsresult SetPrefix(const nsAString *aPrefix);
471 nsresult GetLocalName(nsAString *aLocalName);
472 nsresult HasAttributes(PRBool *_retval);
477 uuid(a6cf9078-15b3-11d2-932e-00805f8add32)
480 interface nsIDOMElement : nsIDOMNode
482 nsresult GetTagName(nsAString *aTagName);
483 nsresult GetAttribute(const nsAString *name, nsAString *_retval);
484 nsresult SetAttribute(const nsAString *name, const nsAString *value);
485 nsresult RemoveAttribute(const nsAString *name);
486 nsresult GetAttributeNode(const nsAString *name, nsIDOMAttr **_retval);
487 nsresult SetAttributeNode(nsIDOMAttr *newAttr, nsIDOMAttr **_retval);
488 nsresult RemoveAttributeNode(nsIDOMAttr *oldAttr, nsIDOMAttr **_retval);
489 nsresult GetElementsByTagName(const nsAString *name, nsIDOMNodeList **_retval);
490 nsresult GetAttributeNS(const nsAString *namespaceURI, const nsAString *localName,
492 nsresult SetAttributeNS(const nsAString *namespaceURI, const nsAString *qualifiedName,
493 const nsAString *value);
494 nsresult RemoveAttributeNS(const nsAString *namespaceURI, const nsAString *localName);
495 nsresult GetAttributeNodeNS(const nsAString *namespaceURI, const nsAString *localName,
496 nsIDOMAttr **_retval);
497 nsresult SetAttributeNodeNS(nsIDOMAttr *newAttr, nsIDOMAttr **_retval);
498 nsresult GetElementsByTagNameNS(const nsAString *namespaceURI, const nsAString *localName,
499 nsIDOMNodeList **_retval);
500 nsresult HasAttribute(const nsAString *name, PRBool *_retval);
501 nsresult HasAttributeNS(const nsAString *namespaceURI, const nsAString *localName,
507 uuid(99715845-95fc-4a56-aa53-214b65c26e22)
510 interface nsIDOMElementCSSInlineStyle : nsISupports
512 nsresult GetStyle(nsIDOMCSSStyleDeclaration **aStyle);
515 cpp_quote("#undef GetClassName");
519 uuid(a6cf9085-15b3-11d2-932e-00805f8add32)
522 interface nsIDOMHTMLElement : nsIDOMElement
524 nsresult GetId(nsAString *aId);
525 nsresult SetId(const nsAString *aId);
526 nsresult GetTitle(nsAString *aTitle);
527 nsresult SetTitle(const nsAString *aTitle);
528 nsresult GetLang(nsAString *aLang);
529 nsresult SetLang(const nsAString *aLang);
530 nsresult GetDir(nsAString *aDir);
531 nsresult SetDir(const nsAString *aDir);
532 nsresult GetClassName(nsAString *aClassName);
533 nsresult SetClassName(const nsAString *aClassName);
538 uuid(da83b2ec-8264-4410-8496-ada3acd2ae42)
541 interface nsIDOMNSHTMLElement : nsISupports
543 nsresult GetOffsetTop(PRInt32 *aOffsetTop);
544 nsresult GetOffsetLeft(PRInt32 *aOffsetLeft);
545 nsresult GetOffsetWidth(PRInt32 *aOffsetWidth);
546 nsresult GetOffsetHeight(PRInt32 *aOffsetHeight);
547 nsresult GetOffsetParent(nsIDOMElement **aOffsetParent);
548 nsresult GetInnerHTML(nsAString *aInnerHTML);
549 nsresult SetInnerHTML(const nsAString *aInnerHTML);
550 nsresult GetScrollTop(PRInt32 *aScrollTop);
551 nsresult SetScrollTop(PRInt32 aScrollTop);
552 nsresult GetScrollLeft(PRInt32 *aScrollLeft);
553 nsresult SetScrollLeft(PRInt32 aScrollLeft);
554 nsresult GetScrollHeight(PRInt32 *aScrollHeight);
555 nsresult GetScrollWidth(PRInt32 *aScrollWidth);
556 nsresult GetClientHeight(PRInt32 *aClientHeight);
557 nsresult GetClientWidth(PRInt32 *aClientWidth);
558 nsresult ScrollIntoView(PRBool top);
563 uuid(a6cf9072-15b3-11d2-932e-00805f8add32)
566 interface nsIDOMCharacterData : nsIDOMNode
568 nsresult GetData(nsAString *aData);
569 nsresult SetData(const nsAString *aData);
570 nsresult GetLength(PRUint32 *aLength);
571 nsresult SubstringData(PRUint32 offset, PRUint32 count, nsAString *_retval);
572 nsresult AppendData(const nsAString *arg);
573 nsresult InsertData(PRUint32 offset, const nsAString *arg);
574 nsresult DeleteData(PRUint32 offset, PRUint32 count);
575 nsresult ReplaceData(PRUint32 offset, PRUint32 count, const nsAString *arg);
580 uuid(a6cf9082-15b3-11d2-932e-00805f8add32)
583 interface nsIDOMText : nsIDOMCharacterData
585 nsresult SplitText(PRUint32 offset, nsIDOMText **_retval);
590 uuid(a6cf9076-15b3-11d2-932e-00805f8add32)
593 interface nsIDOMDocumentFragment : nsIDOMNode
599 uuid(a6cf9075-15b3-11d2-932e-00805f8add32)
602 interface nsIDOMDocument : nsIDOMNode
604 nsresult GetDoctype(nsIDOMDocumentType **aDoctype);
605 nsresult GetImplementation(nsIDOMDOMImplementation **aImplementation);
606 nsresult GetDocumentElement(nsIDOMElement **aDocumentElement);
607 nsresult CreateElement(const nsAString *tagName, nsIDOMElement **_retval);
608 nsresult CreateDocumentFragment(nsIDOMDocumentFragment **_retval);
609 nsresult CreateTextNode(const nsAString *data, nsIDOMText **_retval);
610 nsresult CreateComment(const nsAString *data, nsIDOMComment **_retval);
611 nsresult CreateCDATASection(const nsAString *data, nsIDOMCDATASection **_retval);
612 nsresult CreateProcessingInstruction(const nsAString *target, const nsAString *data,
613 nsIDOMProcessingInstruction **_retval);
614 nsresult CreateAttribute(const nsAString *name, nsIDOMAttr **_retval);
615 nsresult CreateEntityReference(const nsAString *name, nsIDOMEntityReference **_retval);
616 nsresult GetElementsByTagName(const nsAString *tagname, nsIDOMNodeList **_retval);
617 nsresult ImportNode(nsIDOMNode *importedNode, PRBool deep, nsIDOMNode **_retval);
618 nsresult CreateElementNS(const nsAString *namespaceURI, const nsAString *qualifiedName,
619 nsIDOMElement **_retval);
620 nsresult CreateAttributeNS(const nsAString *namespaceURI, const nsAString *qualifiedName,
621 nsIDOMAttr **_retval);
622 nsresult GetElementsByTagNameNS(const nsAString *namespaceURI, const nsAString *localName,
623 nsIDOMNodeList **_retval);
624 nsresult GetElementById(const nsAString *elementId, nsIDOMElement **_retval);
629 uuid(a6cf9084-15b3-11d2-932e-00805f8add32)
632 interface nsIDOMHTMLDocument : nsIDOMDocument
634 nsresult GetTitle(nsAString *aTitle);
635 nsresult SetTitle(const nsAString *aTitle);
636 nsresult GetReferrer(nsAString *aReferrer);
637 nsresult GetDomain(nsAString *aDomain);
638 nsresult GetURL(nsAString *aURL);
639 nsresult GetBody(nsIDOMHTMLElement **aBody);
640 nsresult SetBody(nsIDOMHTMLElement *aBody);
641 nsresult GetImages(nsIDOMHTMLCollection **aImages);
642 nsresult GetApplets(nsIDOMHTMLCollection **aApplets);
643 nsresult GetLinks(nsIDOMHTMLCollection **aLinks);
644 nsresult GetForms(nsIDOMHTMLCollection **aForms);
645 nsresult GetAnchors(nsIDOMHTMLCollection **aAnchors);
646 nsresult GetCookie(nsAString *aCookie);
647 nsresult SetCookie(const nsAString *aCookie);
650 nsresult Write(const nsAString *text);
651 nsresult Writeln(const nsAString *text);
652 nsresult GetElementsByName(const nsAString *elementName, nsIDOMNodeList **_retval);
657 uuid(a6cf90ce-15b3-11d2-932e-00805f8add32)
660 interface nsIDOMRange : nsISupports
662 nsresult GetStartContainer(nsIDOMNode **aStartContainer);
663 nsresult GetStartOffset(PRInt32 *aStartOffset);
664 nsresult GetEndContainer(nsIDOMNode **aEndContainer);
665 nsresult GetEndOffset(PRInt32 *aEndOffset);
666 nsresult GetCollapsed(PRBool *aCollapsed);
667 nsresult GetCommonAncestorContainer(nsIDOMNode **aCommonAncestorContainer);
668 nsresult SetStart(nsIDOMNode *refNode, PRInt32 offset);
669 nsresult SetEnd(nsIDOMNode *refNode, PRInt32 offset);
670 nsresult SetStartBefore(nsIDOMNode *refNode);
671 nsresult SetStartAfter(nsIDOMNode *refNode);
672 nsresult SetEndBefore(nsIDOMNode *refNode);
673 nsresult SetEndAfter(nsIDOMNode *refNode);
674 nsresult Collapse(PRBool toStart);
675 nsresult SelectNode(nsIDOMNode *refNode);
676 nsresult SelectNodeContents(nsIDOMNode *refNode);
677 nsresult CompareBoundaryPoints(PRUint16 how, nsIDOMRange *sourceRange, PRInt16 *_retval);
678 nsresult DeleteContents();
679 nsresult ExtractContents(nsIDOMDocumentFragment **_retval);
680 nsresult CloneContents(nsIDOMDocumentFragment **_retval);
681 nsresult InsertNode(nsIDOMNode *newNode);
682 nsresult SurroundContents(nsIDOMNode *newParent);
683 nsresult CloneRange(nsIDOMRange **_retval);
684 nsresult ToString(nsAString *_retval);
690 uuid(7b9badc6-c9bc-447a-8670-dbd195aed24b)
693 interface nsIDOMDocumentRange : nsISupports
695 nsresult CreateRange(nsIDOMRange **_retval);
700 uuid(b2c7ed59-8634-4352-9e37-5484c8b6e4e1)
703 interface nsISelection : nsISupports
705 nsresult GetAnchorNode(nsIDOMNode **aAnchorNode);
706 nsresult GetAnchorOffset(PRInt32 *aAnchorOffset);
707 nsresult GetFocusNode(nsIDOMNode **aFocusNode);
708 nsresult GetFocusOffset(PRInt32 *aFocusOffset);
709 nsresult GetIsCollapsed(PRBool *aIsCollapsed);
710 nsresult GetRangeCount(PRInt32 *aRangeCount);
711 nsresult GetRangeAt(PRInt32 index, nsIDOMRange **_retval);
712 nsresult Collapse(nsIDOMNode *parentNode, PRInt32 offset);
713 nsresult Extend(nsIDOMNode *parentNode, PRInt32 offset);
714 nsresult CollapseToStart();
715 nsresult CollapseToEnd();
716 nsresult ContainsNode(nsIDOMNode *node, PRBool entirelyContained, PRBool *_retval);
717 nsresult SelectAllChildren(nsIDOMNode *parentNode);
718 nsresult AddRange(nsIDOMRange *range);
719 nsresult RemoveRange(nsIDOMRange *range);
720 nsresult RemoveAllRanges();
721 nsresult DeleteFromDocument();
722 nsresult SelectionLanguageChange(PRBool langRTL);
723 nsresult ToString(PRUnichar **_retval);
728 uuid(a6cf906b-15b3-11d2-932e-00805f8add32)
731 interface nsIDOMWindow : nsISupports
733 nsresult GetDocument(nsIDOMDocument **aDocument);
734 nsresult GetParent(nsIDOMWindow **aParent);
735 nsresult GetTop(nsIDOMWindow **aTop);
736 nsresult GetScrollbars(nsIDOMBarProp **aScrollbars);
737 nsresult GetFrames(nsIDOMWindowCollection **aFrames);
738 nsresult GetName(nsAString *aName);
739 nsresult SetName(const nsAString *aName);
740 nsresult GetTextZoom(float *aTextZoom);
741 nsresult SetTextZoom(float aTextZoom);
742 nsresult GetScrollX(PRInt32 *aScrollX);
743 nsresult GetScrollY(PRInt32 *aScrollY);
744 nsresult ScrollTo(PRInt32 xScroll, PRInt32 yScroll);
745 nsresult ScrollBy(PRInt32 xScrollDif, PRInt32 yScrollDif);
746 nsresult GetSelection(nsISelection **_retval);
747 nsresult ScrollByLines(PRInt32 numLines);
748 nsresult ScrollByPages(PRInt32 numPages);
749 nsresult SizeToContent();
754 uuid(a6cf908e-15b3-11d2-932e-00805f8add32)
757 interface nsIDOMHTMLBodyElement : nsIDOMHTMLElement
759 nsresult GetALink(nsAString *aALink);
760 nsresult SetALink(const nsAString *aALink);
761 nsresult GetBackground(nsAString *aBackground);
762 nsresult SetBackground(const nsAString *aBackground);
763 nsresult GetBgColor(nsAString *aBgColor);
764 nsresult SetBgColor(const nsAString *aBgColor);
765 nsresult GetLink(nsAString *aLink);
766 nsresult SetLink(const nsAString *aLink);
767 nsresult GetText(nsAString *aText);
768 nsresult SetText(const nsAString *aText);
769 nsresult GetVLink(nsAString *aVLink);
770 nsresult SetVLink(const nsAString *aVLink);
775 uuid(a6cf9093-15b3-11d2-932e-00805f8add32)
778 interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
780 nsresult GetDefaultValue(nsAString *aDefaultValue);
781 nsresult SetDefaultValue(const nsAString *aDefaultValue);
782 nsresult GetDefaultChecked(PRBool *aDefaultChecked);
783 nsresult SetDefaultChecked(PRBool aDefaultChecked);
784 nsresult GetForm(nsIDOMHTMLFormElement **aForm);
785 nsresult GetAccept(nsAString *aAccept);
786 nsresult SetAccept(const nsAString *aAccept);
787 nsresult GetAccessKey(nsAString *aAccessKey);
788 nsresult SetAccessKey(const nsAString *aAccessKey);
789 nsresult GetAlign(nsAString *aAlign);
790 nsresult SetAlign(const nsAString *aAlign);
791 nsresult GetAlt(nsAString *aAlt);
792 nsresult SetAlt(const nsAString *aAlt);
793 nsresult GetChecked(PRBool *aChecked);
794 nsresult SetChecked(PRBool aChecked);
795 nsresult GetDisabled(PRBool *aDisabled);
796 nsresult SetDisabled(PRBool aDisabled);
797 nsresult GetMaxLength(PRInt32 *aMaxLength);
798 nsresult SetMaxLength(PRInt32 aMaxLength);
799 nsresult GetName(nsAString *aName);
800 nsresult SetName(const nsAString *aName);
801 nsresult GetReadOnly(PRBool *aReadOnly);
802 nsresult SetReadOnly(PRBool aReadOnly);
803 nsresult GetSize(PRUint32 *aSize);
804 nsresult SetSize(PRUint32 aSize);
805 nsresult GetSrc(nsAString *aSrc);
806 nsresult SetSrc(const nsAString *aSrc);
807 nsresult GetTabIndex(PRInt32 *aTabIndex);
808 nsresult SetTabIndex(PRInt32 aTabIndex);
809 nsresult GetType(nsAString *aType);
810 nsresult SetType(const nsAString *aType);
811 nsresult GetUseMap(nsAString *aUseMap);
812 nsresult SetUseMap(const nsAString *aUseMap);
813 nsresult GetValue(nsAString *aValue);
814 nsresult SetValue(const nsAString *aValue);
823 uuid(a6cf9090-15b3-11d2-932e-00805f8add32)
826 interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
828 nsresult GetType(nsAString *aType);
829 nsresult GetSelectedIndex(PRInt32 *aSelectedIndex);
830 nsresult SetSelectedIndex(PRInt32 aSelectedIndex);
831 nsresult GetValue(nsAString *aValue);
832 nsresult SetValue(const nsAString *aValue);
833 nsresult GetLength(PRUint32 *aLength);
834 nsresult SetLength(PRUint32 aLength);
835 nsresult GetForm(nsIDOMHTMLFormElement **aForm);
836 nsresult GetOptions(nsIDOMHTMLOptionsCollection **aOptions);
837 nsresult GetDisabled(PRBool *aDisabled);
838 nsresult SetDisabled(PRBool aDisabled);
839 nsresult GetMultiple(PRBool *aMultiple);
840 nsresult SetMultiple(PRBool aMultiple);
841 nsresult GetName(nsAString *aName);
842 nsresult SetName(const nsAString *aName);
843 nsresult GetSize(PRInt32 *aSize);
844 nsresult SetSize(PRInt32 aSize);
845 nsresult GetTabIndex(PRInt32 *aTabIndex);
846 nsresult SetTabIndex(PRInt32 aTabIndex);
847 nsresult Add(nsIDOMHTMLElement *element, nsIDOMHTMLElement *before);
848 nsresult Remove(PRInt32 index);
855 uuid(a6cf9094-15b3-11d2-932e-00805f8add32)
858 interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement
860 nsresult GetDefaultValue(nsAString *aDefaultValue);
861 nsresult SetDefaultValue(const nsAString *aDefaultValue);
862 nsresult GetForm(nsIDOMHTMLFormElement **aForm);
863 nsresult GetAccessKey(nsAString *aAccessKey);
864 nsresult SetAccessKey(const nsAString *aAccessKey);
865 nsresult GetCols(PRInt32 *aCols);
866 nsresult SetCols(PRInt32 aCols);
867 nsresult GetDisabled(PRBool *aDisabled);
868 nsresult SetDisabled(PRBool aDisabled);
869 nsresult GetName(nsAString *aName);
870 nsresult SetName(const nsAString *aName);
871 nsresult GetReadOnly(PRBool *aReadOnly);
872 nsresult SetReadOnly(PRBool aReadOnly);
873 nsresult GetRows(PRInt32 *aRows);
874 nsresult SetRows(PRInt32 aRows);
875 nsresult GetTabIndex(PRInt32 *aTabIndex);
876 nsresult SetTabIndex(PRInt32 aTabIndex);
877 nsresult GetType(nsAString *aType);
878 nsresult GetValue(nsAString *aValue);
879 nsresult SetValue(const nsAString *aValue);
887 uuid(94928ab3-8b63-11d3-989d-001083010e9b)
890 interface nsIURIContentListener : nsISupports
892 nsresult OnStartURIOpen(nsIURI *aURI, PRBool *_retval);
893 nsresult DoContent(const char *aContentType, PRBool aIsContentPreferred, nsIRequest *aRequest,
894 nsIStreamListener **aContentHandler, PRBool *_retval);
895 nsresult IsPreferred(const char *aContentType, char **aDesiredContentType, PRBool *_retval);
896 nsresult CanHandleContent(const char *aContentType, PRBool aIsContentPreferred,
897 char **aDesiredContentType, PRBool *_retval);
898 nsresult GetLoadCookie(nsISupports **aLoadCookie);
899 nsresult SetLoadCookie(nsISupports *aLoadCookie);
900 nsresult GetParentContentListener(nsIURIContentListener **aParentContentListener);
901 nsresult SetParentContentListener(nsIURIContentListener *aParentContentListener);
906 uuid(44b78386-1dd2-11b2-9ad2-e4eee2ca1916)
909 interface nsITooltipListener : nsISupports
911 nsresult OnShowTooltip(PRInt32 aXCoords, PRInt32 aYCoords, const PRUnichar *aTipText);
912 nsresult OnHideTooltip();
917 uuid(69e5df00-7b8b-11d3-af61-00a024ffc08c)
920 interface nsIWebBrowser : nsISupports
922 nsresult AddWebBrowserListener(nsIWeakReference *aListener, const nsIID *aIID);
923 nsresult RemoveWebBrowserListener(nsIWeakReference *aListener, const nsIID *aIID);
924 nsresult GetContainerWindow(nsIWebBrowserChrome **aContainerWindow);
925 nsresult SetContainerWindow(nsIWebBrowserChrome *aContainerWindow);
926 nsresult GetParentURIContentListener(nsIURIContentListener **aParentURIContentListener);
927 nsresult SetParentURIContentListener(nsIURIContentListener *aParentURIContentListener);
928 nsresult GetContentDOMWindow(nsIDOMWindow **aContentDOMWindow);
931 cpp_quote("#define SETUP_IS_CHROME_WRAPPER 7");
935 uuid(f15398a0-8018-11d3-af70-00a024ffc08c)
938 interface nsIWebBrowserSetup : nsISupports
940 nsresult SetProperty(PRUint32 aId, PRUint32 aValue);
943 typedef void* nativeWindow;
947 uuid(046bc8a0-8015-11d3-af70-00a024ffc08c)
950 interface nsIBaseWindow : nsISupports
952 nsresult InitWindow(nativeWindow parentNativeWindow, nsIWidget *parentWidget, PRInt32 x,
953 PRInt32 y, PRInt32 cx, PRInt32 cy);
956 nsresult SetPosition(PRInt32 x, PRInt32 y);
957 nsresult GetPosition(PRInt32 *x, PRInt32 *y);
958 nsresult SetSize(PRInt32 cx, PRInt32 cy, PRBool fRepaint);
959 nsresult GetSize(PRInt32 *cx, PRInt32 *cy);
960 nsresult SetPositionAndSize(PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy, PRBool fRepaint);
961 nsresult GetPositionAndSize(PRInt32 *x, PRInt32 *y, PRInt32 *cx, PRInt32 *cy);
962 nsresult Repaint(PRBool force);
963 nsresult GetParentWidget(nsIWidget **aParentWidget);
964 nsresult SetParentWidget(nsIWidget *aParentWidget);
965 nsresult GetParentNativeWindow(nativeWindow *aParentNativeWindow);
966 nsresult SetParentNativeWindow(nativeWindow aParentNativeWindow);
967 nsresult GetVisibility(PRBool *aVisibility);
968 nsresult SetVisibility(PRBool aVisibility);
969 nsresult GetEnabled(PRBool *aEnabled);
970 nsresult SetEnabled(PRBool aEnabled);
971 nsresult GetBlurSuppression(PRBool *aBlurSuppression);
972 nsresult SetBlurSuppression(PRBool aBlurSuppression);
973 nsresult GetMainWidget(nsIWidget **aMainWidget);
975 nsresult GetTitle(PRUnichar **aTitle);
976 nsresult SetTitle(const PRUnichar *aTitle);
979 cpp_quote("#define LOAD_FLAGS_NONE 0");
983 uuid(f5d9e7b0-d930-11d3-b057-00a024ffc08c)
986 interface nsIWebNavigation : nsISupports
988 nsresult GetCanGoBack(PRBool *aCanGoBack);
989 nsresult GetCanGoForward(PRBool *aCanGoForward);
991 nsresult GoForward();
992 nsresult GotoIndex(PRInt32 index);
993 nsresult LoadURI(const PRUnichar *aURI, PRUint32 aLoadFlags, nsIURI *aReferrer,
994 nsIInputStream *aPostData, nsIInputStream *aHeaders);
995 nsresult Reload(PRUint32 aReloadFlags);
996 nsresult Stop(PRUint32 aStopFlags);
997 nsresult GetDocument(nsIDOMDocument **aDocument);
998 nsresult GetCurrentURI(nsIURI **aCurrentURI);
999 nsresult GetReferringURI(nsIURI **aReferringURI);
1000 nsresult GetSessionHistory(nsISHistory **aSessionHistory);
1001 nsresult SetSessionHistory(nsISHistory *aSessionHistory);
1006 uuid(f1094df6-ce0e-42c9-9847-2f663172c38d)
1009 interface nsIPrintSettings : nsISupports
1011 typedef struct {} nsMargin;
1013 nsresult SetPrintOptions(PRInt32 aType, PRBool aTurnOnOff);
1014 nsresult GetPrintOptions(PRInt32 aType, PRBool *_retval);
1015 nsresult GetPrintOptionsBits(PRInt32 *_retval);
1016 nsresult GetPageSizeInTwips(PRInt32 *aWidth, PRInt32 *aHeight);
1017 nsresult Clone(nsIPrintSettings **_retval);
1018 nsresult Assign(nsIPrintSettings *aPS);
1019 nsresult GetPrintSession(nsIPrintSession **aPrintSession);
1020 nsresult SetPrintSession(nsIPrintSession *aPrintSession);
1021 nsresult GetStartPageRange(PRInt32 *aStartPageRange);
1022 nsresult SetStartPageRange(PRInt32 aStartPageRange);
1023 nsresult GetEndPageRange(PRInt32 *aEndPageRange);
1024 nsresult SetEndPageRange(PRInt32 aEndPageRange);
1025 nsresult GetMarginTop(double *aMarginTop);
1026 nsresult SetMarginTop(double aMarginTop);
1027 nsresult GetMarginLeft(double *aMarginLeft);
1028 nsresult SetMarginLeft(double aMarginLeft);
1029 nsresult GetMarginBottom(double *aMarginBottom);
1030 nsresult SetMarginBottom(double aMarginBottom);
1031 nsresult GetMarginRight(double *aMarginRight);
1032 nsresult SetMarginRight(double aMarginRight);
1033 nsresult GetScaling(double *aScaling);
1034 nsresult SetScaling(double aScaling);
1035 nsresult GetPrintBGColors(PRBool *aPrintBGColors);
1036 nsresult SetPrintBGColors(PRBool aPrintBGColors);
1037 nsresult GetPrintBGImages(PRBool *aPrintBGImages);
1038 nsresult SetPrintBGImages(PRBool aPrintBGImages);
1039 nsresult GetPrintRange(PRInt16 *aPrintRange);
1040 nsresult SetPrintRange(PRInt16 aPrintRange);
1041 nsresult GetTitle(PRUnichar **aTitle);
1042 nsresult SetTitle(const PRUnichar *aTitle);
1043 nsresult GetDocURL(PRUnichar **aDocURL);
1044 nsresult SetDocURL(const PRUnichar *aDocURL);
1045 nsresult GetHeaderStrLeft(PRUnichar **aHeaderStrLeft);
1046 nsresult SetHeaderStrLeft(const PRUnichar *aHeaderStrLeft);
1047 nsresult GetHeaderStrCenter(PRUnichar **aHeaderStrCenter);
1048 nsresult SetHeaderStrCenter(const PRUnichar *aHeaderStrCenter);
1049 nsresult GetHeaderStrRight(PRUnichar **aHeaderStrRight);
1050 nsresult SetHeaderStrRight(const PRUnichar *aHeaderStrRight);
1051 nsresult GetFooterStrLeft(PRUnichar **aFooterStrLeft);
1052 nsresult SetFooterStrLeft(const PRUnichar *aFooterStrLeft);
1053 nsresult GetFooterStrCenter(PRUnichar **aFooterStrCenter);
1054 nsresult SetFooterStrCenter(const PRUnichar *aFooterStrCenter);
1055 nsresult GetFooterStrRight(PRUnichar **aFooterStrRight);
1056 nsresult SetFooterStrRight(const PRUnichar *aFooterStrRight);
1057 nsresult GetHowToEnableFrameUI(PRInt16 *aHowToEnableFrameUI);
1058 nsresult SetHowToEnableFrameUI(PRInt16 aHowToEnableFrameUI);
1059 nsresult GetIsCancelled(PRBool *aIsCancelled);
1060 nsresult SetIsCancelled(PRBool aIsCancelled);
1061 nsresult GetPrintFrameTypeUsage(PRInt16 *aPrintFrameTypeUsage);
1062 nsresult SetPrintFrameTypeUsage(PRInt16 aPrintFrameTypeUsage);
1063 nsresult GetPrintFrameType(PRInt16 *aPrintFrameType);
1064 nsresult SetPrintFrameType(PRInt16 aPrintFrameType);
1065 nsresult GetPrintSilent(PRBool *aPrintSilent);
1066 nsresult SetPrintSilent(PRBool aPrintSilent);
1067 nsresult GetShrinkToFit(PRBool *aShrinkToFit);
1068 nsresult SetShrinkToFit(PRBool aShrinkToFit);
1069 nsresult GetShowPrintProgress(PRBool *aShowPrintProgress);
1070 nsresult SetShowPrintProgress(PRBool aShowPrintProgress);
1071 nsresult GetPaperName(PRUnichar **aPaperName);
1072 nsresult SetPaperName(const PRUnichar *aPaperName);
1073 nsresult GetPaperSizeType(PRInt16 *aPaperSizeType);
1074 nsresult SetPaperSizeType(PRInt16 aPaperSizeType);
1075 nsresult GetPaperData(PRInt16 *aPaperData);
1076 nsresult SetPaperData(PRInt16 aPaperData);
1077 nsresult GetPaperWidth(double *aPaperWidth);
1078 nsresult SetPaperWidth(double aPaperWidth);
1079 nsresult GetPaperHeight(double *aPaperHeight);
1080 nsresult SetPaperHeight(double aPaperHeight);
1081 nsresult GetPaperSizeUnit(PRInt16 *aPaperSizeUnit);
1082 nsresult SetPaperSizeUnit(PRInt16 aPaperSizeUnit);
1083 nsresult GetPlexName(PRUnichar **aPlexName);
1084 nsresult SetPlexName(const PRUnichar *aPlexName);
1085 nsresult GetColorspace(PRUnichar **aColorspace);
1086 nsresult SetColorspace(const PRUnichar *aColorspace);
1087 nsresult GetResolutionName(PRUnichar **aResolutionName);
1088 nsresult SetResolutionName(const PRUnichar aResolutionName);
1089 nsresult GetDownloadFonts(PRBool *aDownloadFonts);
1090 nsresult SetDownloadFonts(PRBool aDownloadFonts);
1091 nsresult GetPrintReversed(PRBool *aPrintReversed);
1092 nsresult SetPrintReversed(PRBool aPrintReversed);
1093 nsresult GetPrintInColor(PRBool *aPrintInColor);
1094 nsresult SetPrintInColor(PRBool aPrintInColor);
1095 nsresult GetPaperSize(PRInt32 *aPaperSize);
1096 nsresult SetPaperSize(PRInt32 aPaperSize);
1097 nsresult GetOrientation(PRInt32 *aOrientation);
1098 nsresult SetOrientation(PRInt32 aOrientation);
1099 nsresult GetPrintCommand(PRUnichar **aPrintCommand);
1100 nsresult SetPrintCommand(const PRUnichar *aPrintCommand);
1101 nsresult GetNumCopies(PRInt32 *aNumCopies);
1102 nsresult SetNumCopies(PRInt32 aNumCopies);
1103 nsresult GetPrinterName(PRUnichar **aPrinterName);
1104 nsresult SetPrinterName(const PRUnichar *aPrinterName);
1105 nsresult GetPrintToFile(PRBool *aPrintToFile);
1106 nsresult SetPrintToFile(PRBool aPrintToFile);
1107 nsresult GetToFileName(PRUnichar **aToFileName);
1108 nsresult SetToFileName(const PRUnichar *aToFileName);
1109 nsresult GetPrintPageDelay(PRInt32 *aPrintPageDelay);
1110 nsresult SetPrintPageDelay(PRInt32 aPrintPageDelay);
1111 nsresult GetIsInitializedFromPrinter(PRBool *aIsInitializedFromPrinter);
1112 nsresult SetIsInitializedFromPrinter(PRBool aIsInitializedFromPrinter);
1113 nsresult GetIsInitializedFromPrefs(PRBool *aIsInitializedFromPrefs);
1114 nsresult SetIsInitializedFromPrefs(PRBool aIsInitializedFromPrefs);
1115 nsresult SetMarginInTwips(nsMargin *aMargin);
1116 nsresult GetMarginInTwips(nsMargin *aMargin);
1121 uuid(9a7ca4b0-fbba-11d4-a869-00105a183419)
1124 interface nsIWebBrowserPrint : nsISupports
1126 nsresult GetGlobalPrintSettings(nsIPrintSettings **aGlobalPrintSettings);
1127 nsresult GetCurrentPrintSettings(nsIPrintSettings **aCurrentPrintSettings);
1128 nsresult GetCurrentChildDOMWindow(nsIDOMWindow **aCurrentChildDOMWindow);
1129 nsresult GetDoingPrint(PRBool *aDoingPrint);
1130 nsresult GetDoingPrintPreview(PRBool *aDoingPrintPreview);
1131 nsresult GetIsFramesetDocument(PRBool *aIsFramesetDocument);
1132 nsresult GetIsFramesetFrameSelected(PRBool *aIsFramesetFrameSelected);
1133 nsresult GetIsIFrameSelected(PRBool *aIsIFrameSelected);
1134 nsresult GetIsRangeSelection(PRBool *aIsRangeSelection);
1135 nsresult GetPrintPreviewNumPages(PRInt32 *aPrintPreviewNumPages);
1136 nsresult Print(nsIPrintSettings *aThePrintSettings, nsIWebProgressListener *aWPListener);
1137 nsresult PrintPreview(nsIPrintSettings *aThePrintSettings, nsIDOMWindow *aChildDOMWin,
1138 nsIWebProgressListener *aWPListener);
1139 nsresult PrintPreviewNavigate(PRInt16 aNavType, PRInt32 aPageNum);
1141 nsresult EnumerateDocumentNames(PRUint32 *aCount, PRUnichar ***aResult);
1142 nsresult ExitPrintPreview();
1147 uuid(c8c0a080-0868-11d3-915f-d9d889d48e3c)
1150 interface nsIFile : nsISupports
1152 nsresult Append(const nsAString *node);
1153 nsresult AppendNative(const nsAString *node);
1154 nsresult Normalize();
1155 nsresult Create(PRUint32 type, PRUint32 permission);
1156 nsresult GetLeafName(nsAString *aLeafName);
1157 nsresult SetLeafName(const nsAString *aLeafName);
1158 nsresult GetNativeLeafName(nsAString *aLeafName);
1159 nsresult SetNativeLeafName(const nsAString *aLeafName);
1160 nsresult CopyTo(nsIFile *newParentDir, const nsAString *newName);
1161 nsresult CopyToNative(nsIFile *newParentDir, const nsAString *newName);
1162 nsresult CopyToFollowingLinks(nsIFile *newParentDir, const nsAString *newName);
1163 nsresult CopyToFollowingLinksNative(nsIFile *newParentDir, const nsAString *newName);
1164 nsresult MoveTo(nsIFile *newParentDir, const nsAString *newName);
1165 nsresult MoveToNative(nsIFile *newParentDir, const nsAString *newName);
1166 nsresult Remove(PRBool recursive);
1167 nsresult GetPermissions(PRUint32 *aPermissions);
1168 nsresult SetPermissions(PRUint32 pPermissions);
1169 nsresult GetPermissionsOfLink(PRUint32 *aPermissions);
1170 nsresult SetPermissionsOfLink(PRUint32 pPermissions);
1171 nsresult GetLastModifiedTime(PRInt64 *aLastModifiedTime);
1172 nsresult SetLastModifiedTime(PRInt64 aLastModifiedTime);
1173 nsresult GetFileSize(PRInt64 *aFileSize);
1174 nsresult SetFileSize(PRInt64 aFileSize);
1175 nsresult GetFileSizeOfLink(PRInt64 *aFileSizeOfLink);
1176 nsresult GetTarget(nsAString *aTarget);
1177 nsresult GetNativeTarget(nsACString *aNativeTarget);
1178 nsresult GetPath(nsAString *aPath);
1179 nsresult GetNativePath(nsACString *aNativePath);
1180 nsresult Exists(PRBool *_retval);
1181 nsresult IsWritable(PRBool *_retval);
1182 nsresult IsReadable(PRBool *_retval);
1183 nsresult IsExecutable(PRBool *_retval);
1184 nsresult IsHidden(PRBool *_retval);
1185 nsresult IsDirectory(PRBool *_retval);
1186 nsresult IsFile(PRBool *_retval);
1187 nsresult IsSymlink(PRBool *_retval);
1188 nsresult IsSpecial(PRBool *_retval);
1189 nsresult CreateUnique(PRUint32 type, PRUint32 permission);
1190 nsresult Clone(nsIFile **_retval);
1191 nsresult Equals(nsIFile *inFile, PRBool *_retval);
1192 nsresult Contains(nsIFile *inFile, PRBool recir, PRBool *_retval);
1193 nsresult GetParent(nsIFile **aParent);
1194 nsresult GetDirectoryEntries(nsISimpleEnumerator **aDirectoryEntries);
1199 uuid(bddeda3f-9020-4d12-8c70-984ee9f7935e)
1202 interface nsIIOService : nsISupports
1204 nsresult GetProtocolHandler(const char *aScheme, nsIProtocolHandler **_retval);
1205 nsresult GetProtocolFlags(const char *aScheme, PRUint32 *_retval);
1206 nsresult NewURI(const nsACString *aSpec, const char *aOriginCharset, nsIURI *aBaseURI,
1208 nsresult NewFileURI(nsIFile *aFile, nsIURI **_retval);
1209 nsresult NewChannelFromURI(nsIURI *aURI, nsIChannel **_retval);
1210 nsresult NewChannel(const nsACString *aSpec, const char *aOriginCharset, nsIURI *aBaseURI,
1211 nsIChannel **_retval);
1212 nsresult GetOffline(PRBool *aOffline);
1213 nsresult SetOffline(PRBool aOffline);
1214 nsresult AllowPort(PRInt32 aPort, const char *aScheme, PRBool *_retval);
1215 nsresult ExtractScheme(const nsACString *urlString, nsACString * _retval);
1220 uuid(9c5d3c58-1dd1-11b2-a1c9-f3699284657a)
1223 interface nsIWebBrowserFocus : nsISupports
1225 nsresult Activate();
1226 nsresult Deactivate();
1227 nsresult SetFocusAtFirstElement();
1228 nsresult SetFocusAtLastElement();
1229 nsresult GetFocusedWindow(nsIDOMWindow **aFocusedWindow);
1230 nsresult SetFocusedWindow(nsIDOMWindow *aFocusedWindow);
1231 nsresult GetFocusedElement(nsIDOMElement **aFocusedElement);
1232 nsresult SetFocusedElement(nsIDOMElement *aFocusedElement);
1237 uuid(ba434c60-9d52-11d3-afb0-00a024ffc08c)
1240 interface nsIWebBrowserChrome : nsISupports
1242 nsresult SetStatus(PRUint32 statusType, const PRUnichar *status);
1243 nsresult GetWebBrowser(nsIWebBrowser **aWebBrowser);
1244 nsresult SetWebBrowser(nsIWebBrowser *aWebBrowser);
1245 nsresult GetChromeFlags(PRUint32 *aChromeFlags);
1246 nsresult SetChromeFlags(PRUint32 aChromeFlags);
1247 nsresult DestroyBrowserWindow();
1248 nsresult SizeBrowserTo(PRInt32 aCX, PRInt32 aCY);
1249 nsresult ShowAsModal();
1250 nsresult IsWindowModal(PRBool *_retval);
1251 nsresult ExitModalEventLoop(nsresult aStatus);
1256 uuid(df31c120-ded6-11d1-bd85-00805f8ae3f4)
1259 interface nsIDOMEventListener : nsISupports
1261 nsresult HandleEvent(nsIDOMEvent *event);
1266 uuid(1c773b30-d1cf-11d2-bd95-00805f8ae3f4)
1269 interface nsIDOMEventTarget : nsISupports
1271 nsresult AddEventListener(const nsAString *type, nsIDOMEventListener *listener, PRBool useCapture);
1272 nsresult RemoveEventListener(const nsAString *type, nsIDOMEventListener *listener, PRBool useCapture);
1273 nsresult DispatchEvent(nsIDOMEvent *evt, PRBool *_retval);
1278 uuid(a66b7b80-ff46-bd97-0080-5f8ae38add32)
1281 interface nsIDOMEvent : nsISupports
1283 nsresult GetType(nsAString *aType);
1284 nsresult GetTarget(nsIDOMEventTarget **aTarget);
1285 nsresult GetCurrentTarget(nsIDOMEventTarget **aCurrentTarget);
1286 nsresult GetEventPhase(PRUint16 *aEventPhase);
1287 nsresult GetBubbles(PRBool *aBubbles);
1288 nsresult GetCancelable(PRBool *aCancelable);
1289 nsresult GetTimeStamp(DOMTimeStamp *aTimeStamp);
1290 nsresult StopPropagation();
1291 nsresult PreventDefault();
1292 nsresult InitEvent(const nsAString *eventTypeArg, PRBool canBubbleArg, PRBool cancelableArg);
1295 cpp_quote("#define CONTEXT_NONE 0x00");
1296 cpp_quote("#define CONTEXT_LINK 0x01");
1297 cpp_quote("#define CONTEXT_IMAGE 0x02");
1298 cpp_quote("#define CONTEXT_DOCUMENT 0x04");
1299 cpp_quote("#define CONTEXT_TEXT 0x08");
1300 cpp_quote("#define CONTEXT_INPUT 0x10");
1301 cpp_quote("#define CONTEXT_BACKGROUND_IMAGE 0x20");
1305 uuid(3478b6b0-3875-11d4-94ef-0020183bf181)
1308 interface nsIContextMenuListener : nsISupports
1310 nsresult OnShowContextMenu(PRUint32 aContextFlags, nsIDOMEvent *aEvent, nsIDOMNode *aNode);
1315 uuid(a6cf90c3-15b3-11d2-932e-00805f8add32)
1318 interface nsIDOMUIEvent : nsIDOMEvent
1320 nsresult GetView(nsIDOMAbstractView **aView);
1321 nsresult GetDetail(PRInt32 *aDetail);
1322 nsresult InitUIEvent(const nsAString *typeArg, PRBool canBubbleArg, PRBool cancelableArg,
1323 nsIDOMAbstractView *viewArg, PRInt32 detailArg);
1328 uuid(ff751edc-8b02-aae7-0010-8301838a3123)
1331 interface nsIDOMMouseEvent : nsIDOMUIEvent
1333 nsresult GetScreenX(PRInt32 *aScreenX);
1334 nsresult GetScreenY(PRInt32 *aScreenY);
1335 nsresult GetClientX(PRInt32 *aClientX);
1336 nsresult GetClientY(PRInt32 *aClientY);
1337 nsresult GetCtrlKey(PRBool *aCtrlKey);
1338 nsresult GetShiftKey(PRBool *aShiftKey);
1339 nsresult GetAltKey(PRBool *aAltKey);
1340 nsresult GetMetaKey(PRBool *aMetaKey);
1341 nsresult GetButton(PRUint16 *aButton);
1342 nsresult GetRelatedTarget(nsIDOMEventTarget * *aRelatedTarget);
1343 nsresult InitMouseEvent(const nsAString *typeArg, PRBool canBubbleArg, PRBool cancelableArg,
1344 nsIDOMAbstractView *viewArg, PRInt32 detailArg, PRInt32 screenXArg, PRInt32 screenYArg,
1345 PRInt32 clientXArg, PRInt32 clientYArg, PRBool ctrlKeyArg, PRBool altKeyArg,
1346 PRBool shiftKeyArg, PRBool metaKeyArg, PRUint16 buttonArg,
1347 nsIDOMEventTarget *relatedTargetArg);
1352 uuid(028e0e6e-8b01-11d3-aae7-0010838a3123)
1355 interface nsIDOMKeyEvent : nsIDOMUIEvent
1357 nsresult GetCharCode(PRUint32 *aCharCode);
1358 nsresult GetKeyCode(PRUint32 *aKeyCode);
1359 nsresult GetAltKey(PRBool *aAltKey);
1360 nsresult GetCtrlKey(PRBool *aCtrlKey);
1361 nsresult GetShiftKey(PRBool *aShiftKey);
1362 nsresult GetMetaKey(PRBool *aMetaKey);
1363 nsresult InitKeyEvent(const nsAString *typeArg, PRBool canBubbleArg,
1364 PRBool cancelableArg, nsIDOMAbstractView *viewArg, PRBool ctrlKeyArg,
1365 PRBool altKeyArg, PRBool shiftKeyArg, PRBool metaKeyArg, PRUint32 keyCodeArg,
1366 PRUint32 charCodeArg);
1371 uuid(3e5432cd-9568-4bd1-8cbe-d50aba110743)
1374 interface nsIEmbeddingSiteWindow : nsISupports
1376 nsresult SetDimensions(PRUint32 flags, PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy);
1377 nsresult GetDimensions(PRUint32 flags, PRInt32 *x, PRInt32 *y, PRInt32 *cx, PRInt32 *cy);
1378 nsresult SetFocus();
1379 nsresult GetVisibility(PRBool *aVisibility);
1380 nsresult SetVisibility(PRBool aVisibility);
1381 nsresult GetTitle(PRUnichar **aTitle);
1382 nsresult SetTitle(const PRUnichar *aTitle);
1383 nsresult GetSiteWindow(void **aSiteWindow);
1388 uuid(2417cbfe-65ad-48a6-b4b6-eb84db174392)
1391 interface nsIComponentRegistrar : nsISupports
1393 nsresult AutoRegister(nsIFile *aSpec);
1394 nsresult AutoUnregister(nsIFile *aSpec);
1395 nsresult RegisterFactory(const nsCID *aClass, const char *aClassName,
1396 const char *aContractID, nsIFactory *aFactory);
1397 nsresult UnregisterFactory(const nsCID *aClass, nsIFactory *aFactory);
1398 nsresult RegisterFactoryLocation(const nsCID *aClass, const char *aClassName,
1399 const char *aContractID, nsIFile *aFile, const char *aLoaderStr,
1401 nsresult UnregisterFactoryLocation(const nsCID *aClass, nsIFile *aFile);
1402 nsresult IsCIDRegistered(const nsCID *aClass, PRBool *_retval);
1403 nsresult IsContractIDRegistered(const char *aContractID, PRBool *_retval);
1404 nsresult EnumerateCIDs(nsISimpleEnumerator **_retval);
1405 nsresult EnumerateContractIDs(nsISimpleEnumerator **_retval);
1406 nsresult CIDToContractID(const nsCID *aClass, char **_retval);
1407 nsresult ContractIDToCID(const char *aContractID, nsCID **_retval);
1412 uuid(1630c61a-325e-49ca-8759-a31b16c47aa5)
1415 interface nsIPromptService : nsISupports
1417 nsresult Alert(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
1418 const PRUnichar *aText);
1419 nsresult AlertCheck(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
1420 const PRUnichar *aText, const PRUnichar *aCheckMsg, PRBool *aCheckState);
1421 nsresult Confirm(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
1422 const PRUnichar *aText, PRBool *_retval);
1423 nsresult ConfirmCheck(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
1424 const PRUnichar *aText, const PRUnichar *aCheckMsg, PRBool *aCheckState,
1426 nsresult ConfirmEx(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
1427 const PRUnichar *aText, PRUint32 aButtonFlags, const PRUnichar *aButton0Title,
1428 const PRUnichar *aButton1Title, const PRUnichar *aButton2Title,
1429 const PRUnichar *aCheckMsg, PRBool *aCheckState, PRInt32 *_retval);
1430 nsresult Prompt(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
1431 const PRUnichar *aText, PRUnichar **aValue, const PRUnichar *aCheckMsg,
1432 PRBool *aCheckState, PRBool *_retval);
1433 nsresult PromptUsernameAndPassword(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
1434 const PRUnichar *aText, PRUnichar **aUsername, PRUnichar **aPassword,
1435 const PRUnichar *aCheckMsg, PRBool *aCheckState, PRBool *_retval);
1436 nsresult PromptPassword(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
1437 const PRUnichar *aText, PRUnichar **aPassword, const PRUnichar *aCheckMsg,
1438 PRBool *aCheckState, PRBool *_retval);
1439 nsresult Select(nsIDOMWindow *aParent, const PRUnichar *aDialogTitle,
1440 const PRUnichar *aText, PRUint32 aCount, const PRUnichar **aSelectList,
1441 PRInt32 *aOutSelection, PRBool *_retval);
1446 uuid(b128a1e6-44f3-4331-8fbe-5af360ff21ee)
1449 interface nsITooltipTextProvider : nsISupports
1451 nsresult GetNodeText(nsIDOMNode *aNode, PRUnichar **aText, PRBool *_retval);
1456 uuid(02b0625a-e7f3-11d2-9f5a-006008a6efe9)
1459 interface nsIProfile : nsISupports
1461 nsresult GetProfileCount(PRInt32 *aProfileCount);
1462 nsresult GetProfileList(PRUint32 *length, PRUnichar ***profileNames);
1463 nsresult ProfileExists(const PRUnichar *profileName, PRBool *_retval);
1464 nsresult GetCurrentProfile(PRUnichar * *aCurrentProfile);
1465 nsresult SetCurrentProfile(const PRUnichar * aCurrentProfile);
1466 nsresult ShutDownCurrentProfile(PRUint32 shutDownType);
1467 nsresult CreateNewProfile(const PRUnichar *profileName,
1468 const PRUnichar *nativeProfileDir, const PRUnichar *langcode,
1469 PRBool useExistingDir);
1470 nsresult RenameProfile(const PRUnichar *oldName, const PRUnichar *newName);
1471 nsresult DeleteProfile(const PRUnichar *name, PRBool canDeleteFiles);
1472 nsresult CloneProfile(const PRUnichar *profileName);
1477 uuid(30465632-a777-44cc-90f9-8145475ef999)
1480 interface nsIWindowCreator : nsISupports
1482 nsresult CreateChromeWindow(nsIWebBrowserChrome *parent, PRUint32 chromeFlags,
1483 nsIWebBrowserChrome **_retval);
1488 uuid(f673ec81-a4b0-11d6-964b-eb5a2bf216fc)
1491 interface nsIWindowCreator2 : nsIWindowCreator
1493 nsresult CreateChromeWindow2(nsIWebBrowserChrome *parent, PRUint32 chromeFlags,
1494 PRUint32 contextFlags, nsIURI *uri, PRBool *cancel,
1495 nsIWebBrowserChrome **_retval);
1500 uuid(002286a8-494b-43b3-8ddd-49e3fc50622b)
1503 interface nsIWindowWatcher : nsISupports
1505 nsresult OpenWindow(nsIDOMWindow *aParent, const char *aUrl, const char *aName,
1506 const char *aFeatures, nsISupports *aArguments, nsIDOMWindow **_retval);
1507 nsresult RegisterNotification(nsIObserver *aObserver);
1508 nsresult UnregisterNotification(nsIObserver *aObserver);
1509 nsresult GetWindowEnumerator(nsISimpleEnumerator **_retval);
1510 nsresult GetNewPrompter(nsIDOMWindow *aParent, nsIPrompt **_retval);
1511 nsresult GetNewAuthPrompter(nsIDOMWindow *aParent, nsIAuthPrompt **_retval);
1512 nsresult SetWindowCreator(nsIWindowCreator *creator);
1513 nsresult GetChromeForWindow(nsIDOMWindow *aWindow, nsIWebBrowserChrome **_retval);
1514 nsresult GetWindowByName(const PRUnichar *aTargetName, nsIDOMWindow *aCurrentWindow,
1515 nsIDOMWindow **_retval);
1516 nsresult GetActiveWindow(nsIDOMWindow **aActiveWindow);
1517 nsresult SetActiveWindow(nsIDOMWindow *aActiveWindow);
1522 uuid(d39fd2b4-3978-45d2-a4be-ba448171b61b)
1525 interface nsIEditingSession : nsISupports
1527 nsresult GetEditorStatus(PRUint32 *aEditorStatus);
1528 nsresult MakeWindowEditable(nsIDOMWindow *window, const char *aEditorType,
1529 PRBool doAfterUriLoad);
1530 nsresult WindowIsEditable(nsIDOMWindow *window, PRBool *_retval);
1531 nsresult GetEditorForWindow(nsIDOMWindow *window, nsIEditor **_retval);
1532 nsresult SetupEditorOnWindow(nsIDOMWindow *window);
1533 nsresult TearDownEditorOnWindow(nsIDOMWindow *window);
1534 nsresult SetEditorOnControllers(nsIDOMWindow *aWindow, nsIEditor *aEditor);
1539 uuid(83f892cf-7ed3-490e-967a-62640f3158e1)
1542 interface nsICommandParams : nsISupports
1544 nsresult GetValueType(const char *name, PRInt16 *_retval);
1545 nsresult GetBooleanValue(const char *name, PRBool *_retval);
1546 nsresult GetLongValue(const char *name, PRInt32 *_retval);
1547 nsresult GetDoubleValue(const char *name, double *_retval);
1548 nsresult GetStringValue(const char *name, nsAString *_retval);
1549 nsresult GetCStringValue(const char *name, char **_retval);
1550 nsresult GetISupportsValue(const char *name, nsISupports **_retval);
1551 nsresult SetBooleanValue(const char *name, PRBool value);
1552 nsresult SetLongValue(const char *name, PRInt32 value);
1553 nsresult SetDoubleValue(const char *name, double value);
1554 nsresult SetStringValue(const char *name, const nsAString *value);
1555 nsresult SetCStringValue(const char *name, const char *value);
1556 nsresult SetISupportsValue(const char *name, nsISupports *value);
1557 nsresult RemoveValue(const char *name);
1558 nsresult HasMoreElements(PRBool *_retval);
1560 nsresult GetNext(char **_retval);
1565 uuid(080d2001-f91e-11d4-a73c-f9242928207c)
1568 interface nsICommandManager : nsISupports
1570 nsresult AddCommandObserver(nsIObserver *aCommandObserver, const char *aCommandToObserve);
1571 nsresult RemoveCommandObserver(nsIObserver *aCommandObserver, const char *aCommandObserved);
1572 nsresult IsCommandSupported(const char *aCommandName, nsIDOMWindow *aTargetWindow, PRBool *_retval);
1573 nsresult IsCommandEnabled(const char *aCommandName, nsIDOMWindow *aTargetWindow, PRBool *_retval);
1574 nsresult GetCommandState(const char *aCommandName, nsIDOMWindow *aTargetWindow,
1575 nsICommandParams *aCommandParams);
1576 nsresult DoCommand(const char *aCommandName, nsICommandParams *aCommandParams,
1577 nsIDOMWindow *aTargetWindow);
1582 uuid(d650439a-ca29-410d-a906-b0557fb62fcd)
1585 interface nsIContentSerializer : nsISupports
1587 nsresult Init(PRUint32 flags, PRUint32 aWrapColumn, const char* aCharSet, PRBool aIsCopying);
1588 nsresult AppendText(nsIDOMText *aText, PRInt32 aStartOffset, PRInt32 aEndOffset, nsAString *aStr);
1589 nsresult AppendCDATASection(nsIDOMCDATASection *aCDATASection, PRInt32 aStartOffset,
1590 PRInt32 aEndOffset, nsAString *aStr);
1591 nsresult AppendProcessingInstruction(nsIDOMProcessingInstruction* aPI, PRInt32 aStartOffset,
1592 PRInt32 aEndOffset, nsAString *aStr);
1593 nsresult AppendComment(nsIDOMComment *aComment, PRInt32 aStartOffset, PRInt32 aEndOffset,
1595 nsresult AppendDoctype(nsIDOMDocumentType *aDoctype, nsAString *aStr);
1596 nsresult AppendElementStart(nsIDOMElement *aElement, PRBool aHasChildren, nsAString *aStr);
1597 nsresult AppendElementEnd(nsIDOMElement *aElement, nsAString *aStr);
1598 nsresult Flush(nsAString *aStr);
1599 nsresult AppendDocumentStart(nsIDOMDocument *aDocument, nsAString *aStr);
1604 * This is a private Wine interface that is implemented by our implementation
1605 * of nsIURI to store its owner.
1609 uuid(5088272e-900b-11da-c687-000fea57f21a)
1612 interface nsIWineURI : nsIURI
1614 typedef struct NSContainer NSContainer;
1616 nsresult GetNSContainer(NSContainer **aNSContainer);
1617 nsresult SetNSContainer(NSContainer *aNSContainer);
1618 nsresult GetIsDocumentURI(PRBool *aIsDocumentURI);
1619 nsresult SetIsDocumentURI(PRBool aIsDocumentURI);
1620 nsresult GetWineURL(LPCWSTR *aURL);
1621 nsresult SetWineURL(LPCWSTR aURL);