revert r50702

svn path=/branches/cmake-bringup/; revision=50765
This commit is contained in:
Timo Kreuzer 2011-02-17 13:40:11 +00:00
parent 91fce48fa1
commit ba07da3850

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
/* /*
* NOTE: * NOTE:
* This file is not a typical idl file. Interfaces in this file are XPCOM * This file is not a typical idl file. Interfaces in this file are XPCOM
* interfaces (NOT MSCOM!), but we generate the header file with WIDL * interfaces (NOT MSCOM!), but we generate the header file with WIDL
@ -27,7 +27,6 @@ cpp_quote("#define GECKO_VERSION \"1.0.0\"")
cpp_quote("#define GECKO_VERSION_STRING \"Wine Gecko \" GECKO_VERSION") cpp_quote("#define GECKO_VERSION_STRING \"Wine Gecko \" GECKO_VERSION")
import "wtypes.idl"; import "wtypes.idl";
import "unknwn.idl";
cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
cpp_quote("#undef GetForm") cpp_quote("#undef GetForm")
@ -94,50 +93,60 @@ interface nsIDOMWindow;
interface IMoniker; interface IMoniker;
#define nsISupports IUnknown [
object,
uuid(00000000-0000-0000-c000-000000000046),
local
]
interface nsISupports
{
nsresult QueryInterface(nsIIDRef riid, nsQIResult result);
nsrefcnt AddRef();
nsrefcnt Release();
}
/* Currently we don't need a full declaration of these interfaces */ /* Currently we don't need a full declaration of these interfaces */
typedef nsISupports *pnsISHistory; typedef nsISupports nsISHistory;
typedef nsISupports *pnsIWidget; typedef nsISupports nsIWidget;
typedef nsISupports *pnsIHttpHeaderVisitor; typedef nsISupports nsIHttpHeaderVisitor;
typedef nsISupports *pnsIDOMBarProp; typedef nsISupports nsIDOMBarProp;
typedef nsISupports *pnsIPrompt; typedef nsISupports nsIPrompt;
typedef nsISupports *pnsIAuthPrompt; typedef nsISupports nsIAuthPrompt;
typedef nsISupports *pnsIDOMNamedNodeMap; typedef nsISupports nsIDOMNamedNodeMap;
typedef nsISupports *pnsIDOMAttr; typedef nsISupports nsIDOMAttr;
typedef nsISupports *pnsIDOMDocumentType; typedef nsISupports nsIDOMDocumentType;
typedef nsISupports *pnsIDOMDOMImplementation; typedef nsISupports nsIDOMDOMImplementation;
typedef nsISupports *pnsIDOMCDATASection; typedef nsISupports nsIDOMCDATASection;
typedef nsISupports *pnsIDOMProcessingInstruction; typedef nsISupports nsIDOMProcessingInstruction;
typedef nsISupports *pnsIDOMEntityReference; typedef nsISupports nsIDOMEntityReference;
typedef nsISupports *pnsIWebProgressListener; typedef nsISupports nsIWebProgressListener;
typedef nsISupports *pnsIDOMCSSValue; typedef nsISupports nsIDOMCSSValue;
typedef nsISupports *pnsIPrintSession; typedef nsISupports nsIPrintSession;
typedef nsISupports *pnsIControllerCommandTable; typedef nsISupports nsIControllerCommandTable;
typedef nsISupports *pnsIPrincipal; typedef nsISupports nsIPrincipal;
typedef nsISupports *pnsIAtom; typedef nsISupports nsIAtom;
typedef nsISupports *pnsISupportsArray; typedef nsISupports nsISupportsArray;
typedef nsISupports *pnsIContentFilter; typedef nsISupports nsIContentFilter;
typedef nsISupports *pnsIDOMMediaList; typedef nsISupports nsIDOMMediaList;
typedef nsISupports *pnsIDOMHTMLTableCaptionElement; typedef nsISupports nsIDOMHTMLTableCaptionElement;
typedef nsISupports *pnsIDOMHTMLTableSectionElement; typedef nsISupports nsIDOMHTMLTableSectionElement;
typedef nsISupports *pnsIDOMClientRectList; typedef nsISupports nsIDOMClientRectList;
typedef nsISupports *pnsIDOMLocation; typedef nsISupports nsIDOMLocation;
typedef nsISupports *pnsIDocument; typedef nsISupports nsIDocument;
typedef nsISupports *pnsIContent; typedef nsISupports nsIContent;
typedef nsISupports *pnsINode; typedef nsISupports nsINode;
typedef nsISupports *pnsIStyleSheet; typedef nsISupports nsIStyleSheet;
typedef nsISupports *pnsIStyleRule; typedef nsISupports nsIStyleRule;
typedef nsISupports *pnsIVariant; typedef nsISupports nsIVariant;
typedef nsISupports *pnsIDOMUserDataHandler; typedef nsISupports nsIDOMUserDataHandler;
typedef nsISupports *pnsIDocShellLoadInfo; typedef nsISupports nsIDocShellLoadInfo;
typedef nsISupports *pnsISHEntry; typedef nsISupports nsISHEntry;
typedef nsISupports *pnsIPresShell; typedef nsISupports nsIPresShell;
typedef nsISupports *pnsIContentViewer; typedef nsISupports nsIContentViewer;
typedef nsISupports *pnsIDocumentCharsetInfo; typedef nsISupports nsIDocumentCharsetInfo;
typedef nsISupports *pnsILayoutHistoryState; typedef nsISupports nsILayoutHistoryState;
typedef nsISupports *pnsISecureBrowserUI; typedef nsISupports nsISecureBrowserUI;
typedef nsISupports *pnsIDOMStorage; typedef nsISupports nsIDOMStorage;
[ [
object, object,
@ -274,7 +283,7 @@ interface nsIInputStream : nsISupports
nsresult Close(); nsresult Close();
nsresult Available(PRUint32 *_retval); nsresult Available(PRUint32 *_retval);
nsresult Read(char *aBuf, PRUint32 aCount, PRUint32 *_retval); nsresult Read(char *aBuf, PRUint32 aCount, PRUint32 *_retval);
nsresult ReadSegments(nsresult (*aWriter)(nsIInputStream *aInStream, nsresult ReadSegments(nsresult (*aWriter)(nsIInputStream *aInStream,
void *aClosure, const char *aFromSegment, PRUint32 aToOffset, void *aClosure, const char *aFromSegment, PRUint32 aToOffset,
PRUint32 aCount, PRUint32 *aWriteCount), PRUint32 aCount, PRUint32 *aWriteCount),
void *aClosure, PRUint32 aCount, PRUint32 *_retval); void *aClosure, PRUint32 aCount, PRUint32 *_retval);
@ -382,7 +391,7 @@ interface nsIRequestObserver : nsISupports
uuid(1a637020-1482-11d3-9333-00104ba0fd40), uuid(1a637020-1482-11d3-9333-00104ba0fd40),
local local
/* FROZEN */ /* FROZEN */
] ]
interface nsIStreamListener : nsIRequestObserver interface nsIStreamListener : nsIRequestObserver
{ {
nsresult OnDataAvailable(nsIRequest *aRequest, nsISupports *aContext, nsresult OnDataAvailable(nsIRequest *aRequest, nsISupports *aContext,
@ -449,7 +458,7 @@ interface nsIHttpChannel : nsIChannel
nsresult SetReferrer(nsIURI *aReferrer); nsresult SetReferrer(nsIURI *aReferrer);
nsresult GetRequestHeader(const nsACString *aHeader, nsACString *_retval); nsresult GetRequestHeader(const nsACString *aHeader, nsACString *_retval);
nsresult SetRequestHeader(const nsACString *aHeader, const nsACString *aValue, PRBool aMerge); nsresult SetRequestHeader(const nsACString *aHeader, const nsACString *aValue, PRBool aMerge);
nsresult VisitRequestHeaders(pnsIHttpHeaderVisitor aVisitor); nsresult VisitRequestHeaders(nsIHttpHeaderVisitor *aVisitor);
nsresult GetAllowPipelining(PRBool *aAllowPipelining); nsresult GetAllowPipelining(PRBool *aAllowPipelining);
nsresult SetAllowPipelining(PRBool aAllowPipelining); nsresult SetAllowPipelining(PRBool aAllowPipelining);
nsresult GetRedirectionLimit(PRUint32 *aRedirectionLimit); nsresult GetRedirectionLimit(PRUint32 *aRedirectionLimit);
@ -459,7 +468,7 @@ interface nsIHttpChannel : nsIChannel
nsresult GetRequestSucceeded(PRBool *aRequestSucceeded); nsresult GetRequestSucceeded(PRBool *aRequestSucceeded);
nsresult GetResponseHeader(const nsACString *header, nsACString *_retval); nsresult GetResponseHeader(const nsACString *header, nsACString *_retval);
nsresult SetResponseHeader(const nsACString *header, const nsACString *value, PRBool merge); nsresult SetResponseHeader(const nsACString *header, const nsACString *value, PRBool merge);
nsresult VisitResponseHeaders(pnsIHttpHeaderVisitor aVisitor); nsresult VisitResponseHeaders(nsIHttpHeaderVisitor *aVisitor);
nsresult IsNoStoreResponse(PRBool *_retval); nsresult IsNoStoreResponse(PRBool *_retval);
nsresult IsNoCacheResponse(PRBool *_retval); nsresult IsNoCacheResponse(PRBool *_retval);
} }
@ -521,7 +530,7 @@ interface nsIDOMCSSStyleDeclaration : nsISupports
nsresult GetCssText(nsAString *aCssText); nsresult GetCssText(nsAString *aCssText);
nsresult SetCssText(const nsAString *aCssText); nsresult SetCssText(const nsAString *aCssText);
nsresult GetPropertyValue(const nsAString *propertyName, nsAString *_retval); nsresult GetPropertyValue(const nsAString *propertyName, nsAString *_retval);
nsresult GetPropertyCSSValue(const nsAString *propertyName, pnsIDOMCSSValue *_retval); nsresult GetPropertyCSSValue(const nsAString *propertyName, nsIDOMCSSValue **_retval);
nsresult RemoveProperty(const nsAString *propertyName, nsAString *_retval); nsresult RemoveProperty(const nsAString *propertyName, nsAString *_retval);
nsresult GetPropertyPriority(const nsAString *propertyName, nsAString *_retval); nsresult GetPropertyPriority(const nsAString *propertyName, nsAString *_retval);
nsresult SetProperty(const nsAString *propertyName, const nsAString *value, nsresult SetProperty(const nsAString *propertyName, const nsAString *value,
@ -558,7 +567,7 @@ interface nsIDOMStyleSheet : nsISupports
nsresult GetParentStyleSheet(nsIDOMStyleSheet **aParentStyleSheet); nsresult GetParentStyleSheet(nsIDOMStyleSheet **aParentStyleSheet);
nsresult GetHref(nsAString *aHref); nsresult GetHref(nsAString *aHref);
nsresult GetTitle(nsAString *aTitle); nsresult GetTitle(nsAString *aTitle);
nsresult GetMedia(pnsIDOMMediaList *aMedia); nsresult GetMedia(nsIDOMMediaList **aMedia);
} }
[ [
@ -626,8 +635,8 @@ interface nsIDOM3Node : nsISupports
nsresult LookupNamespaceURI(const nsAString *prefix, nsAString _retval); nsresult LookupNamespaceURI(const nsAString *prefix, nsAString _retval);
nsresult IsEqualNode(nsIDOMNode *arg, PRBool *_retval); nsresult IsEqualNode(nsIDOMNode *arg, PRBool *_retval);
nsresult GetFeature(const nsAString *feature, const nsAString *version, nsISupports **_retval); nsresult GetFeature(const nsAString *feature, const nsAString *version, nsISupports **_retval);
nsresult SetUserData(const nsAString *key, pnsIVariant data, pnsIDOMUserDataHandler handler, pnsIVariant *_retval); nsresult SetUserData(const nsAString *key, nsIVariant *data, nsIDOMUserDataHandler *handler, nsIVariant **_retval);
nsresult GetUserData(const nsAString *key, pnsIVariant *_retval); nsresult GetUserData(const nsAString *key, nsIVariant **_retval);
} }
[ [
@ -663,7 +672,7 @@ interface nsIDOMNode : nsISupports
nsresult GetLastChild(nsIDOMNode **aLastChild); nsresult GetLastChild(nsIDOMNode **aLastChild);
nsresult GetPreviousSibling(nsIDOMNode **aPreviousSibling); nsresult GetPreviousSibling(nsIDOMNode **aPreviousSibling);
nsresult GetNextSibling(nsIDOMNode **aNextSibling); nsresult GetNextSibling(nsIDOMNode **aNextSibling);
nsresult GetAttributes(pnsIDOMNamedNodeMap *aAttributes); nsresult GetAttributes(nsIDOMNamedNodeMap **aAttributes);
nsresult GetOwnerDocument(nsIDOMDocument **aOwnerDocument); nsresult GetOwnerDocument(nsIDOMDocument **aOwnerDocument);
nsresult InsertBefore(nsIDOMNode *newChild, nsIDOMNode *refChild, nsIDOMNode **_retval); nsresult InsertBefore(nsIDOMNode *newChild, nsIDOMNode *refChild, nsIDOMNode **_retval);
nsresult ReplaceChild(nsIDOMNode *newChild, nsIDOMNode *oldChild, nsIDOMNode **_retval); nsresult ReplaceChild(nsIDOMNode *newChild, nsIDOMNode *oldChild, nsIDOMNode **_retval);
@ -692,9 +701,9 @@ interface nsIDOMElement : nsIDOMNode
nsresult GetAttribute(const nsAString *name, nsAString *_retval); nsresult GetAttribute(const nsAString *name, nsAString *_retval);
nsresult SetAttribute(const nsAString *name, const nsAString *value); nsresult SetAttribute(const nsAString *name, const nsAString *value);
nsresult RemoveAttribute(const nsAString *name); nsresult RemoveAttribute(const nsAString *name);
nsresult GetAttributeNode(const nsAString *name, pnsIDOMAttr *_retval); nsresult GetAttributeNode(const nsAString *name, nsIDOMAttr **_retval);
nsresult SetAttributeNode(pnsIDOMAttr newAttr, pnsIDOMAttr *_retval); nsresult SetAttributeNode(nsIDOMAttr *newAttr, nsIDOMAttr **_retval);
nsresult RemoveAttributeNode(pnsIDOMAttr oldAttr, pnsIDOMAttr *_retval); nsresult RemoveAttributeNode(nsIDOMAttr *oldAttr, nsIDOMAttr **_retval);
nsresult GetElementsByTagName(const nsAString *name, nsIDOMNodeList **_retval); nsresult GetElementsByTagName(const nsAString *name, nsIDOMNodeList **_retval);
nsresult GetAttributeNS(const nsAString *namespaceURI, const nsAString *localName, nsresult GetAttributeNS(const nsAString *namespaceURI, const nsAString *localName,
nsAString *_retval); nsAString *_retval);
@ -702,8 +711,8 @@ interface nsIDOMElement : nsIDOMNode
const nsAString *value); const nsAString *value);
nsresult RemoveAttributeNS(const nsAString *namespaceURI, const nsAString *localName); nsresult RemoveAttributeNS(const nsAString *namespaceURI, const nsAString *localName);
nsresult GetAttributeNodeNS(const nsAString *namespaceURI, const nsAString *localName, nsresult GetAttributeNodeNS(const nsAString *namespaceURI, const nsAString *localName,
pnsIDOMAttr *_retval); nsIDOMAttr **_retval);
nsresult SetAttributeNodeNS(pnsIDOMAttr newAttr, pnsIDOMAttr *_retval); nsresult SetAttributeNodeNS(nsIDOMAttr *newAttr, nsIDOMAttr **_retval);
nsresult GetElementsByTagNameNS(const nsAString *namespaceURI, const nsAString *localName, nsresult GetElementsByTagNameNS(const nsAString *namespaceURI, const nsAString *localName,
nsIDOMNodeList **_retval); nsIDOMNodeList **_retval);
nsresult HasAttribute(const nsAString *name, PRBool *_retval); nsresult HasAttribute(const nsAString *name, PRBool *_retval);
@ -747,7 +756,7 @@ interface nsIDOMClientRect : nsISupports
interface nsIDOMNSElement : nsISupports interface nsIDOMNSElement : nsISupports
{ {
nsresult GetElementsByClassName(const nsAString *classes, nsIDOMNodeList **_retval); nsresult GetElementsByClassName(const nsAString *classes, nsIDOMNodeList **_retval);
nsresult GetClientRects(pnsIDOMClientRectList *_retval); nsresult GetClientRects(nsIDOMClientRectList **_retval);
nsresult GetBoundingClientRect(nsIDOMClientRect **_retval); nsresult GetBoundingClientRect(nsIDOMClientRect **_retval);
nsresult GetScrollTop(PRInt32 *aScrollTop); nsresult GetScrollTop(PRInt32 *aScrollTop);
nsresult SetScrollTop(PRInt32 aScrollTop); nsresult SetScrollTop(PRInt32 aScrollTop);
@ -909,24 +918,24 @@ interface nsIDOMViewCSS : nsIDOMAbstractView
] ]
interface nsIDOMDocument : nsIDOMNode interface nsIDOMDocument : nsIDOMNode
{ {
nsresult GetDoctype(pnsIDOMDocumentType *aDoctype); nsresult GetDoctype(nsIDOMDocumentType **aDoctype);
nsresult GetImplementation(pnsIDOMDOMImplementation *aImplementation); nsresult GetImplementation(nsIDOMDOMImplementation **aImplementation);
nsresult GetDocumentElement(nsIDOMElement **aDocumentElement); nsresult GetDocumentElement(nsIDOMElement **aDocumentElement);
nsresult CreateElement(const nsAString *tagName, nsIDOMElement **_retval); nsresult CreateElement(const nsAString *tagName, nsIDOMElement **_retval);
nsresult CreateDocumentFragment(nsIDOMDocumentFragment **_retval); nsresult CreateDocumentFragment(nsIDOMDocumentFragment **_retval);
nsresult CreateTextNode(const nsAString *data, nsIDOMText **_retval); nsresult CreateTextNode(const nsAString *data, nsIDOMText **_retval);
nsresult CreateComment(const nsAString *data, nsIDOMComment **_retval); nsresult CreateComment(const nsAString *data, nsIDOMComment **_retval);
nsresult CreateCDATASection(const nsAString *data, pnsIDOMCDATASection *_retval); nsresult CreateCDATASection(const nsAString *data, nsIDOMCDATASection **_retval);
nsresult CreateProcessingInstruction(const nsAString *target, const nsAString *data, nsresult CreateProcessingInstruction(const nsAString *target, const nsAString *data,
pnsIDOMProcessingInstruction *_retval); nsIDOMProcessingInstruction **_retval);
nsresult CreateAttribute(const nsAString *name, pnsIDOMAttr *_retval); nsresult CreateAttribute(const nsAString *name, nsIDOMAttr **_retval);
nsresult CreateEntityReference(const nsAString *name, pnsIDOMEntityReference *_retval); nsresult CreateEntityReference(const nsAString *name, nsIDOMEntityReference **_retval);
nsresult GetElementsByTagName(const nsAString *tagname, nsIDOMNodeList **_retval); nsresult GetElementsByTagName(const nsAString *tagname, nsIDOMNodeList **_retval);
nsresult ImportNode(nsIDOMNode *importedNode, PRBool deep, nsIDOMNode **_retval); nsresult ImportNode(nsIDOMNode *importedNode, PRBool deep, nsIDOMNode **_retval);
nsresult CreateElementNS(const nsAString *namespaceURI, const nsAString *qualifiedName, nsresult CreateElementNS(const nsAString *namespaceURI, const nsAString *qualifiedName,
nsIDOMElement **_retval); nsIDOMElement **_retval);
nsresult CreateAttributeNS(const nsAString *namespaceURI, const nsAString *qualifiedName, nsresult CreateAttributeNS(const nsAString *namespaceURI, const nsAString *qualifiedName,
pnsIDOMAttr *_retval); nsIDOMAttr **_retval);
nsresult GetElementsByTagNameNS(const nsAString *namespaceURI, const nsAString *localName, nsresult GetElementsByTagNameNS(const nsAString *namespaceURI, const nsAString *localName,
nsIDOMNodeList **_retval); nsIDOMNodeList **_retval);
nsresult GetElementById(const nsAString *elementId, nsIDOMElement **_retval); nsresult GetElementById(const nsAString *elementId, nsIDOMElement **_retval);
@ -943,7 +952,7 @@ interface nsIDOMNSDocument : nsISupports
nsresult GetCharacterSet(nsAString *aCharacterSet); nsresult GetCharacterSet(nsAString *aCharacterSet);
nsresult GetDir(nsAString *aDir); nsresult GetDir(nsAString *aDir);
nsresult SetDir(const nsAString *aDir); nsresult SetDir(const nsAString *aDir);
nsresult GetLocation(pnsIDOMLocation *aLocation); nsresult GetLocation(nsIDOMLocation **aLocation);
nsresult GetTitle(nsAString *aTitle); nsresult GetTitle(nsAString *aTitle);
nsresult SetTitle(const nsAString *aTitle); nsresult SetTitle(const nsAString *aTitle);
nsresult GetContentType(nsAString *aContentType); nsresult GetContentType(nsAString *aContentType);
@ -1188,7 +1197,7 @@ interface nsIDOMWindow : nsISupports
nsresult GetDocument(nsIDOMDocument **aDocument); nsresult GetDocument(nsIDOMDocument **aDocument);
nsresult GetParent(nsIDOMWindow **aParent); nsresult GetParent(nsIDOMWindow **aParent);
nsresult GetTop(nsIDOMWindow **aTop); nsresult GetTop(nsIDOMWindow **aTop);
nsresult GetScrollbars(pnsIDOMBarProp *aScrollbars); nsresult GetScrollbars(nsIDOMBarProp **aScrollbars);
nsresult GetFrames(nsIDOMWindowCollection **aFrames); nsresult GetFrames(nsIDOMWindowCollection **aFrames);
nsresult GetName(nsAString *aName); nsresult GetName(nsAString *aName);
nsresult SetName(const nsAString *aName); nsresult SetName(const nsAString *aName);
@ -1506,12 +1515,12 @@ interface nsIDOMHTMLAnchorElement : nsIDOMHTMLElement
] ]
interface nsIDOMHTMLTableElement : nsIDOMHTMLElement interface nsIDOMHTMLTableElement : nsIDOMHTMLElement
{ {
nsresult GetCaption(pnsIDOMHTMLTableCaptionElement *aCaption); nsresult GetCaption(nsIDOMHTMLTableCaptionElement **aCaption);
nsresult SetCaption(pnsIDOMHTMLTableCaptionElement aCaption); nsresult SetCaption(nsIDOMHTMLTableCaptionElement *aCaption);
nsresult GetTHead(pnsIDOMHTMLTableSectionElement *aTHead); nsresult GetTHead(nsIDOMHTMLTableSectionElement **aTHead);
nsresult SetTHead(pnsIDOMHTMLTableSectionElement aTHead); nsresult SetTHead(nsIDOMHTMLTableSectionElement *aTHead);
nsresult GetTFoot(pnsIDOMHTMLTableSectionElement *aTFoot); nsresult GetTFoot(nsIDOMHTMLTableSectionElement **aTFoot);
nsresult SetTFoot(pnsIDOMHTMLTableSectionElement aTFoot); nsresult SetTFoot(nsIDOMHTMLTableSectionElement *aTFoot);
nsresult GetRows(nsIDOMHTMLCollection **aRows); nsresult GetRows(nsIDOMHTMLCollection **aRows);
nsresult GetTBodies(nsIDOMHTMLCollection **aTBodies); nsresult GetTBodies(nsIDOMHTMLCollection **aTBodies);
nsresult GetAlign(nsAString *aAlign); nsresult GetAlign(nsAString *aAlign);
@ -1698,7 +1707,7 @@ typedef void* nativeWindow;
] ]
interface nsIBaseWindow : nsISupports interface nsIBaseWindow : nsISupports
{ {
nsresult InitWindow(nativeWindow parentNativeWindow, pnsIWidget parentWidget, PRInt32 x, nsresult InitWindow(nativeWindow parentNativeWindow, nsIWidget *parentWidget, PRInt32 x,
PRInt32 y, PRInt32 cx, PRInt32 cy); PRInt32 y, PRInt32 cx, PRInt32 cy);
nsresult Create(); nsresult Create();
nsresult Destroy(); nsresult Destroy();
@ -1709,8 +1718,8 @@ interface nsIBaseWindow : nsISupports
nsresult SetPositionAndSize(PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy, PRBool fRepaint); nsresult SetPositionAndSize(PRInt32 x, PRInt32 y, PRInt32 cx, PRInt32 cy, PRBool fRepaint);
nsresult GetPositionAndSize(PRInt32 *x, PRInt32 *y, PRInt32 *cx, PRInt32 *cy); nsresult GetPositionAndSize(PRInt32 *x, PRInt32 *y, PRInt32 *cx, PRInt32 *cy);
nsresult Repaint(PRBool force); nsresult Repaint(PRBool force);
nsresult GetParentWidget(pnsIWidget *aParentWidget); nsresult GetParentWidget(nsIWidget **aParentWidget);
nsresult SetParentWidget(pnsIWidget aParentWidget); nsresult SetParentWidget(nsIWidget *aParentWidget);
nsresult GetParentNativeWindow(nativeWindow *aParentNativeWindow); nsresult GetParentNativeWindow(nativeWindow *aParentNativeWindow);
nsresult SetParentNativeWindow(nativeWindow aParentNativeWindow); nsresult SetParentNativeWindow(nativeWindow aParentNativeWindow);
nsresult GetVisibility(PRBool *aVisibility); nsresult GetVisibility(PRBool *aVisibility);
@ -1719,7 +1728,7 @@ interface nsIBaseWindow : nsISupports
nsresult SetEnabled(PRBool aEnabled); nsresult SetEnabled(PRBool aEnabled);
nsresult GetBlurSuppression(PRBool *aBlurSuppression); nsresult GetBlurSuppression(PRBool *aBlurSuppression);
nsresult SetBlurSuppression(PRBool aBlurSuppression); nsresult SetBlurSuppression(PRBool aBlurSuppression);
nsresult GetMainWidget(pnsIWidget *aMainWidget); nsresult GetMainWidget(nsIWidget **aMainWidget);
nsresult SetFocus(); nsresult SetFocus();
nsresult GetTitle(PRUnichar **aTitle); nsresult GetTitle(PRUnichar **aTitle);
nsresult SetTitle(const PRUnichar *aTitle); nsresult SetTitle(const PRUnichar *aTitle);
@ -1748,8 +1757,8 @@ interface nsIWebNavigation : nsISupports
nsresult GetDocument(nsIDOMDocument **aDocument); nsresult GetDocument(nsIDOMDocument **aDocument);
nsresult GetCurrentURI(nsIURI **aCurrentURI); nsresult GetCurrentURI(nsIURI **aCurrentURI);
nsresult GetReferringURI(nsIURI **aReferringURI); nsresult GetReferringURI(nsIURI **aReferringURI);
nsresult GetSessionHistory(pnsISHistory *aSessionHistory); nsresult GetSessionHistory(nsISHistory **aSessionHistory);
nsresult SetSessionHistory(pnsISHistory aSessionHistory); nsresult SetSessionHistory(nsISHistory *aSessionHistory);
} }
[ [
@ -1760,8 +1769,8 @@ interface nsIWebNavigation : nsISupports
] ]
interface nsIWebProgress : nsISupports interface nsIWebProgress : nsISupports
{ {
nsresult AddProgressListener(pnsIWebProgressListener aListener, PRUint32 aNotifyMask); nsresult AddProgressListener(nsIWebProgressListener *aListener, PRUint32 aNotifyMask);
nsresult RemoveProgressListener(pnsIWebProgressListener aListener); nsresult RemoveProgressListener(nsIWebProgressListener *aListener);
nsresult GetDOMWindow(nsIDOMWindow **aDOMWindow); nsresult GetDOMWindow(nsIDOMWindow **aDOMWindow);
nsresult GetIsLoadingDocument(PRBool *aIsLoadingDocument); nsresult GetIsLoadingDocument(PRBool *aIsLoadingDocument);
} }
@ -1782,8 +1791,8 @@ interface nsIPrintSettings : nsISupports
nsresult GetEffectivePageSize(double *aWidth, double *aHeight); nsresult GetEffectivePageSize(double *aWidth, double *aHeight);
nsresult Clone(nsIPrintSettings **_retval); nsresult Clone(nsIPrintSettings **_retval);
nsresult Assign(nsIPrintSettings *aPS); nsresult Assign(nsIPrintSettings *aPS);
nsresult GetPrintSession(pnsIPrintSession *aPrintSession); nsresult GetPrintSession(nsIPrintSession **aPrintSession);
nsresult SetPrintSession(pnsIPrintSession aPrintSession); nsresult SetPrintSession(nsIPrintSession *aPrintSession);
nsresult GetStartPageRange(PRInt32 *aStartPageRange); nsresult GetStartPageRange(PRInt32 *aStartPageRange);
nsresult SetStartPageRange(PRInt32 aStartPageRange); nsresult SetStartPageRange(PRInt32 aStartPageRange);
nsresult GetEndPageRange(PRInt32 *aEndPageRange); nsresult GetEndPageRange(PRInt32 *aEndPageRange);
@ -1921,9 +1930,9 @@ interface nsIWebBrowserPrint : nsISupports
nsresult GetIsIFrameSelected(PRBool *aIsIFrameSelected); nsresult GetIsIFrameSelected(PRBool *aIsIFrameSelected);
nsresult GetIsRangeSelection(PRBool *aIsRangeSelection); nsresult GetIsRangeSelection(PRBool *aIsRangeSelection);
nsresult GetPrintPreviewNumPages(PRInt32 *aPrintPreviewNumPages); nsresult GetPrintPreviewNumPages(PRInt32 *aPrintPreviewNumPages);
nsresult Print(nsIPrintSettings *aThePrintSettings, pnsIWebProgressListener aWPListener); nsresult Print(nsIPrintSettings *aThePrintSettings, nsIWebProgressListener *aWPListener);
nsresult PrintPreview(nsIPrintSettings *aThePrintSettings, nsIDOMWindow *aChildDOMWin, nsresult PrintPreview(nsIPrintSettings *aThePrintSettings, nsIDOMWindow *aChildDOMWin,
pnsIWebProgressListener aWPListener); nsIWebProgressListener *aWPListener);
nsresult PrintPreviewNavigate(PRInt16 aNavType, PRInt32 aPageNum); nsresult PrintPreviewNavigate(PRInt16 aNavType, PRInt32 aPageNum);
nsresult Cancel(); nsresult Cancel();
nsresult EnumerateDocumentNames(PRUint32 *aCount, PRUnichar ***aResult); nsresult EnumerateDocumentNames(PRUint32 *aCount, PRUnichar ***aResult);
@ -2421,8 +2430,8 @@ interface nsIWindowWatcher : nsISupports
nsresult RegisterNotification(nsIObserver *aObserver); nsresult RegisterNotification(nsIObserver *aObserver);
nsresult UnregisterNotification(nsIObserver *aObserver); nsresult UnregisterNotification(nsIObserver *aObserver);
nsresult GetWindowEnumerator(nsISimpleEnumerator **_retval); nsresult GetWindowEnumerator(nsISimpleEnumerator **_retval);
nsresult GetNewPrompter(nsIDOMWindow *aParent, pnsIPrompt *_retval); nsresult GetNewPrompter(nsIDOMWindow *aParent, nsIPrompt **_retval);
nsresult GetNewAuthPrompter(nsIDOMWindow *aParent, pnsIAuthPrompt *_retval); nsresult GetNewAuthPrompter(nsIDOMWindow *aParent, nsIAuthPrompt **_retval);
nsresult SetWindowCreator(nsIWindowCreator *creator); nsresult SetWindowCreator(nsIWindowCreator *creator);
nsresult GetChromeForWindow(nsIDOMWindow *aWindow, nsIWebBrowserChrome **_retval); nsresult GetChromeForWindow(nsIDOMWindow *aWindow, nsIWebBrowserChrome **_retval);
nsresult GetWindowByName(const PRUnichar *aTargetName, nsIDOMWindow *aCurrentWindow, nsresult GetWindowByName(const PRUnichar *aTargetName, nsIDOMWindow *aCurrentWindow,
@ -2506,7 +2515,7 @@ interface nsICommandManager : nsISupports
] ]
interface nsIControllerContext : nsISupports interface nsIControllerContext : nsISupports
{ {
nsresult Init(pnsIControllerCommandTable aCommandTable); nsresult Init(nsIControllerCommandTable *aCommandTable);
nsresult SetCommandContext(nsISupports *aCommandContext); nsresult SetCommandContext(nsISupports *aCommandContext);
} }
@ -2535,13 +2544,13 @@ interface nsIContentSerializer : nsISupports
nsresult Init(PRUint32 flags, PRUint32 aWrapColumn, const char* aCharSet, PRBool aIsCopying, nsresult Init(PRUint32 flags, PRUint32 aWrapColumn, const char* aCharSet, PRBool aIsCopying,
PRBool aIsWholeDocument); PRBool aIsWholeDocument);
nsresult AppendText(nsIDOMText *aText, PRInt32 aStartOffset, PRInt32 aEndOffset, nsAString *aStr); nsresult AppendText(nsIDOMText *aText, PRInt32 aStartOffset, PRInt32 aEndOffset, nsAString *aStr);
nsresult AppendCDATASection(pnsIDOMCDATASection aCDATASection, PRInt32 aStartOffset, nsresult AppendCDATASection(nsIDOMCDATASection *aCDATASection, PRInt32 aStartOffset,
PRInt32 aEndOffset, nsAString *aStr); PRInt32 aEndOffset, nsAString *aStr);
nsresult AppendProcessingInstruction(pnsIDOMProcessingInstruction aPI, PRInt32 aStartOffset, nsresult AppendProcessingInstruction(nsIDOMProcessingInstruction* aPI, PRInt32 aStartOffset,
PRInt32 aEndOffset, nsAString *aStr); PRInt32 aEndOffset, nsAString *aStr);
nsresult AppendComment(nsIDOMComment *aComment, PRInt32 aStartOffset, PRInt32 aEndOffset, nsresult AppendComment(nsIDOMComment *aComment, PRInt32 aStartOffset, PRInt32 aEndOffset,
nsAString *aStr); nsAString *aStr);
nsresult AppendDoctype(pnsIDOMDocumentType aDoctype, nsAString *aStr); nsresult AppendDoctype(nsIDOMDocumentType *aDoctype, nsAString *aStr);
nsresult AppendElementStart(nsIDOMElement *aElement, nsIDOMElement *aOriginalElement, nsresult AppendElementStart(nsIDOMElement *aElement, nsIDOMElement *aOriginalElement,
nsAString *aStr); nsAString *aStr);
nsresult AppendElementEnd(nsIDOMElement *aElement, nsAString *aStr); nsresult AppendElementEnd(nsIDOMElement *aElement, nsAString *aStr);
@ -2592,7 +2601,7 @@ interface nsIEditor : nsISupports
nsresult CanRedo([out] PRBool *isEnabled, [out] PRBool *canRedo); nsresult CanRedo([out] PRBool *isEnabled, [out] PRBool *canRedo);
nsresult BeginTransaction(); nsresult BeginTransaction();
nsresult EndTransaction(); nsresult EndTransaction();
nsresult BeginPlaceHolderTransaction([in] pnsIAtom name); nsresult BeginPlaceHolderTransaction([in] nsIAtom *name);
nsresult EndPlaceHolderTransaction(); nsresult EndPlaceHolderTransaction();
nsresult ShouldTxnSetSelection([out] PRBool *_retval); nsresult ShouldTxnSetSelection([out] PRBool *_retval);
nsresult SetShouldTxnSetSelection([in] PRBool should); nsresult SetShouldTxnSetSelection([in] PRBool should);
@ -2645,15 +2654,15 @@ interface nsIEditor : nsISupports
] ]
interface nsIHTMLEditor : nsISupports interface nsIHTMLEditor : nsISupports
{ {
nsresult AddDefaultProperty([in] pnsIAtom aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue); nsresult AddDefaultProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue);
nsresult RemoveDefaultProperty([in] pnsIAtom aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue); nsresult RemoveDefaultProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue);
nsresult RemoveAllDefaultProperties(); nsresult RemoveAllDefaultProperties();
nsresult SetCSSInlineProperty([in] pnsIAtom aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue); nsresult SetCSSInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue);
nsresult SetInlineProperty([in] pnsIAtom aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue); nsresult SetInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue);
nsresult GetInlineProperty([in] pnsIAtom aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue, [out] PRBool *aFirst, [out] PRBool *aAny, [out] PRBool *aAll); nsresult GetInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue, [out] PRBool *aFirst, [out] PRBool *aAny, [out] PRBool *aAll);
nsresult GetInlinePropertyWithAttrValue([in] pnsIAtom aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue, [out] PRBool *aFirst, [out] PRBool *aAny, [out] PRBool *aAll, [out] nsAString *_retval); nsresult GetInlinePropertyWithAttrValue([in] nsIAtom *aProperty, [in] nsAString *aAttribute, [in] nsAString *aValue, [out] PRBool *aFirst, [out] PRBool *aAny, [out] PRBool *aAll, [out] nsAString *_retval);
nsresult RemoveAllInlineProperties(); nsresult RemoveAllInlineProperties();
nsresult RemoveInlineProperty([in] pnsIAtom aProperty, [in] nsAString *aAttribute); nsresult RemoveInlineProperty([in] nsIAtom *aProperty, [in] nsAString *aAttribute);
nsresult IncreaseFontSize(); nsresult IncreaseFontSize();
nsresult DecreaseFontSize(); nsresult DecreaseFontSize();
nsresult CanDrag([in] nsIDOMEvent *aEvent, [out] PRBool *_retval); nsresult CanDrag([in] nsIDOMEvent *aEvent, [out] PRBool *_retval);
@ -2692,11 +2701,11 @@ interface nsIHTMLEditor : nsISupports
nsresult SetBackgroundColor([in] nsAString *aColor); nsresult SetBackgroundColor([in] nsAString *aColor);
nsresult SetBodyAttribute([in] nsAString *aAttr, [in] nsAString *aValue); nsresult SetBodyAttribute([in] nsAString *aAttr, [in] nsAString *aValue);
nsresult IgnoreSpuriousDragEvent([in] PRBool aIgnoreSpuriousDragEvent); nsresult IgnoreSpuriousDragEvent([in] PRBool aIgnoreSpuriousDragEvent);
nsresult GetLinkedObjects([out] pnsISupportsArray *_retval); nsresult GetLinkedObjects([out] nsISupportsArray **_retval);
nsresult GetIsCSSEnabled([out] PRBool *_retval); nsresult GetIsCSSEnabled([out] PRBool *_retval);
nsresult SetIsCSSEnabled([in] PRBool prb); nsresult SetIsCSSEnabled([in] PRBool prb);
nsresult AddInsertionListener([in] pnsIContentFilter inFilter); nsresult AddInsertionListener([in] nsIContentFilter *inFilter);
nsresult RemoveInsertionListener([in] pnsIContentFilter inFilter); nsresult RemoveInsertionListener([in] nsIContentFilter *inFilter);
nsresult CreateAnonymousElement([in] nsAString *aTag, [in] nsIDOMNode *aParentNode, [in] nsAString *aAnonClass, [in] PRBool aIsCreatedHidden, [out] nsIDOMElement **_retval); nsresult CreateAnonymousElement([in] nsAString *aTag, [in] nsIDOMNode *aParentNode, [in] nsAString *aAnonClass, [in] PRBool aIsCreatedHidden, [out] nsIDOMElement **_retval);
nsresult GetSelectionContainer([out] nsIDOMElement **_retval); nsresult GetSelectionContainer([out] nsIDOMElement **_retval);
nsresult CheckSelectionStateForAnonymousButtons([in] nsISelection *aSelection); nsresult CheckSelectionStateForAnonymousButtons([in] nsISelection *aSelection);
@ -2713,24 +2722,24 @@ interface nsIHTMLEditor : nsISupports
] ]
interface nsIDocShell : nsISupports interface nsIDocShell : nsISupports
{ {
nsresult LoadURI(nsIURI *uri, pnsIDocShellLoadInfo loadInfo, PRUint32 aLoadFlags, PRBool firstParty); nsresult LoadURI(nsIURI *uri, nsIDocShellLoadInfo *loadInfo, PRUint32 aLoadFlags, PRBool firstParty);
nsresult LoadStream(nsIInputStream *aStream, nsIURI *aURI, const nsACString *aContentType, nsresult LoadStream(nsIInputStream *aStream, nsIURI *aURI, const nsACString *aContentType,
const nsACString *aContentCharset, pnsIDocShellLoadInfo aLoadInfo); const nsACString *aContentCharset, nsIDocShellLoadInfo *aLoadInfo);
nsresult InternalLoad(nsIURI *aURI, nsIURI *aReferrer, nsISupports *aOwner, PRUint32 aFlags, const PRUnichar *aWindowTarget, nsresult InternalLoad(nsIURI *aURI, nsIURI *aReferrer, nsISupports *aOwner, PRUint32 aFlags, const PRUnichar *aWindowTarget,
const char *aTypeHint, nsIInputStream *aPostDataStream, nsIInputStream *aHeadersStream, PRUint32 aLoadFlags, const char *aTypeHint, nsIInputStream *aPostDataStream, nsIInputStream *aHeadersStream, PRUint32 aLoadFlags,
pnsISHEntry aSHEntry, PRBool firstParty, nsIDocShell **aDocShell, nsIRequest **aRequest); nsISHEntry *aSHEntry, PRBool firstParty, nsIDocShell **aDocShell, nsIRequest **aRequest);
nsresult CreateLoadInfo(pnsIDocShellLoadInfo *loadInfo); nsresult CreateLoadInfo(nsIDocShellLoadInfo **loadInfo);
nsresult PrepareForNewContentModel(); nsresult PrepareForNewContentModel();
nsresult SetCurrentURI(nsIURI *aURI); nsresult SetCurrentURI(nsIURI *aURI);
nsresult FirePageHideNotification(PRBool isUnload); nsresult FirePageHideNotification(PRBool isUnload);
nsresult GetPresContext(void /*nsPresContext*/ **aPresContext); nsresult GetPresContext(void /*nsPresContext*/ **aPresContext);
nsresult GetPresShell(pnsIPresShell *aPresShell); nsresult GetPresShell(nsIPresShell **aPresShell);
nsresult GetEldestPresShell(pnsIPresShell *aEldestPresShell); nsresult GetEldestPresShell(nsIPresShell **aEldestPresShell);
nsresult GetContentViewer(pnsIContentViewer *aContentViewer); nsresult GetContentViewer(nsIContentViewer **aContentViewer);
nsresult GetChromeEventHandler(nsIDOMEventTarget **aChromeEventHandler); nsresult GetChromeEventHandler(nsIDOMEventTarget **aChromeEventHandler);
nsresult SetChromeEventHandler(nsIDOMEventTarget *aChromeEventHandler); nsresult SetChromeEventHandler(nsIDOMEventTarget *aChromeEventHandler);
nsresult GetDocumentCharsetInfo(pnsIDocumentCharsetInfo *aDocumentCharsetInfo); nsresult GetDocumentCharsetInfo(nsIDocumentCharsetInfo **aDocumentCharsetInfo);
nsresult SetDocumentCharsetInfo(pnsIDocumentCharsetInfo aDocumentCharsetInfo); nsresult SetDocumentCharsetInfo(nsIDocumentCharsetInfo *aDocumentCharsetInfo);
nsresult GetAllowPlugins(PRBool *aAllowPlugins); nsresult GetAllowPlugins(PRBool *aAllowPlugins);
nsresult SetAllowPlugins(PRBool aAllowPlugins); nsresult SetAllowPlugins(PRBool aAllowPlugins);
nsresult GetAllowJavascript(PRBool *aAllowJavascript); nsresult GetAllowJavascript(PRBool *aAllowJavascript);
@ -2760,14 +2769,14 @@ interface nsIDocShell : nsISupports
nsresult SetLoadType(PRUint32 aLoadType); nsresult SetLoadType(PRUint32 aLoadType);
nsresult IsBeingDestroyed(PRBool *_retval); nsresult IsBeingDestroyed(PRBool *_retval);
nsresult GetIsExecutingOnLoadHandler(PRBool *aIsExecutingOnLoadHandler); nsresult GetIsExecutingOnLoadHandler(PRBool *aIsExecutingOnLoadHandler);
nsresult GetLayoutHistoryState(pnsILayoutHistoryState *aLayoutHistoryState); nsresult GetLayoutHistoryState(nsILayoutHistoryState **aLayoutHistoryState);
nsresult SetLayoutHistoryState(pnsILayoutHistoryState aLayoutHistoryState); nsresult SetLayoutHistoryState(nsILayoutHistoryState *aLayoutHistoryState);
nsresult GetShouldSaveLayoutState(PRBool *aShouldSaveLayoutState); nsresult GetShouldSaveLayoutState(PRBool *aShouldSaveLayoutState);
nsresult GetSecurityUI(pnsISecureBrowserUI *aSecurityUI); nsresult GetSecurityUI(nsISecureBrowserUI **aSecurityUI);
nsresult SetSecurityUI(pnsISecureBrowserUI aSecurityUI); nsresult SetSecurityUI(nsISecureBrowserUI *aSecurityUI);
nsresult SuspendRefreshURIs(); nsresult SuspendRefreshURIs();
nsresult ResumeRefreshURIs(); nsresult ResumeRefreshURIs();
nsresult BeginRestore(pnsIContentViewer viewer, PRBool top); nsresult BeginRestore(nsIContentViewer *viewer, PRBool top);
nsresult FinishRestore(); nsresult FinishRestore();
nsresult GetRestoringDocument(PRBool *aRestoringDocument); nsresult GetRestoringDocument(PRBool *aRestoringDocument);
nsresult GetUseErrorPages(PRBool *aUseErrorPages); nsresult GetUseErrorPages(PRBool *aUseErrorPages);
@ -2775,9 +2784,9 @@ interface nsIDocShell : nsISupports
nsresult GetPreviousTransIndex(PRInt32 *aPreviousTransIndex); nsresult GetPreviousTransIndex(PRInt32 *aPreviousTransIndex);
nsresult GetLoadedTransIndex(PRInt32 *aLoadedTransIndex); nsresult GetLoadedTransIndex(PRInt32 *aLoadedTransIndex);
nsresult HistoryPurged(PRInt32 numEntries); nsresult HistoryPurged(PRInt32 numEntries);
nsresult GetSessionStorageForURI(nsIURI *uri, pnsIDOMStorage *_retval); nsresult GetSessionStorageForURI(nsIURI *uri, nsIDOMStorage **_retval);
nsresult GetSessionStorageForPrincipal(pnsIPrincipal principal, PRBool create, pnsIDOMStorage *_retval); nsresult GetSessionStorageForPrincipal(nsIPrincipal *principal, PRBool create, nsIDOMStorage **_retval);
nsresult AddSessionStorage(pnsIPrincipal principal, pnsIDOMStorage storage); nsresult AddSessionStorage(nsIPrincipal *principal, nsIDOMStorage *storage);
nsresult GetCurrentDocumentChannel(nsIChannel **aCurrentDocumentChannel); nsresult GetCurrentDocumentChannel(nsIChannel **aCurrentDocumentChannel);
nsresult SetChildOffset(PRUint32 offset); nsresult SetChildOffset(PRUint32 offset);
nsresult GetIsInUnload(PRBool *aIsInUnload); nsresult GetIsInUnload(PRBool *aIsInUnload);
@ -2795,21 +2804,21 @@ interface nsIDocShell : nsISupports
] ]
interface nsIMutationObserver : nsISupports interface nsIMutationObserver : nsISupports
{ {
void CharacterDataWillChange(pnsIDocument aDocument, pnsIContent aContent, void CharacterDataWillChange(nsIDocument *aDocument, nsIContent *aContent,
void /*CharacterDataChangeInfo*/ *aInfo); void /*CharacterDataChangeInfo*/ *aInfo);
void CharacterDataChanged(pnsIDocument aDocument, pnsIContent aContent, void CharacterDataChanged(nsIDocument *aDocument, nsIContent *aContent,
void /*CharacterDataChangeInfo*/ *aInfo); void /*CharacterDataChangeInfo*/ *aInfo);
void AttributeWillChange(pnsIDocument aDocument, pnsIContent aContent, PRInt32 aNameSpaceID, void AttributeWillChange(nsIDocument *aDocument, nsIContent * aContent, PRInt32 aNameSpaceID,
pnsIAtom aAttribute, PRInt32 aModType); nsIAtom *aAttribute, PRInt32 aModType);
void AttributeChanged(pnsIDocument aDocument, pnsIContent aContent, PRInt32 aNameSpaceID, void AttributeChanged(nsIDocument *aDocument, nsIContent *aContent, PRInt32 aNameSpaceID,
pnsIAtom aAttribute, PRInt32 aModType, PRUint32 aStateMask); nsIAtom *aAttribute, PRInt32 aModType, PRUint32 aStateMask);
void ContentAppended(pnsIDocument aDocument, pnsIContent aContainer, PRInt32 aNewIndexInContainer); void ContentAppended(nsIDocument *aDocument, nsIContent *aContainer, PRInt32 aNewIndexInContainer);
void ContentInserted(pnsIDocument aDocument, pnsIContent aContainer, pnsIContent aChild, void ContentInserted(nsIDocument *aDocument, nsIContent *aContainer, nsIContent *aChild,
PRInt32 aIndexInContainer); PRInt32 aIndexInContainer);
void ContentRemoved(pnsIDocument aDocument, pnsIContent aContainer, pnsIContent aChild, void ContentRemoved(nsIDocument *aDocument, nsIContent *aContainer, nsIContent *aChild,
PRInt32 aIndexInContainer); PRInt32 aIndexInContainer);
void NodeWillBeDestroyed(const pnsINode aNode); void NodeWillBeDestroyed(const nsINode *aNode);
void ParentChainChanged(pnsIContent aContent); void ParentChainChanged(nsIContent *aContent);
} }
[ [
@ -2822,20 +2831,20 @@ interface nsIDocumentObserver : nsIMutationObserver
{ {
typedef int nsUpdateType; typedef int nsUpdateType;
void BeginUpdate(pnsIDocument aDocument, nsUpdateType aUpdateType); void BeginUpdate(nsIDocument *aDocument, nsUpdateType aUpdateType);
void EndUpdate(pnsIDocument aDocument, nsUpdateType aUpdateType); void EndUpdate(nsIDocument *aDocument, nsUpdateType aUpdateType);
void BeginLoad(pnsIDocument aDocument); void BeginLoad(nsIDocument *aDocument);
void EndLoad(pnsIDocument aDocument); void EndLoad(nsIDocument *aDocument);
void ContentStatesChanged(pnsIDocument aDocument, pnsIContent aContent1, pnsIContent aContent2, void ContentStatesChanged(nsIDocument *aDocument, nsIContent *aContent1, nsIContent *aContent2,
PRInt32 aStateMask); PRInt32 aStateMask);
void StyleSheetAdded(pnsIDocument aDocument, pnsIStyleSheet aStyleSheet, PRBool aDocumentSheet); void StyleSheetAdded(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, PRBool aDocumentSheet);
void StyleSheetRemoved(pnsIDocument aDocument, pnsIStyleSheet aStyleSheet, PRBool aDocumentSheet); void StyleSheetRemoved(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, PRBool aDocumentSheet);
void StyleSheetApplicableStateChanged(pnsIDocument aDocument, pnsIStyleSheet aStyleSheet, void StyleSheetApplicableStateChanged(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet,
PRBool aApplicable); PRBool aApplicable);
void StyleRuleChanged(pnsIDocument aDocument, pnsIStyleSheet aStyleSheet, pnsIStyleRule aOldStyleRule, void StyleRuleChanged(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, nsIStyleRule *aOldStyleRule,
pnsIStyleRule aNewStyleRule); nsIStyleRule *aNewStyleRule);
void StyleRuleAdded(pnsIDocument aDocument, pnsIStyleSheet aStyleSheet, pnsIStyleRule aStyleRule); void StyleRuleAdded(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, nsIStyleRule *aStyleRule);
void StyleRuleRemoved(pnsIDocument aDocument, pnsIStyleSheet aStyleSheet, pnsIStyleRule aStyleRule); void StyleRuleRemoved(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, nsIStyleRule *aStyleRule);
void BindToDocument(pnsIDocument aDocument, pnsIContent aContent); void BindToDocument(nsIDocument *aDocument, nsIContent *aContent);
void DoneAddingChildren(pnsIContent aContent, PRBool aHaveNotified); void DoneAddingChildren(nsIContent *aContent, PRBool aHaveNotified);
} }