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