LCOV - app.info - objdir/dist/include/nsIDOMDocument.h

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsIDOMDocument.h (source / functions) |  | Found | Hit | Coverage |
| Test: | app.info | Lines: | 1 | 1 | 100.0 %
| Date: | 2012-06-02 | Functions: | 1 | 1 | 100.0 %

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/core/nsIDOMDocument.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIDOMDocument_h__
           6                 : #define __gen_nsIDOMDocument_h__
           7                 :
           8                 :
           9                 : #ifndef __gen_nsIDOMNode_h__
          10                 : #include "nsIDOMNode.h"
          11                 : #endif
          12                 :
          13                 : #include "jspubtd.h"
          14                 :
          15                 : /* For IDL files that don't want to include root IDL files. */
          16                 : #ifndef NS_NO_VTABLE
          17                 : #define NS_NO_VTABLE
          18                 : #endif
          19                 : #include "jspubtd.h"
          20                 : class nsIDOMNodeIterator; /* forward declaration */
          21                 :
          22                 : class nsIDOMNodeFilter; /* forward declaration */
          23                 :
          24                 : class nsIDOMTreeWalker; /* forward declaration */
          25                 :
          26                 : class nsIDOMLocation; /* forward declaration */
          27                 :
          28                 :
          29                 : /* starting interface:    nsIDOMDocument */
          30                 : #define NS_IDOMDOCUMENT_IID_STR "d7cdd08e-1bfd-4bc3-9742-d66586781ee2"
          31                 :
          32                 : #define NS_IDOMDOCUMENT_IID \
          33                 :   {0xd7cdd08e, 0x1bfd, 0x4bc3, \
          34                 :     { 0x97, 0x42, 0xd6, 0x65, 0x86, 0x78, 0x1e, 0xe2 }}
          35                 :
          36            1507 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMDocument : public nsIDOMNode {
          37                 :  public:
          38                 :
          39                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMDOCUMENT_IID)
          40                 :
          41                 :   /* readonly attribute nsIDOMDocumentType doctype; */
          42                 :   NS_SCRIPTABLE NS_IMETHOD GetDoctype(nsIDOMDocumentType * *aDoctype) = 0;
          43                 :
          44                 :   /* readonly attribute nsIDOMDOMImplementation implementation; */
          45                 :   NS_SCRIPTABLE NS_IMETHOD GetImplementation(nsIDOMDOMImplementation * *aImplementation) = 0;
          46                 :
          47                 :   /* readonly attribute nsIDOMElement documentElement; */
          48                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentElement(nsIDOMElement * *aDocumentElement) = 0;
          49                 :
          50                 :   /* nsIDOMElement createElement (in DOMString tagName) raises (DOMException); */
          51                 :   NS_SCRIPTABLE NS_IMETHOD CreateElement(const nsAString & tagName, nsIDOMElement * *_retval NS_OUTPARAM) = 0;
          52                 :
          53                 :   /* nsIDOMDocumentFragment createDocumentFragment (); */
          54                 :   NS_SCRIPTABLE NS_IMETHOD CreateDocumentFragment(nsIDOMDocumentFragment * *_retval NS_OUTPARAM) = 0;
          55                 :
          56                 :   /* nsIDOMText createTextNode (in DOMString data); */
          57                 :   NS_SCRIPTABLE NS_IMETHOD CreateTextNode(const nsAString & data, nsIDOMText * *_retval NS_OUTPARAM) = 0;
          58                 :
          59                 :   /* nsIDOMComment createComment (in DOMString data); */
          60                 :   NS_SCRIPTABLE NS_IMETHOD CreateComment(const nsAString & data, nsIDOMComment * *_retval NS_OUTPARAM) = 0;
          61                 :
          62                 :   /* nsIDOMCDATASection createCDATASection (in DOMString data) raises (DOMException); */
          63                 :   NS_SCRIPTABLE NS_IMETHOD CreateCDATASection(const nsAString & data, nsIDOMCDATASection * *_retval NS_OUTPARAM) = 0;
          64                 :
          65                 :   /* nsIDOMProcessingInstruction createProcessingInstruction (in DOMString target, in DOMString data) raises (DOMException); */
          66                 :   NS_SCRIPTABLE NS_IMETHOD CreateProcessingInstruction(const nsAString & target, const nsAString & data, nsIDOMProcessingInstruction * *_retval NS_OUTPARAM) = 0;
          67                 :
          68                 :   /* nsIDOMAttr createAttribute (in DOMString name) raises (DOMException); */
          69                 :   NS_SCRIPTABLE NS_IMETHOD CreateAttribute(const nsAString & name, nsIDOMAttr * *_retval NS_OUTPARAM) = 0;
          70                 :
          71                 :   /* nsIDOMNodeList getElementsByTagName (in DOMString tagname); */
          72                 :   NS_SCRIPTABLE NS_IMETHOD GetElementsByTagName(const nsAString & tagname, nsIDOMNodeList * *_retval NS_OUTPARAM) = 0;
          73                 :
          74                 :   /* [optional_argc] nsIDOMNode importNode (in nsIDOMNode importedNode, [optional] in boolean deep) raises (DOMException); */
          75                 :   NS_SCRIPTABLE NS_IMETHOD ImportNode(nsIDOMNode *importedNode, bool deep, PRUint8 _argc, nsIDOMNode * *_retval NS_OUTPARAM) = 0;
          76                 :
          77                 :   /* nsIDOMElement createElementNS (in DOMString namespaceURI, in DOMString qualifiedName) raises (DOMException); */
          78                 :   NS_SCRIPTABLE NS_IMETHOD CreateElementNS(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMElement * *_retval NS_OUTPARAM) = 0;
          79                 :
          80                 :   /* nsIDOMAttr createAttributeNS (in DOMString namespaceURI, in DOMString qualifiedName) raises (DOMException); */
          81                 :   NS_SCRIPTABLE NS_IMETHOD CreateAttributeNS(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMAttr * *_retval NS_OUTPARAM) = 0;
          82                 :
          83                 :   /* nsIDOMNodeList getElementsByTagNameNS (in DOMString namespaceURI, in DOMString localName); */
          84                 :   NS_SCRIPTABLE NS_IMETHOD GetElementsByTagNameNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMNodeList * *_retval NS_OUTPARAM) = 0;
          85                 :
          86                 :   /* nsIDOMElement getElementById (in DOMString elementId); */
          87                 :   NS_SCRIPTABLE NS_IMETHOD GetElementById(const nsAString & elementId, nsIDOMElement * *_retval NS_OUTPARAM) = 0;
          88                 :
          89                 :   /* readonly attribute DOMString inputEncoding; */
          90                 :   NS_SCRIPTABLE NS_IMETHOD GetInputEncoding(nsAString & aInputEncoding) = 0;
          91                 :
          92                 :   /* readonly attribute DOMString documentURI; */
          93                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentURI(nsAString & aDocumentURI) = 0;
          94                 :
          95                 :   /* nsIDOMNode adoptNode (in nsIDOMNode source) raises (DOMException); */
          96                 :   NS_SCRIPTABLE NS_IMETHOD AdoptNode(nsIDOMNode *source, nsIDOMNode * *_retval NS_OUTPARAM) = 0;
          97                 :
          98                 :   /* nsIDOMRange createRange (); */
          99                 :   NS_SCRIPTABLE NS_IMETHOD CreateRange(nsIDOMRange * *_retval NS_OUTPARAM) = 0;
         100                 :
         101                 :   /* [optional_argc] nsIDOMNodeIterator createNodeIterator (in nsIDOMNode root, [optional] in unsigned long whatToShow, [optional] in nsIDOMNodeFilter filter) raises (DOMException); */
         102                 :   NS_SCRIPTABLE NS_IMETHOD CreateNodeIterator(nsIDOMNode *root, PRUint32 whatToShow, nsIDOMNodeFilter *filter, PRUint8 _argc, nsIDOMNodeIterator * *_retval NS_OUTPARAM) = 0;
         103                 :
         104                 :   /* [optional_argc] nsIDOMTreeWalker createTreeWalker (in nsIDOMNode root, [optional] in unsigned long whatToShow, [optional] in nsIDOMNodeFilter filter) raises (DOMException); */
         105                 :   NS_SCRIPTABLE NS_IMETHOD CreateTreeWalker(nsIDOMNode *root, PRUint32 whatToShow, nsIDOMNodeFilter *filter, PRUint8 _argc, nsIDOMTreeWalker * *_retval NS_OUTPARAM) = 0;
         106                 :
         107                 :   /* nsIDOMEvent createEvent (in DOMString eventType) raises (DOMException); */
         108                 :   NS_SCRIPTABLE NS_IMETHOD CreateEvent(const nsAString & eventType, nsIDOMEvent * *_retval NS_OUTPARAM) = 0;
         109                 :
         110                 :   /* readonly attribute nsIDOMWindow defaultView; */
         111                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultView(nsIDOMWindow * *aDefaultView) = 0;
         112                 :
         113                 :   /* readonly attribute DOMString characterSet; */
         114                 :   NS_SCRIPTABLE NS_IMETHOD GetCharacterSet(nsAString & aCharacterSet) = 0;
         115                 :
         116                 :   /* attribute DOMString dir; */
         117                 :   NS_SCRIPTABLE NS_IMETHOD GetDir(nsAString & aDir) = 0;
         118                 :   NS_SCRIPTABLE NS_IMETHOD SetDir(const nsAString & aDir) = 0;
         119                 :
         120                 :   /* readonly attribute nsIDOMLocation location; */
         121                 :   NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIDOMLocation * *aLocation) = 0;
         122                 :
         123                 :   /* attribute DOMString title; */
         124                 :   NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & aTitle) = 0;
         125                 :   NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle) = 0;
         126                 :
         127                 :   /* readonly attribute DOMString readyState; */
         128                 :   NS_SCRIPTABLE NS_IMETHOD GetReadyState(nsAString & aReadyState) = 0;
         129                 :
         130                 :   /* readonly attribute DOMString lastModified; */
         131                 :   NS_SCRIPTABLE NS_IMETHOD GetLastModified(nsAString & aLastModified) = 0;
         132                 :
         133                 :   /* readonly attribute DOMString referrer; */
         134                 :   NS_SCRIPTABLE NS_IMETHOD GetReferrer(nsAString & aReferrer) = 0;
         135                 :
         136                 :   /* boolean hasFocus (); */
         137                 :   NS_SCRIPTABLE NS_IMETHOD HasFocus(bool *_retval NS_OUTPARAM) = 0;
         138                 :
         139                 :   /* readonly attribute nsIDOMElement activeElement; */
         140                 :   NS_SCRIPTABLE NS_IMETHOD GetActiveElement(nsIDOMElement * *aActiveElement) = 0;
         141                 :
         142                 :   /* nsIDOMNodeList getElementsByClassName (in DOMString classes); */
         143                 :   NS_SCRIPTABLE NS_IMETHOD GetElementsByClassName(const nsAString & classes, nsIDOMNodeList * *_retval NS_OUTPARAM) = 0;
         144                 :
         145                 :   /* readonly attribute nsIDOMStyleSheetList styleSheets; */
         146                 :   NS_SCRIPTABLE NS_IMETHOD GetStyleSheets(nsIDOMStyleSheetList * *aStyleSheets) = 0;
         147                 :
         148                 :   /* readonly attribute DOMString preferredStyleSheetSet; */
         149                 :   NS_SCRIPTABLE NS_IMETHOD GetPreferredStyleSheetSet(nsAString & aPreferredStyleSheetSet) = 0;
         150                 :
         151                 :   /* attribute DOMString selectedStyleSheetSet; */
         152                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectedStyleSheetSet(nsAString & aSelectedStyleSheetSet) = 0;
         153                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectedStyleSheetSet(const nsAString & aSelectedStyleSheetSet) = 0;
         154                 :
         155                 :   /* readonly attribute DOMString lastStyleSheetSet; */
         156                 :   NS_SCRIPTABLE NS_IMETHOD GetLastStyleSheetSet(nsAString & aLastStyleSheetSet) = 0;
         157                 :
         158                 :   /* readonly attribute nsIDOMDOMStringList styleSheetSets; */
         159                 :   NS_SCRIPTABLE NS_IMETHOD GetStyleSheetSets(nsIDOMDOMStringList * *aStyleSheetSets) = 0;
         160                 :
         161                 :   /* void enableStyleSheetsForSet (in DOMString name); */
         162                 :   NS_SCRIPTABLE NS_IMETHOD EnableStyleSheetsForSet(const nsAString & name) = 0;
         163                 :
         164                 :   /* nsIDOMElement elementFromPoint (in float x, in float y); */
         165                 :   NS_SCRIPTABLE NS_IMETHOD ElementFromPoint(float x, float y, nsIDOMElement * *_retval NS_OUTPARAM) = 0;
         166                 :
         167                 :   /* readonly attribute DOMString contentType; */
         168                 :   NS_SCRIPTABLE NS_IMETHOD GetContentType(nsAString & aContentType) = 0;
         169                 :
         170                 :   /* readonly attribute boolean mozSyntheticDocument; */
         171                 :   NS_SCRIPTABLE NS_IMETHOD GetMozSyntheticDocument(bool *aMozSyntheticDocument) = 0;
         172                 :
         173                 :   /* readonly attribute nsIDOMElement currentScript; */
         174                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentScript(nsIDOMElement * *aCurrentScript) = 0;
         175                 :
         176                 :   /* void releaseCapture (); */
         177                 :   NS_SCRIPTABLE NS_IMETHOD ReleaseCapture(void) = 0;
         178                 :
         179                 :   /* void mozSetImageElement (in DOMString aImageElementId, in nsIDOMElement aImageElement); */
         180                 :   NS_SCRIPTABLE NS_IMETHOD MozSetImageElement(const nsAString & aImageElementId, nsIDOMElement *aImageElement) = 0;
         181                 :
         182                 :   /* readonly attribute nsIDOMHTMLElement mozFullScreenElement; */
         183                 :   NS_SCRIPTABLE NS_IMETHOD GetMozFullScreenElement(nsIDOMHTMLElement * *aMozFullScreenElement) = 0;
         184                 :
         185                 :   /* void mozCancelFullScreen (); */
         186                 :   NS_SCRIPTABLE NS_IMETHOD MozCancelFullScreen(void) = 0;
         187                 :
         188                 :   /* readonly attribute boolean mozFullScreen; */
         189                 :   NS_SCRIPTABLE NS_IMETHOD GetMozFullScreen(bool *aMozFullScreen) = 0;
         190                 :
         191                 :   /* readonly attribute boolean mozFullScreenEnabled; */
         192                 :   NS_SCRIPTABLE NS_IMETHOD GetMozFullScreenEnabled(bool *aMozFullScreenEnabled) = 0;
         193                 :
         194                 :   /* [implicit_jscontext] attribute jsval onreadystatechange; */
         195                 :   NS_SCRIPTABLE NS_IMETHOD GetOnreadystatechange(JSContext* cx, JS::Value *aOnreadystatechange) = 0;
         196                 :   NS_SCRIPTABLE NS_IMETHOD SetOnreadystatechange(JSContext* cx, const JS::Value & aOnreadystatechange) = 0;
         197                 :
         198                 :   /* [implicit_jscontext] attribute jsval onmouseenter; */
         199                 :   NS_SCRIPTABLE NS_IMETHOD GetOnmouseenter(JSContext* cx, JS::Value *aOnmouseenter) = 0;
         200                 :   NS_SCRIPTABLE NS_IMETHOD SetOnmouseenter(JSContext* cx, const JS::Value & aOnmouseenter) = 0;
         201                 :
         202                 :   /* [implicit_jscontext] attribute jsval onmouseleave; */
         203                 :   NS_SCRIPTABLE NS_IMETHOD GetOnmouseleave(JSContext* cx, JS::Value *aOnmouseleave) = 0;
         204                 :   NS_SCRIPTABLE NS_IMETHOD SetOnmouseleave(JSContext* cx, const JS::Value & aOnmouseleave) = 0;
         205                 :
         206                 :   /* readonly attribute boolean mozHidden; */
         207                 :   NS_SCRIPTABLE NS_IMETHOD GetMozHidden(bool *aMozHidden) = 0;
         208                 :
         209                 :   /* readonly attribute DOMString mozVisibilityState; */
         210                 :   NS_SCRIPTABLE NS_IMETHOD GetMozVisibilityState(nsAString & aMozVisibilityState) = 0;
         211                 :
         212                 : };
         213                 :
         214                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMDocument, NS_IDOMDOCUMENT_IID)
         215                 :
         216                 : /* Use this macro when declaring classes that implement this interface. */
         217                 : #define NS_DECL_NSIDOMDOCUMENT \
         218                 :   NS_SCRIPTABLE NS_IMETHOD GetDoctype(nsIDOMDocumentType * *aDoctype); \
         219                 :   NS_SCRIPTABLE NS_IMETHOD GetImplementation(nsIDOMDOMImplementation * *aImplementation); \
         220                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentElement(nsIDOMElement * *aDocumentElement); \
         221                 :   NS_SCRIPTABLE NS_IMETHOD CreateElement(const nsAString & tagName, nsIDOMElement * *_retval NS_OUTPARAM); \
         222                 :   NS_SCRIPTABLE NS_IMETHOD CreateDocumentFragment(nsIDOMDocumentFragment * *_retval NS_OUTPARAM); \
         223                 :   NS_SCRIPTABLE NS_IMETHOD CreateTextNode(const nsAString & data, nsIDOMText * *_retval NS_OUTPARAM); \
         224                 :   NS_SCRIPTABLE NS_IMETHOD CreateComment(const nsAString & data, nsIDOMComment * *_retval NS_OUTPARAM); \
         225                 :   NS_SCRIPTABLE NS_IMETHOD CreateCDATASection(const nsAString & data, nsIDOMCDATASection * *_retval NS_OUTPARAM); \
         226                 :   NS_SCRIPTABLE NS_IMETHOD CreateProcessingInstruction(const nsAString & target, const nsAString & data, nsIDOMProcessingInstruction * *_retval NS_OUTPARAM); \
         227                 :   NS_SCRIPTABLE NS_IMETHOD CreateAttribute(const nsAString & name, nsIDOMAttr * *_retval NS_OUTPARAM); \
         228                 :   NS_SCRIPTABLE NS_IMETHOD GetElementsByTagName(const nsAString & tagname, nsIDOMNodeList * *_retval NS_OUTPARAM); \
         229                 :   NS_SCRIPTABLE NS_IMETHOD ImportNode(nsIDOMNode *importedNode, bool deep, PRUint8 _argc, nsIDOMNode * *_retval NS_OUTPARAM); \
         230                 :   NS_SCRIPTABLE NS_IMETHOD CreateElementNS(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMElement * *_retval NS_OUTPARAM); \
         231                 :   NS_SCRIPTABLE NS_IMETHOD CreateAttributeNS(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMAttr * *_retval NS_OUTPARAM); \
         232                 :   NS_SCRIPTABLE NS_IMETHOD GetElementsByTagNameNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMNodeList * *_retval NS_OUTPARAM); \
         233                 :   NS_SCRIPTABLE NS_IMETHOD GetElementById(const nsAString & elementId, nsIDOMElement * *_retval NS_OUTPARAM); \
         234                 :   NS_SCRIPTABLE NS_IMETHOD GetInputEncoding(nsAString & aInputEncoding); \
         235                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentURI(nsAString & aDocumentURI); \
         236                 :   NS_SCRIPTABLE NS_IMETHOD AdoptNode(nsIDOMNode *source, nsIDOMNode * *_retval NS_OUTPARAM); \
         237                 :   NS_SCRIPTABLE NS_IMETHOD CreateRange(nsIDOMRange * *_retval NS_OUTPARAM); \
         238                 :   NS_SCRIPTABLE NS_IMETHOD CreateNodeIterator(nsIDOMNode *root, PRUint32 whatToShow, nsIDOMNodeFilter *filter, PRUint8 _argc, nsIDOMNodeIterator * *_retval NS_OUTPARAM); \
         239                 :   NS_SCRIPTABLE NS_IMETHOD CreateTreeWalker(nsIDOMNode *root, PRUint32 whatToShow, nsIDOMNodeFilter *filter, PRUint8 _argc, nsIDOMTreeWalker * *_retval NS_OUTPARAM); \
         240                 :   NS_SCRIPTABLE NS_IMETHOD CreateEvent(const nsAString & eventType, nsIDOMEvent * *_retval NS_OUTPARAM); \
         241                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultView(nsIDOMWindow * *aDefaultView); \
         242                 :   NS_SCRIPTABLE NS_IMETHOD GetCharacterSet(nsAString & aCharacterSet); \
         243                 :   NS_SCRIPTABLE NS_IMETHOD GetDir(nsAString & aDir); \
         244                 :   NS_SCRIPTABLE NS_IMETHOD SetDir(const nsAString & aDir); \
         245                 :   NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIDOMLocation * *aLocation); \
         246                 :   NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & aTitle); \
         247                 :   NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle); \
         248                 :   NS_SCRIPTABLE NS_IMETHOD GetReadyState(nsAString & aReadyState); \
         249                 :   NS_SCRIPTABLE NS_IMETHOD GetLastModified(nsAString & aLastModified); \
         250                 :   NS_SCRIPTABLE NS_IMETHOD GetReferrer(nsAString & aReferrer); \
         251                 :   NS_SCRIPTABLE NS_IMETHOD HasFocus(bool *_retval NS_OUTPARAM); \
         252                 :   NS_SCRIPTABLE NS_IMETHOD GetActiveElement(nsIDOMElement * *aActiveElement); \
         253                 :   NS_SCRIPTABLE NS_IMETHOD GetElementsByClassName(const nsAString & classes, nsIDOMNodeList * *_retval NS_OUTPARAM); \
         254                 :   NS_SCRIPTABLE NS_IMETHOD GetStyleSheets(nsIDOMStyleSheetList * *aStyleSheets); \
         255                 :   NS_SCRIPTABLE NS_IMETHOD GetPreferredStyleSheetSet(nsAString & aPreferredStyleSheetSet); \
         256                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectedStyleSheetSet(nsAString & aSelectedStyleSheetSet); \
         257                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectedStyleSheetSet(const nsAString & aSelectedStyleSheetSet); \
         258                 :   NS_SCRIPTABLE NS_IMETHOD GetLastStyleSheetSet(nsAString & aLastStyleSheetSet); \
         259                 :   NS_SCRIPTABLE NS_IMETHOD GetStyleSheetSets(nsIDOMDOMStringList * *aStyleSheetSets); \
         260                 :   NS_SCRIPTABLE NS_IMETHOD EnableStyleSheetsForSet(const nsAString & name); \
         261                 :   NS_SCRIPTABLE NS_IMETHOD ElementFromPoint(float x, float y, nsIDOMElement * *_retval NS_OUTPARAM); \
         262                 :   NS_SCRIPTABLE NS_IMETHOD GetContentType(nsAString & aContentType); \
         263                 :   NS_SCRIPTABLE NS_IMETHOD GetMozSyntheticDocument(bool *aMozSyntheticDocument); \
         264                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentScript(nsIDOMElement * *aCurrentScript); \
         265                 :   NS_SCRIPTABLE NS_IMETHOD ReleaseCapture(void); \
         266                 :   NS_SCRIPTABLE NS_IMETHOD MozSetImageElement(const nsAString & aImageElementId, nsIDOMElement *aImageElement); \
         267                 :   NS_SCRIPTABLE NS_IMETHOD GetMozFullScreenElement(nsIDOMHTMLElement * *aMozFullScreenElement); \
         268                 :   NS_SCRIPTABLE NS_IMETHOD MozCancelFullScreen(void); \
         269                 :   NS_SCRIPTABLE NS_IMETHOD GetMozFullScreen(bool *aMozFullScreen); \
         270                 :   NS_SCRIPTABLE NS_IMETHOD GetMozFullScreenEnabled(bool *aMozFullScreenEnabled); \
         271                 :   NS_SCRIPTABLE NS_IMETHOD GetOnreadystatechange(JSContext* cx, JS::Value *aOnreadystatechange); \
         272                 :   NS_SCRIPTABLE NS_IMETHOD SetOnreadystatechange(JSContext* cx, const JS::Value & aOnreadystatechange); \
         273                 :   NS_SCRIPTABLE NS_IMETHOD GetOnmouseenter(JSContext* cx, JS::Value *aOnmouseenter); \
         274                 :   NS_SCRIPTABLE NS_IMETHOD SetOnmouseenter(JSContext* cx, const JS::Value & aOnmouseenter); \
         275                 :   NS_SCRIPTABLE NS_IMETHOD GetOnmouseleave(JSContext* cx, JS::Value *aOnmouseleave); \
         276                 :   NS_SCRIPTABLE NS_IMETHOD SetOnmouseleave(JSContext* cx, const JS::Value & aOnmouseleave); \
         277                 :   NS_SCRIPTABLE NS_IMETHOD GetMozHidden(bool *aMozHidden); \
         278                 :   NS_SCRIPTABLE NS_IMETHOD GetMozVisibilityState(nsAString & aMozVisibilityState);
         279                 :
         280                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
         281                 : #define NS_FORWARD_NSIDOMDOCUMENT(_to) \
         282                 :   NS_SCRIPTABLE NS_IMETHOD GetDoctype(nsIDOMDocumentType * *aDoctype) { return _to GetDoctype(aDoctype); } \
         283                 :   NS_SCRIPTABLE NS_IMETHOD GetImplementation(nsIDOMDOMImplementation * *aImplementation) { return _to GetImplementation(aImplementation); } \
         284                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentElement(nsIDOMElement * *aDocumentElement) { return _to GetDocumentElement(aDocumentElement); } \
         285                 :   NS_SCRIPTABLE NS_IMETHOD CreateElement(const nsAString & tagName, nsIDOMElement * *_retval NS_OUTPARAM) { return _to CreateElement(tagName, _retval); } \
         286                 :   NS_SCRIPTABLE NS_IMETHOD CreateDocumentFragment(nsIDOMDocumentFragment * *_retval NS_OUTPARAM) { return _to CreateDocumentFragment(_retval); } \
         287                 :   NS_SCRIPTABLE NS_IMETHOD CreateTextNode(const nsAString & data, nsIDOMText * *_retval NS_OUTPARAM) { return _to CreateTextNode(data, _retval); } \
         288                 :   NS_SCRIPTABLE NS_IMETHOD CreateComment(const nsAString & data, nsIDOMComment * *_retval NS_OUTPARAM) { return _to CreateComment(data, _retval); } \
         289                 :   NS_SCRIPTABLE NS_IMETHOD CreateCDATASection(const nsAString & data, nsIDOMCDATASection * *_retval NS_OUTPARAM) { return _to CreateCDATASection(data, _retval); } \
         290                 :   NS_SCRIPTABLE NS_IMETHOD CreateProcessingInstruction(const nsAString & target, const nsAString & data, nsIDOMProcessingInstruction * *_retval NS_OUTPARAM) { return _to CreateProcessingInstruction(target, data, _retval); } \
         291                 :   NS_SCRIPTABLE NS_IMETHOD CreateAttribute(const nsAString & name, nsIDOMAttr * *_retval NS_OUTPARAM) { return _to CreateAttribute(name, _retval); } \
         292                 :   NS_SCRIPTABLE NS_IMETHOD GetElementsByTagName(const nsAString & tagname, nsIDOMNodeList * *_retval NS_OUTPARAM) { return _to GetElementsByTagName(tagname, _retval); } \
         293                 :   NS_SCRIPTABLE NS_IMETHOD ImportNode(nsIDOMNode *importedNode, bool deep, PRUint8 _argc, nsIDOMNode * *_retval NS_OUTPARAM) { return _to ImportNode(importedNode, deep, _argc, _retval); } \
         294                 :   NS_SCRIPTABLE NS_IMETHOD CreateElementNS(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMElement * *_retval NS_OUTPARAM) { return _to CreateElementNS(namespaceURI, qualifiedName, _retval); } \
         295                 :   NS_SCRIPTABLE NS_IMETHOD CreateAttributeNS(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMAttr * *_retval NS_OUTPARAM) { return _to CreateAttributeNS(namespaceURI, qualifiedName, _retval); } \
         296                 :   NS_SCRIPTABLE NS_IMETHOD GetElementsByTagNameNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMNodeList * *_retval NS_OUTPARAM) { return _to GetElementsByTagNameNS(namespaceURI, localName, _retval); } \
         297                 :   NS_SCRIPTABLE NS_IMETHOD GetElementById(const nsAString & elementId, nsIDOMElement * *_retval NS_OUTPARAM) { return _to GetElementById(elementId, _retval); } \
         298                 :   NS_SCRIPTABLE NS_IMETHOD GetInputEncoding(nsAString & aInputEncoding) { return _to GetInputEncoding(aInputEncoding); } \
         299                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentURI(nsAString & aDocumentURI) { return _to GetDocumentURI(aDocumentURI); } \
         300                 :   NS_SCRIPTABLE NS_IMETHOD AdoptNode(nsIDOMNode *source, nsIDOMNode * *_retval NS_OUTPARAM) { return _to AdoptNode(source, _retval); } \
         301                 :   NS_SCRIPTABLE NS_IMETHOD CreateRange(nsIDOMRange * *_retval NS_OUTPARAM) { return _to CreateRange(_retval); } \
         302                 :   NS_SCRIPTABLE NS_IMETHOD CreateNodeIterator(nsIDOMNode *root, PRUint32 whatToShow, nsIDOMNodeFilter *filter, PRUint8 _argc, nsIDOMNodeIterator * *_retval NS_OUTPARAM) { return _to CreateNodeIterator(root, whatToShow, filter, _argc, _retval); } \
         303                 :   NS_SCRIPTABLE NS_IMETHOD CreateTreeWalker(nsIDOMNode *root, PRUint32 whatToShow, nsIDOMNodeFilter *filter, PRUint8 _argc, nsIDOMTreeWalker * *_retval NS_OUTPARAM) { return _to CreateTreeWalker(root, whatToShow, filter, _argc, _retval); } \
         304                 :   NS_SCRIPTABLE NS_IMETHOD CreateEvent(const nsAString & eventType, nsIDOMEvent * *_retval NS_OUTPARAM) { return _to CreateEvent(eventType, _retval); } \
         305                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultView(nsIDOMWindow * *aDefaultView) { return _to GetDefaultView(aDefaultView); } \
         306                 :   NS_SCRIPTABLE NS_IMETHOD GetCharacterSet(nsAString & aCharacterSet) { return _to GetCharacterSet(aCharacterSet); } \
         307                 :   NS_SCRIPTABLE NS_IMETHOD GetDir(nsAString & aDir) { return _to GetDir(aDir); } \
         308                 :   NS_SCRIPTABLE NS_IMETHOD SetDir(const nsAString & aDir) { return _to SetDir(aDir); } \
         309                 :   NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIDOMLocation * *aLocation) { return _to GetLocation(aLocation); } \
         310                 :   NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & aTitle) { return _to GetTitle(aTitle); } \
         311                 :   NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle) { return _to SetTitle(aTitle); } \
         312                 :   NS_SCRIPTABLE NS_IMETHOD GetReadyState(nsAString & aReadyState) { return _to GetReadyState(aReadyState); } \
         313                 :   NS_SCRIPTABLE NS_IMETHOD GetLastModified(nsAString & aLastModified) { return _to GetLastModified(aLastModified); } \
         314                 :   NS_SCRIPTABLE NS_IMETHOD GetReferrer(nsAString & aReferrer) { return _to GetReferrer(aReferrer); } \
         315                 :   NS_SCRIPTABLE NS_IMETHOD HasFocus(bool *_retval NS_OUTPARAM) { return _to HasFocus(_retval); } \
         316                 :   NS_SCRIPTABLE NS_IMETHOD GetActiveElement(nsIDOMElement * *aActiveElement) { return _to GetActiveElement(aActiveElement); } \
         317                 :   NS_SCRIPTABLE NS_IMETHOD GetElementsByClassName(const nsAString & classes, nsIDOMNodeList * *_retval NS_OUTPARAM) { return _to GetElementsByClassName(classes, _retval); } \
         318                 :   NS_SCRIPTABLE NS_IMETHOD GetStyleSheets(nsIDOMStyleSheetList * *aStyleSheets) { return _to GetStyleSheets(aStyleSheets); } \
         319                 :   NS_SCRIPTABLE NS_IMETHOD GetPreferredStyleSheetSet(nsAString & aPreferredStyleSheetSet) { return _to GetPreferredStyleSheetSet(aPreferredStyleSheetSet); } \
         320                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectedStyleSheetSet(nsAString & aSelectedStyleSheetSet) { return _to GetSelectedStyleSheetSet(aSelectedStyleSheetSet); } \
         321                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectedStyleSheetSet(const nsAString & aSelectedStyleSheetSet) { return _to SetSelectedStyleSheetSet(aSelectedStyleSheetSet); } \
         322                 :   NS_SCRIPTABLE NS_IMETHOD GetLastStyleSheetSet(nsAString & aLastStyleSheetSet) { return _to GetLastStyleSheetSet(aLastStyleSheetSet); } \
         323                 :   NS_SCRIPTABLE NS_IMETHOD GetStyleSheetSets(nsIDOMDOMStringList * *aStyleSheetSets) { return _to GetStyleSheetSets(aStyleSheetSets); } \
         324                 :   NS_SCRIPTABLE NS_IMETHOD EnableStyleSheetsForSet(const nsAString & name) { return _to EnableStyleSheetsForSet(name); } \
         325                 :   NS_SCRIPTABLE NS_IMETHOD ElementFromPoint(float x, float y, nsIDOMElement * *_retval NS_OUTPARAM) { return _to ElementFromPoint(x, y, _retval); } \
         326                 :   NS_SCRIPTABLE NS_IMETHOD GetContentType(nsAString & aContentType) { return _to GetContentType(aContentType); } \
         327                 :   NS_SCRIPTABLE NS_IMETHOD GetMozSyntheticDocument(bool *aMozSyntheticDocument) { return _to GetMozSyntheticDocument(aMozSyntheticDocument); } \
         328                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentScript(nsIDOMElement * *aCurrentScript) { return _to GetCurrentScript(aCurrentScript); } \
         329                 :   NS_SCRIPTABLE NS_IMETHOD ReleaseCapture(void) { return _to ReleaseCapture(); } \
         330                 :   NS_SCRIPTABLE NS_IMETHOD MozSetImageElement(const nsAString & aImageElementId, nsIDOMElement *aImageElement) { return _to MozSetImageElement(aImageElementId, aImageElement); } \
         331                 :   NS_SCRIPTABLE NS_IMETHOD GetMozFullScreenElement(nsIDOMHTMLElement * *aMozFullScreenElement) { return _to GetMozFullScreenElement(aMozFullScreenElement); } \
         332                 :   NS_SCRIPTABLE NS_IMETHOD MozCancelFullScreen(void) { return _to MozCancelFullScreen(); } \
         333                 :   NS_SCRIPTABLE NS_IMETHOD GetMozFullScreen(bool *aMozFullScreen) { return _to GetMozFullScreen(aMozFullScreen); } \
         334                 :   NS_SCRIPTABLE NS_IMETHOD GetMozFullScreenEnabled(bool *aMozFullScreenEnabled) { return _to GetMozFullScreenEnabled(aMozFullScreenEnabled); } \
         335                 :   NS_SCRIPTABLE NS_IMETHOD GetOnreadystatechange(JSContext* cx, JS::Value *aOnreadystatechange) { return _to GetOnreadystatechange(cx, aOnreadystatechange); } \
         336                 :   NS_SCRIPTABLE NS_IMETHOD SetOnreadystatechange(JSContext* cx, const JS::Value & aOnreadystatechange) { return _to SetOnreadystatechange(cx, aOnreadystatechange); } \
         337                 :   NS_SCRIPTABLE NS_IMETHOD GetOnmouseenter(JSContext* cx, JS::Value *aOnmouseenter) { return _to GetOnmouseenter(cx, aOnmouseenter); } \
         338                 :   NS_SCRIPTABLE NS_IMETHOD SetOnmouseenter(JSContext* cx, const JS::Value & aOnmouseenter) { return _to SetOnmouseenter(cx, aOnmouseenter); } \
         339                 :   NS_SCRIPTABLE NS_IMETHOD GetOnmouseleave(JSContext* cx, JS::Value *aOnmouseleave) { return _to GetOnmouseleave(cx, aOnmouseleave); } \
         340                 :   NS_SCRIPTABLE NS_IMETHOD SetOnmouseleave(JSContext* cx, const JS::Value & aOnmouseleave) { return _to SetOnmouseleave(cx, aOnmouseleave); } \
         341                 :   NS_SCRIPTABLE NS_IMETHOD GetMozHidden(bool *aMozHidden) { return _to GetMozHidden(aMozHidden); } \
         342                 :   NS_SCRIPTABLE NS_IMETHOD GetMozVisibilityState(nsAString & aMozVisibilityState) { return _to GetMozVisibilityState(aMozVisibilityState); }
         343                 :
         344                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
         345                 : #define NS_FORWARD_SAFE_NSIDOMDOCUMENT(_to) \
         346                 :   NS_SCRIPTABLE NS_IMETHOD GetDoctype(nsIDOMDocumentType * *aDoctype) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDoctype(aDoctype); } \
         347                 :   NS_SCRIPTABLE NS_IMETHOD GetImplementation(nsIDOMDOMImplementation * *aImplementation) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImplementation(aImplementation); } \
         348                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentElement(nsIDOMElement * *aDocumentElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocumentElement(aDocumentElement); } \
         349                 :   NS_SCRIPTABLE NS_IMETHOD CreateElement(const nsAString & tagName, nsIDOMElement * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateElement(tagName, _retval); } \
         350                 :   NS_SCRIPTABLE NS_IMETHOD CreateDocumentFragment(nsIDOMDocumentFragment * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateDocumentFragment(_retval); } \
         351                 :   NS_SCRIPTABLE NS_IMETHOD CreateTextNode(const nsAString & data, nsIDOMText * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateTextNode(data, _retval); } \
         352                 :   NS_SCRIPTABLE NS_IMETHOD CreateComment(const nsAString & data, nsIDOMComment * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateComment(data, _retval); } \
         353                 :   NS_SCRIPTABLE NS_IMETHOD CreateCDATASection(const nsAString & data, nsIDOMCDATASection * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateCDATASection(data, _retval); } \
         354                 :   NS_SCRIPTABLE NS_IMETHOD CreateProcessingInstruction(const nsAString & target, const nsAString & data, nsIDOMProcessingInstruction * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateProcessingInstruction(target, data, _retval); } \
         355                 :   NS_SCRIPTABLE NS_IMETHOD CreateAttribute(const nsAString & name, nsIDOMAttr * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateAttribute(name, _retval); } \
         356                 :   NS_SCRIPTABLE NS_IMETHOD GetElementsByTagName(const nsAString & tagname, nsIDOMNodeList * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElementsByTagName(tagname, _retval); } \
         357                 :   NS_SCRIPTABLE NS_IMETHOD ImportNode(nsIDOMNode *importedNode, bool deep, PRUint8 _argc, nsIDOMNode * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ImportNode(importedNode, deep, _argc, _retval); } \
         358                 :   NS_SCRIPTABLE NS_IMETHOD CreateElementNS(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMElement * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateElementNS(namespaceURI, qualifiedName, _retval); } \
         359                 :   NS_SCRIPTABLE NS_IMETHOD CreateAttributeNS(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMAttr * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateAttributeNS(namespaceURI, qualifiedName, _retval); } \
         360                 :   NS_SCRIPTABLE NS_IMETHOD GetElementsByTagNameNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMNodeList * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElementsByTagNameNS(namespaceURI, localName, _retval); } \
         361                 :   NS_SCRIPTABLE NS_IMETHOD GetElementById(const nsAString & elementId, nsIDOMElement * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElementById(elementId, _retval); } \
         362                 :   NS_SCRIPTABLE NS_IMETHOD GetInputEncoding(nsAString & aInputEncoding) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInputEncoding(aInputEncoding); } \
         363                 :   NS_SCRIPTABLE NS_IMETHOD GetDocumentURI(nsAString & aDocumentURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocumentURI(aDocumentURI); } \
         364                 :   NS_SCRIPTABLE NS_IMETHOD AdoptNode(nsIDOMNode *source, nsIDOMNode * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->AdoptNode(source, _retval); } \
         365                 :   NS_SCRIPTABLE NS_IMETHOD CreateRange(nsIDOMRange * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateRange(_retval); } \
         366                 :   NS_SCRIPTABLE NS_IMETHOD CreateNodeIterator(nsIDOMNode *root, PRUint32 whatToShow, nsIDOMNodeFilter *filter, PRUint8 _argc, nsIDOMNodeIterator * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateNodeIterator(root, whatToShow, filter, _argc, _retval); } \
         367                 :   NS_SCRIPTABLE NS_IMETHOD CreateTreeWalker(nsIDOMNode *root, PRUint32 whatToShow, nsIDOMNodeFilter *filter, PRUint8 _argc, nsIDOMTreeWalker * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateTreeWalker(root, whatToShow, filter, _argc, _retval); } \
         368                 :   NS_SCRIPTABLE NS_IMETHOD CreateEvent(const nsAString & eventType, nsIDOMEvent * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateEvent(eventType, _retval); } \
         369                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultView(nsIDOMWindow * *aDefaultView) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultView(aDefaultView); } \
         370                 :   NS_SCRIPTABLE NS_IMETHOD GetCharacterSet(nsAString & aCharacterSet) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharacterSet(aCharacterSet); } \
         371                 :   NS_SCRIPTABLE NS_IMETHOD GetDir(nsAString & aDir) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDir(aDir); } \
         372                 :   NS_SCRIPTABLE NS_IMETHOD SetDir(const nsAString & aDir) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDir(aDir); } \
         373                 :   NS_SCRIPTABLE NS_IMETHOD GetLocation(nsIDOMLocation * *aLocation) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocation(aLocation); } \
         374                 :   NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
         375                 :   NS_SCRIPTABLE NS_IMETHOD SetTitle(const nsAString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } \
         376                 :   NS_SCRIPTABLE NS_IMETHOD GetReadyState(nsAString & aReadyState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReadyState(aReadyState); } \
         377                 :   NS_SCRIPTABLE NS_IMETHOD GetLastModified(nsAString & aLastModified) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastModified(aLastModified); } \
         378                 :   NS_SCRIPTABLE NS_IMETHOD GetReferrer(nsAString & aReferrer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReferrer(aReferrer); } \
         379                 :   NS_SCRIPTABLE NS_IMETHOD HasFocus(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->HasFocus(_retval); } \
         380                 :   NS_SCRIPTABLE NS_IMETHOD GetActiveElement(nsIDOMElement * *aActiveElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetActiveElement(aActiveElement); } \
         381                 :   NS_SCRIPTABLE NS_IMETHOD GetElementsByClassName(const nsAString & classes, nsIDOMNodeList * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElementsByClassName(classes, _retval); } \
         382                 :   NS_SCRIPTABLE NS_IMETHOD GetStyleSheets(nsIDOMStyleSheetList * *aStyleSheets) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStyleSheets(aStyleSheets); } \
         383                 :   NS_SCRIPTABLE NS_IMETHOD GetPreferredStyleSheetSet(nsAString & aPreferredStyleSheetSet) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPreferredStyleSheetSet(aPreferredStyleSheetSet); } \
         384                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectedStyleSheetSet(nsAString & aSelectedStyleSheetSet) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedStyleSheetSet(aSelectedStyleSheetSet); } \
         385                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectedStyleSheetSet(const nsAString & aSelectedStyleSheetSet) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelectedStyleSheetSet(aSelectedStyleSheetSet); } \
         386                 :   NS_SCRIPTABLE NS_IMETHOD GetLastStyleSheetSet(nsAString & aLastStyleSheetSet) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastStyleSheetSet(aLastStyleSheetSet); } \
         387                 :   NS_SCRIPTABLE NS_IMETHOD GetStyleSheetSets(nsIDOMDOMStringList * *aStyleSheetSets) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStyleSheetSets(aStyleSheetSets); } \
         388                 :   NS_SCRIPTABLE NS_IMETHOD EnableStyleSheetsForSet(const nsAString & name) { return !_to ? NS_ERROR_NULL_POINTER : _to->EnableStyleSheetsForSet(name); } \
         389                 :   NS_SCRIPTABLE NS_IMETHOD ElementFromPoint(float x, float y, nsIDOMElement * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ElementFromPoint(x, y, _retval); } \
         390                 :   NS_SCRIPTABLE NS_IMETHOD GetContentType(nsAString & aContentType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentType(aContentType); } \
         391                 :   NS_SCRIPTABLE NS_IMETHOD GetMozSyntheticDocument(bool *aMozSyntheticDocument) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozSyntheticDocument(aMozSyntheticDocument); } \
         392                 :   NS_SCRIPTABLE NS_IMETHOD GetCurrentScript(nsIDOMElement * *aCurrentScript) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentScript(aCurrentScript); } \
         393                 :   NS_SCRIPTABLE NS_IMETHOD ReleaseCapture(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ReleaseCapture(); } \
         394                 :   NS_SCRIPTABLE NS_IMETHOD MozSetImageElement(const nsAString & aImageElementId, nsIDOMElement *aImageElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->MozSetImageElement(aImageElementId, aImageElement); } \
         395                 :   NS_SCRIPTABLE NS_IMETHOD GetMozFullScreenElement(nsIDOMHTMLElement * *aMozFullScreenElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozFullScreenElement(aMozFullScreenElement); } \
         396                 :   NS_SCRIPTABLE NS_IMETHOD MozCancelFullScreen(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->MozCancelFullScreen(); } \
         397                 :   NS_SCRIPTABLE NS_IMETHOD GetMozFullScreen(bool *aMozFullScreen) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozFullScreen(aMozFullScreen); } \
         398                 :   NS_SCRIPTABLE NS_IMETHOD GetMozFullScreenEnabled(bool *aMozFullScreenEnabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozFullScreenEnabled(aMozFullScreenEnabled); } \
         399                 :   NS_SCRIPTABLE NS_IMETHOD GetOnreadystatechange(JSContext* cx, JS::Value *aOnreadystatechange) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnreadystatechange(cx, aOnreadystatechange); } \
         400                 :   NS_SCRIPTABLE NS_IMETHOD SetOnreadystatechange(JSContext* cx, const JS::Value & aOnreadystatechange) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnreadystatechange(cx, aOnreadystatechange); } \
         401                 :   NS_SCRIPTABLE NS_IMETHOD GetOnmouseenter(JSContext* cx, JS::Value *aOnmouseenter) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnmouseenter(cx, aOnmouseenter); } \
         402                 :   NS_SCRIPTABLE NS_IMETHOD SetOnmouseenter(JSContext* cx, const JS::Value & aOnmouseenter) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnmouseenter(cx, aOnmouseenter); } \
         403                 :   NS_SCRIPTABLE NS_IMETHOD GetOnmouseleave(JSContext* cx, JS::Value *aOnmouseleave) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnmouseleave(cx, aOnmouseleave); } \
         404                 :   NS_SCRIPTABLE NS_IMETHOD SetOnmouseleave(JSContext* cx, const JS::Value & aOnmouseleave) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnmouseleave(cx, aOnmouseleave); } \
         405                 :   NS_SCRIPTABLE NS_IMETHOD GetMozHidden(bool *aMozHidden) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozHidden(aMozHidden); } \
         406                 :   NS_SCRIPTABLE NS_IMETHOD GetMozVisibilityState(nsAString & aMozVisibilityState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozVisibilityState(aMozVisibilityState); }
         407                 :
         408                 : #if 0
         409                 : /* Use the code below as a template for the implementation class for this interface. */
         410                 :
         411                 : /* Header file */
         412                 : class nsDOMDocument : public nsIDOMDocument
         413                 : {
         414                 : public:
         415                 :   NS_DECL_ISUPPORTS
         416                 :   NS_DECL_NSIDOMDOCUMENT
         417                 :
         418                 :   nsDOMDocument();
         419                 :
         420                 : private:
         421                 :   ~nsDOMDocument();
         422                 :
         423                 : protected:
         424                 :   /* additional members */
         425                 : };
         426                 :
         427                 : /* Implementation file */
         428                 : NS_IMPL_ISUPPORTS1(nsDOMDocument, nsIDOMDocument)
         429                 :
         430                 : nsDOMDocument::nsDOMDocument()
         431                 : {
         432                 :   /* member initializers and constructor code */
         433                 : }
         434                 :
         435                 : nsDOMDocument::~nsDOMDocument()
         436                 : {
         437                 :   /* destructor code */
         438                 : }
         439                 :
         440                 : /* readonly attribute nsIDOMDocumentType doctype; */
         441                 : NS_IMETHODIMP nsDOMDocument::GetDoctype(nsIDOMDocumentType * *aDoctype)
         442                 : {
         443                 :     return NS_ERROR_NOT_IMPLEMENTED;
         444                 : }
         445                 :
         446                 : /* readonly attribute nsIDOMDOMImplementation implementation; */
         447                 : NS_IMETHODIMP nsDOMDocument::GetImplementation(nsIDOMDOMImplementation * *aImplementation)
         448                 : {
         449                 :     return NS_ERROR_NOT_IMPLEMENTED;
         450                 : }
         451                 :
         452                 : /* readonly attribute nsIDOMElement documentElement; */
         453                 : NS_IMETHODIMP nsDOMDocument::GetDocumentElement(nsIDOMElement * *aDocumentElement)
         454                 : {
         455                 :     return NS_ERROR_NOT_IMPLEMENTED;
         456                 : }
         457                 :
         458                 : /* nsIDOMElement createElement (in DOMString tagName) raises (DOMException); */
         459                 : NS_IMETHODIMP nsDOMDocument::CreateElement(const nsAString & tagName, nsIDOMElement * *_retval NS_OUTPARAM)
         460                 : {
         461                 :     return NS_ERROR_NOT_IMPLEMENTED;
         462                 : }
         463                 :
         464                 : /* nsIDOMDocumentFragment createDocumentFragment (); */
         465                 : NS_IMETHODIMP nsDOMDocument::CreateDocumentFragment(nsIDOMDocumentFragment * *_retval NS_OUTPARAM)
         466                 : {
         467                 :     return NS_ERROR_NOT_IMPLEMENTED;
         468                 : }
         469                 :
         470                 : /* nsIDOMText createTextNode (in DOMString data); */
         471                 : NS_IMETHODIMP nsDOMDocument::CreateTextNode(const nsAString & data, nsIDOMText * *_retval NS_OUTPARAM)
         472                 : {
         473                 :     return NS_ERROR_NOT_IMPLEMENTED;
         474                 : }
         475                 :
         476                 : /* nsIDOMComment createComment (in DOMString data); */
         477                 : NS_IMETHODIMP nsDOMDocument::CreateComment(const nsAString & data, nsIDOMComment * *_retval NS_OUTPARAM)
         478                 : {
         479                 :     return NS_ERROR_NOT_IMPLEMENTED;
         480                 : }
         481                 :
         482                 : /* nsIDOMCDATASection createCDATASection (in DOMString data) raises (DOMException); */
         483                 : NS_IMETHODIMP nsDOMDocument::CreateCDATASection(const nsAString & data, nsIDOMCDATASection * *_retval NS_OUTPARAM)
         484                 : {
         485                 :     return NS_ERROR_NOT_IMPLEMENTED;
         486                 : }
         487                 :
         488                 : /* nsIDOMProcessingInstruction createProcessingInstruction (in DOMString target, in DOMString data) raises (DOMException); */
         489                 : NS_IMETHODIMP nsDOMDocument::CreateProcessingInstruction(const nsAString & target, const nsAString & data, nsIDOMProcessingInstruction * *_retval NS_OUTPARAM)
         490                 : {
         491                 :     return NS_ERROR_NOT_IMPLEMENTED;
         492                 : }
         493                 :
         494                 : /* nsIDOMAttr createAttribute (in DOMString name) raises (DOMException); */
         495                 : NS_IMETHODIMP nsDOMDocument::CreateAttribute(const nsAString & name, nsIDOMAttr * *_retval NS_OUTPARAM)
         496                 : {
         497                 :     return NS_ERROR_NOT_IMPLEMENTED;
         498                 : }
         499                 :
         500                 : /* nsIDOMNodeList getElementsByTagName (in DOMString tagname); */
         501                 : NS_IMETHODIMP nsDOMDocument::GetElementsByTagName(const nsAString & tagname, nsIDOMNodeList * *_retval NS_OUTPARAM)
         502                 : {
         503                 :     return NS_ERROR_NOT_IMPLEMENTED;
         504                 : }
         505                 :
         506                 : /* [optional_argc] nsIDOMNode importNode (in nsIDOMNode importedNode, [optional] in boolean deep) raises (DOMException); */
         507                 : NS_IMETHODIMP nsDOMDocument::ImportNode(nsIDOMNode *importedNode, bool deep, PRUint8 _argc, nsIDOMNode * *_retval NS_OUTPARAM)
         508                 : {
         509                 :     return NS_ERROR_NOT_IMPLEMENTED;
         510                 : }
         511                 :
         512                 : /* nsIDOMElement createElementNS (in DOMString namespaceURI, in DOMString qualifiedName) raises (DOMException); */
         513                 : NS_IMETHODIMP nsDOMDocument::CreateElementNS(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMElement * *_retval NS_OUTPARAM)
         514                 : {
         515                 :     return NS_ERROR_NOT_IMPLEMENTED;
         516                 : }
         517                 :
         518                 : /* nsIDOMAttr createAttributeNS (in DOMString namespaceURI, in DOMString qualifiedName) raises (DOMException); */
         519                 : NS_IMETHODIMP nsDOMDocument::CreateAttributeNS(const nsAString & namespaceURI, const nsAString & qualifiedName, nsIDOMAttr * *_retval NS_OUTPARAM)
         520                 : {
         521                 :     return NS_ERROR_NOT_IMPLEMENTED;
         522                 : }
         523                 :
         524                 : /* nsIDOMNodeList getElementsByTagNameNS (in DOMString namespaceURI, in DOMString localName); */
         525                 : NS_IMETHODIMP nsDOMDocument::GetElementsByTagNameNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMNodeList * *_retval NS_OUTPARAM)
         526                 : {
         527                 :     return NS_ERROR_NOT_IMPLEMENTED;
         528                 : }
         529                 :
         530                 : /* nsIDOMElement getElementById (in DOMString elementId); */
         531                 : NS_IMETHODIMP nsDOMDocument::GetElementById(const nsAString & elementId, nsIDOMElement * *_retval NS_OUTPARAM)
         532                 : {
         533                 :     return NS_ERROR_NOT_IMPLEMENTED;
         534                 : }
         535                 :
         536                 : /* readonly attribute DOMString inputEncoding; */
         537                 : NS_IMETHODIMP nsDOMDocument::GetInputEncoding(nsAString & aInputEncoding)
         538                 : {
         539                 :     return NS_ERROR_NOT_IMPLEMENTED;
         540                 : }
         541                 :
         542                 : /* readonly attribute DOMString documentURI; */
         543                 : NS_IMETHODIMP nsDOMDocument::GetDocumentURI(nsAString & aDocumentURI)
         544                 : {
         545                 :     return NS_ERROR_NOT_IMPLEMENTED;
         546                 : }
         547                 :
         548                 : /* nsIDOMNode adoptNode (in nsIDOMNode source) raises (DOMException); */
         549                 : NS_IMETHODIMP nsDOMDocument::AdoptNode(nsIDOMNode *source, nsIDOMNode * *_retval NS_OUTPARAM)
         550                 : {
         551                 :     return NS_ERROR_NOT_IMPLEMENTED;
         552                 : }
         553                 :
         554                 : /* nsIDOMRange createRange (); */
         555                 : NS_IMETHODIMP nsDOMDocument::CreateRange(nsIDOMRange * *_retval NS_OUTPARAM)
         556                 : {
         557                 :     return NS_ERROR_NOT_IMPLEMENTED;
         558                 : }
         559                 :
         560                 : /* [optional_argc] nsIDOMNodeIterator createNodeIterator (in nsIDOMNode root, [optional] in unsigned long whatToShow, [optional] in nsIDOMNodeFilter filter) raises (DOMException); */
         561                 : NS_IMETHODIMP nsDOMDocument::CreateNodeIterator(nsIDOMNode *root, PRUint32 whatToShow, nsIDOMNodeFilter *filter, PRUint8 _argc, nsIDOMNodeIterator * *_retval NS_OUTPARAM)
         562                 : {
         563                 :     return NS_ERROR_NOT_IMPLEMENTED;
         564                 : }
         565                 :
         566                 : /* [optional_argc] nsIDOMTreeWalker createTreeWalker (in nsIDOMNode root, [optional] in unsigned long whatToShow, [optional] in nsIDOMNodeFilter filter) raises (DOMException); */
         567                 : NS_IMETHODIMP nsDOMDocument::CreateTreeWalker(nsIDOMNode *root, PRUint32 whatToShow, nsIDOMNodeFilter *filter, PRUint8 _argc, nsIDOMTreeWalker * *_retval NS_OUTPARAM)
         568                 : {
         569                 :     return NS_ERROR_NOT_IMPLEMENTED;
         570                 : }
         571                 :
         572                 : /* nsIDOMEvent createEvent (in DOMString eventType) raises (DOMException); */
         573                 : NS_IMETHODIMP nsDOMDocument::CreateEvent(const nsAString & eventType, nsIDOMEvent * *_retval NS_OUTPARAM)
         574                 : {
         575                 :     return NS_ERROR_NOT_IMPLEMENTED;
         576                 : }
         577                 :
         578                 : /* readonly attribute nsIDOMWindow defaultView; */
         579                 : NS_IMETHODIMP nsDOMDocument::GetDefaultView(nsIDOMWindow * *aDefaultView)
         580                 : {
         581                 :     return NS_ERROR_NOT_IMPLEMENTED;
         582                 : }
         583                 :
         584                 : /* readonly attribute DOMString characterSet; */
         585                 : NS_IMETHODIMP nsDOMDocument::GetCharacterSet(nsAString & aCharacterSet)
         586                 : {
         587                 :     return NS_ERROR_NOT_IMPLEMENTED;
         588                 : }
         589                 :
         590                 : /* attribute DOMString dir; */
         591                 : NS_IMETHODIMP nsDOMDocument::GetDir(nsAString & aDir)
         592                 : {
         593                 :     return NS_ERROR_NOT_IMPLEMENTED;
         594                 : }
         595                 : NS_IMETHODIMP nsDOMDocument::SetDir(const nsAString & aDir)
         596                 : {
         597                 :     return NS_ERROR_NOT_IMPLEMENTED;
         598                 : }
         599                 :
         600                 : /* readonly attribute nsIDOMLocation location; */
         601                 : NS_IMETHODIMP nsDOMDocument::GetLocation(nsIDOMLocation * *aLocation)
         602                 : {
         603                 :     return NS_ERROR_NOT_IMPLEMENTED;
         604                 : }
         605                 :
         606                 : /* attribute DOMString title; */
         607                 : NS_IMETHODIMP nsDOMDocument::GetTitle(nsAString & aTitle)
         608                 : {
         609                 :     return NS_ERROR_NOT_IMPLEMENTED;
         610                 : }
         611                 : NS_IMETHODIMP nsDOMDocument::SetTitle(const nsAString & aTitle)
         612                 : {
         613                 :     return NS_ERROR_NOT_IMPLEMENTED;
         614                 : }
         615                 :
         616                 : /* readonly attribute DOMString readyState; */
         617                 : NS_IMETHODIMP nsDOMDocument::GetReadyState(nsAString & aReadyState)
         618                 : {
         619                 :     return NS_ERROR_NOT_IMPLEMENTED;
         620                 : }
         621                 :
         622                 : /* readonly attribute DOMString lastModified; */
         623                 : NS_IMETHODIMP nsDOMDocument::GetLastModified(nsAString & aLastModified)
         624                 : {
         625                 :     return NS_ERROR_NOT_IMPLEMENTED;
         626                 : }
         627                 :
         628                 : /* readonly attribute DOMString referrer; */
         629                 : NS_IMETHODIMP nsDOMDocument::GetReferrer(nsAString & aReferrer)
         630                 : {
         631                 :     return NS_ERROR_NOT_IMPLEMENTED;
         632                 : }
         633                 :
         634                 : /* boolean hasFocus (); */
         635                 : NS_IMETHODIMP nsDOMDocument::HasFocus(bool *_retval NS_OUTPARAM)
         636                 : {
         637                 :     return NS_ERROR_NOT_IMPLEMENTED;
         638                 : }
         639                 :
         640                 : /* readonly attribute nsIDOMElement activeElement; */
         641                 : NS_IMETHODIMP nsDOMDocument::GetActiveElement(nsIDOMElement * *aActiveElement)
         642                 : {
         643                 :     return NS_ERROR_NOT_IMPLEMENTED;
         644                 : }
         645                 :
         646                 : /* nsIDOMNodeList getElementsByClassName (in DOMString classes); */
         647                 : NS_IMETHODIMP nsDOMDocument::GetElementsByClassName(const nsAString & classes, nsIDOMNodeList * *_retval NS_OUTPARAM)
         648                 : {
         649                 :     return NS_ERROR_NOT_IMPLEMENTED;
         650                 : }
         651                 :
         652                 : /* readonly attribute nsIDOMStyleSheetList styleSheets; */
         653                 : NS_IMETHODIMP nsDOMDocument::GetStyleSheets(nsIDOMStyleSheetList * *aStyleSheets)
         654                 : {
         655                 :     return NS_ERROR_NOT_IMPLEMENTED;
         656                 : }
         657                 :
         658                 : /* readonly attribute DOMString preferredStyleSheetSet; */
         659                 : NS_IMETHODIMP nsDOMDocument::GetPreferredStyleSheetSet(nsAString & aPreferredStyleSheetSet)
         660                 : {
         661                 :     return NS_ERROR_NOT_IMPLEMENTED;
         662                 : }
         663                 :
         664                 : /* attribute DOMString selectedStyleSheetSet; */
         665                 : NS_IMETHODIMP nsDOMDocument::GetSelectedStyleSheetSet(nsAString & aSelectedStyleSheetSet)
         666                 : {
         667                 :     return NS_ERROR_NOT_IMPLEMENTED;
         668                 : }
         669                 : NS_IMETHODIMP nsDOMDocument::SetSelectedStyleSheetSet(const nsAString & aSelectedStyleSheetSet)
         670                 : {
         671                 :     return NS_ERROR_NOT_IMPLEMENTED;
         672                 : }
         673                 :
         674                 : /* readonly attribute DOMString lastStyleSheetSet; */
         675                 : NS_IMETHODIMP nsDOMDocument::GetLastStyleSheetSet(nsAString & aLastStyleSheetSet)
         676                 : {
         677                 :     return NS_ERROR_NOT_IMPLEMENTED;
         678                 : }
         679                 :
         680                 : /* readonly attribute nsIDOMDOMStringList styleSheetSets; */
         681                 : NS_IMETHODIMP nsDOMDocument::GetStyleSheetSets(nsIDOMDOMStringList * *aStyleSheetSets)
         682                 : {
         683                 :     return NS_ERROR_NOT_IMPLEMENTED;
         684                 : }
         685                 :
         686                 : /* void enableStyleSheetsForSet (in DOMString name); */
         687                 : NS_IMETHODIMP nsDOMDocument::EnableStyleSheetsForSet(const nsAString & name)
         688                 : {
         689                 :     return NS_ERROR_NOT_IMPLEMENTED;
         690                 : }
         691                 :
         692                 : /* nsIDOMElement elementFromPoint (in float x, in float y); */
         693                 : NS_IMETHODIMP nsDOMDocument::ElementFromPoint(float x, float y, nsIDOMElement * *_retval NS_OUTPARAM)
         694                 : {
         695                 :     return NS_ERROR_NOT_IMPLEMENTED;
         696                 : }
         697                 :
         698                 : /* readonly attribute DOMString contentType; */
         699                 : NS_IMETHODIMP nsDOMDocument::GetContentType(nsAString & aContentType)
         700                 : {
         701                 :     return NS_ERROR_NOT_IMPLEMENTED;
         702                 : }
         703                 :
         704                 : /* readonly attribute boolean mozSyntheticDocument; */
         705                 : NS_IMETHODIMP nsDOMDocument::GetMozSyntheticDocument(bool *aMozSyntheticDocument)
         706                 : {
         707                 :     return NS_ERROR_NOT_IMPLEMENTED;
         708                 : }
         709                 :
         710                 : /* readonly attribute nsIDOMElement currentScript; */
         711                 : NS_IMETHODIMP nsDOMDocument::GetCurrentScript(nsIDOMElement * *aCurrentScript)
         712                 : {
         713                 :     return NS_ERROR_NOT_IMPLEMENTED;
         714                 : }
         715                 :
         716                 : /* void releaseCapture (); */
         717                 : NS_IMETHODIMP nsDOMDocument::ReleaseCapture()
         718                 : {
         719                 :     return NS_ERROR_NOT_IMPLEMENTED;
         720                 : }
         721                 :
         722                 : /* void mozSetImageElement (in DOMString aImageElementId, in nsIDOMElement aImageElement); */
         723                 : NS_IMETHODIMP nsDOMDocument::MozSetImageElement(const nsAString & aImageElementId, nsIDOMElement *aImageElement)
         724                 : {
         725                 :     return NS_ERROR_NOT_IMPLEMENTED;
         726                 : }
         727                 :
         728                 : /* readonly attribute nsIDOMHTMLElement mozFullScreenElement; */
         729                 : NS_IMETHODIMP nsDOMDocument::GetMozFullScreenElement(nsIDOMHTMLElement * *aMozFullScreenElement)
         730                 : {
         731                 :     return NS_ERROR_NOT_IMPLEMENTED;
         732                 : }
         733                 :
         734                 : /* void mozCancelFullScreen (); */
         735                 : NS_IMETHODIMP nsDOMDocument::MozCancelFullScreen()
         736                 : {
         737                 :     return NS_ERROR_NOT_IMPLEMENTED;
         738                 : }
         739                 :
         740                 : /* readonly attribute boolean mozFullScreen; */
         741                 : NS_IMETHODIMP nsDOMDocument::GetMozFullScreen(bool *aMozFullScreen)
         742                 : {
         743                 :     return NS_ERROR_NOT_IMPLEMENTED;
         744                 : }
         745                 :
         746                 : /* readonly attribute boolean mozFullScreenEnabled; */
         747                 : NS_IMETHODIMP nsDOMDocument::GetMozFullScreenEnabled(bool *aMozFullScreenEnabled)
         748                 : {
         749                 :     return NS_ERROR_NOT_IMPLEMENTED;
         750                 : }
         751                 :
         752                 : /* [implicit_jscontext] attribute jsval onreadystatechange; */
         753                 : NS_IMETHODIMP nsDOMDocument::GetOnreadystatechange(JSContext* cx, JS::Value *aOnreadystatechange)
         754                 : {
         755                 :     return NS_ERROR_NOT_IMPLEMENTED;
         756                 : }
         757                 : NS_IMETHODIMP nsDOMDocument::SetOnreadystatechange(JSContext* cx, const JS::Value & aOnreadystatechange)
         758                 : {
         759                 :     return NS_ERROR_NOT_IMPLEMENTED;
         760                 : }
         761                 :
         762                 : /* [implicit_jscontext] attribute jsval onmouseenter; */
         763                 : NS_IMETHODIMP nsDOMDocument::GetOnmouseenter(JSContext* cx, JS::Value *aOnmouseenter)
         764                 : {
         765                 :     return NS_ERROR_NOT_IMPLEMENTED;
         766                 : }
         767                 : NS_IMETHODIMP nsDOMDocument::SetOnmouseenter(JSContext* cx, const JS::Value & aOnmouseenter)
         768                 : {
         769                 :     return NS_ERROR_NOT_IMPLEMENTED;
         770                 : }
         771                 :
         772                 : /* [implicit_jscontext] attribute jsval onmouseleave; */
         773                 : NS_IMETHODIMP nsDOMDocument::GetOnmouseleave(JSContext* cx, JS::Value *aOnmouseleave)
         774                 : {
         775                 :     return NS_ERROR_NOT_IMPLEMENTED;
         776                 : }
         777                 : NS_IMETHODIMP nsDOMDocument::SetOnmouseleave(JSContext* cx, const JS::Value & aOnmouseleave)
         778                 : {
         779                 :     return NS_ERROR_NOT_IMPLEMENTED;
         780                 : }
         781                 :
         782                 : /* readonly attribute boolean mozHidden; */
         783                 : NS_IMETHODIMP nsDOMDocument::GetMozHidden(bool *aMozHidden)
         784                 : {
         785                 :     return NS_ERROR_NOT_IMPLEMENTED;
         786                 : }
         787                 :
         788                 : /* readonly attribute DOMString mozVisibilityState; */
         789                 : NS_IMETHODIMP nsDOMDocument::GetMozVisibilityState(nsAString & aMozVisibilityState)
         790                 : {
         791                 :     return NS_ERROR_NOT_IMPLEMENTED;
         792                 : }
         793                 :
         794                 : /* End of implementation class template. */
         795                 : #endif
         796                 :
         797                 :
         798                 : #endif /* __gen_nsIDOMDocument_h__ */

Generated by: LCOV version 1.7