LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMHTMLDocument.h (source / functions) Hit Total Coverage
Test: output.info Lines: 1 1 100.0 %
Date: 2017-07-14 16:53:18 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMHTMLDocument.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMHTMLDocument_h__
       6             : #define __gen_nsIDOMHTMLDocument_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIDOMDocument_h__
      10             : #include "nsIDOMDocument.h"
      11             : #endif
      12             : 
      13             : #include "js/Value.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             : class nsISelection; /* forward declaration */
      20             : 
      21             : 
      22             : /* starting interface:    nsIDOMHTMLDocument */
      23             : #define NS_IDOMHTMLDOCUMENT_IID_STR "cd31e61f-cfc2-4b91-9385-17b6a2d0633d"
      24             : 
      25             : #define NS_IDOMHTMLDOCUMENT_IID \
      26             :   {0xcd31e61f, 0xcfc2, 0x4b91, \
      27             :     { 0x93, 0x85, 0x17, 0xb6, 0xa2, 0xd0, 0x63, 0x3d }}
      28             : 
      29           7 : class NS_NO_VTABLE nsIDOMHTMLDocument : public nsIDOMDocument {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLDOCUMENT_IID)
      33             : 
      34             :   /* attribute DOMString domain; */
      35             :   NS_IMETHOD GetDomain(nsAString & aDomain) = 0;
      36             :   NS_IMETHOD SetDomain(const nsAString & aDomain) = 0;
      37             : 
      38             :   /* attribute DOMString cookie; */
      39             :   NS_IMETHOD GetCookie(nsAString & aCookie) = 0;
      40             :   NS_IMETHOD SetCookie(const nsAString & aCookie) = 0;
      41             : 
      42             :   /* readonly attribute nsIDOMHTMLHeadElement head; */
      43             :   NS_IMETHOD GetHead(nsIDOMHTMLHeadElement * *aHead) = 0;
      44             : 
      45             :   /* attribute nsIDOMHTMLElement body; */
      46             :   NS_IMETHOD GetBody(nsIDOMHTMLElement * *aBody) = 0;
      47             :   NS_IMETHOD SetBody(nsIDOMHTMLElement *aBody) = 0;
      48             : 
      49             :   /* readonly attribute nsIDOMHTMLCollection images; */
      50             :   NS_IMETHOD GetImages(nsIDOMHTMLCollection * *aImages) = 0;
      51             : 
      52             :   /* readonly attribute nsIDOMHTMLCollection embeds; */
      53             :   NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) = 0;
      54             : 
      55             :   /* readonly attribute nsIDOMHTMLCollection plugins; */
      56             :   NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins) = 0;
      57             : 
      58             :   /* readonly attribute nsIDOMHTMLCollection links; */
      59             :   NS_IMETHOD GetLinks(nsIDOMHTMLCollection * *aLinks) = 0;
      60             : 
      61             :   /* readonly attribute nsIDOMHTMLCollection forms; */
      62             :   NS_IMETHOD GetForms(nsIDOMHTMLCollection * *aForms) = 0;
      63             : 
      64             :   /* readonly attribute nsIDOMHTMLCollection scripts; */
      65             :   NS_IMETHOD GetScripts(nsIDOMHTMLCollection * *aScripts) = 0;
      66             : 
      67             :   /* nsIDOMNodeList getElementsByName (in DOMString elementName); */
      68             :   NS_IMETHOD GetElementsByName(const nsAString & elementName, nsIDOMNodeList * *_retval) = 0;
      69             : 
      70             :   /* [implicit_jscontext,optional_argc] nsISupports open ([optional] in DOMString aContentTypeOrUrl, [optional] in DOMString aReplaceOrName, [optional] in DOMString aFeatures); */
      71             :   NS_IMETHOD Open(const nsAString & aContentTypeOrUrl, const nsAString & aReplaceOrName, const nsAString & aFeatures, JSContext* cx, uint8_t _argc, nsISupports * *_retval) = 0;
      72             : 
      73             :   /* void close (); */
      74             :   NS_IMETHOD Close(void) = 0;
      75             : 
      76             :   /* [implicit_jscontext] void write ([optional, Null (Stringify)] in DOMString text); */
      77             :   NS_IMETHOD Write(const nsAString & text, JSContext* cx) = 0;
      78             : 
      79             :   /* [implicit_jscontext] void writeln ([optional, Null (Stringify)] in DOMString text); */
      80             :   NS_IMETHOD Writeln(const nsAString & text, JSContext* cx) = 0;
      81             : 
      82             :   /* attribute DOMString designMode; */
      83             :   NS_IMETHOD GetDesignMode(nsAString & aDesignMode) = 0;
      84             :   NS_IMETHOD SetDesignMode(const nsAString & aDesignMode) = 0;
      85             : 
      86             :   /* boolean queryCommandIndeterm (in DOMString commandID); */
      87             :   NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, bool *_retval) = 0;
      88             : 
      89             :   /* boolean queryCommandState (in DOMString commandID); */
      90             :   NS_IMETHOD QueryCommandState(const nsAString & commandID, bool *_retval) = 0;
      91             : 
      92             :   /* DOMString queryCommandValue (in DOMString commandID); */
      93             :   NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval) = 0;
      94             : 
      95             :   /* attribute DOMString fgColor; */
      96             :   NS_IMETHOD GetFgColor(nsAString & aFgColor) = 0;
      97             :   NS_IMETHOD SetFgColor(const nsAString & aFgColor) = 0;
      98             : 
      99             :   /* attribute DOMString bgColor; */
     100             :   NS_IMETHOD GetBgColor(nsAString & aBgColor) = 0;
     101             :   NS_IMETHOD SetBgColor(const nsAString & aBgColor) = 0;
     102             : 
     103             :   /* attribute DOMString linkColor; */
     104             :   NS_IMETHOD GetLinkColor(nsAString & aLinkColor) = 0;
     105             :   NS_IMETHOD SetLinkColor(const nsAString & aLinkColor) = 0;
     106             : 
     107             :   /* attribute DOMString vlinkColor; */
     108             :   NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor) = 0;
     109             :   NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor) = 0;
     110             : 
     111             :   /* attribute DOMString alinkColor; */
     112             :   NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor) = 0;
     113             :   NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor) = 0;
     114             : 
     115             :   /* readonly attribute nsIDOMHTMLCollection anchors; */
     116             :   NS_IMETHOD GetAnchors(nsIDOMHTMLCollection * *aAnchors) = 0;
     117             : 
     118             :   /* readonly attribute nsIDOMHTMLCollection applets; */
     119             :   NS_IMETHOD GetApplets(nsIDOMHTMLCollection * *aApplets) = 0;
     120             : 
     121             :   /* void clear (); */
     122             :   NS_IMETHOD Clear(void) = 0;
     123             : 
     124             :   /* nsISelection getSelection (); */
     125             :   NS_IMETHOD GetSelection(nsISelection * *_retval) = 0;
     126             : 
     127             :   /* void captureEvents (); */
     128             :   NS_IMETHOD CaptureEvents(void) = 0;
     129             : 
     130             :   /* void releaseEvents (); */
     131             :   NS_IMETHOD ReleaseEvents(void) = 0;
     132             : 
     133             : };
     134             : 
     135             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLDocument, NS_IDOMHTMLDOCUMENT_IID)
     136             : 
     137             : /* Use this macro when declaring classes that implement this interface. */
     138             : #define NS_DECL_NSIDOMHTMLDOCUMENT \
     139             :   NS_IMETHOD GetDomain(nsAString & aDomain) override; \
     140             :   NS_IMETHOD SetDomain(const nsAString & aDomain) override; \
     141             :   NS_IMETHOD GetCookie(nsAString & aCookie) override; \
     142             :   NS_IMETHOD SetCookie(const nsAString & aCookie) override; \
     143             :   NS_IMETHOD GetHead(nsIDOMHTMLHeadElement * *aHead) override; \
     144             :   NS_IMETHOD GetBody(nsIDOMHTMLElement * *aBody) override; \
     145             :   NS_IMETHOD SetBody(nsIDOMHTMLElement *aBody) override; \
     146             :   NS_IMETHOD GetImages(nsIDOMHTMLCollection * *aImages) override; \
     147             :   NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) override; \
     148             :   NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins) override; \
     149             :   NS_IMETHOD GetLinks(nsIDOMHTMLCollection * *aLinks) override; \
     150             :   NS_IMETHOD GetForms(nsIDOMHTMLCollection * *aForms) override; \
     151             :   NS_IMETHOD GetScripts(nsIDOMHTMLCollection * *aScripts) override; \
     152             :   NS_IMETHOD GetElementsByName(const nsAString & elementName, nsIDOMNodeList * *_retval) override; \
     153             :   NS_IMETHOD Open(const nsAString & aContentTypeOrUrl, const nsAString & aReplaceOrName, const nsAString & aFeatures, JSContext* cx, uint8_t _argc, nsISupports * *_retval) override; \
     154             :   NS_IMETHOD Close(void) override; \
     155             :   NS_IMETHOD Write(const nsAString & text, JSContext* cx) override; \
     156             :   NS_IMETHOD Writeln(const nsAString & text, JSContext* cx) override; \
     157             :   NS_IMETHOD GetDesignMode(nsAString & aDesignMode) override; \
     158             :   NS_IMETHOD SetDesignMode(const nsAString & aDesignMode) override; \
     159             :   NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, bool *_retval) override; \
     160             :   NS_IMETHOD QueryCommandState(const nsAString & commandID, bool *_retval) override; \
     161             :   NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval) override; \
     162             :   NS_IMETHOD GetFgColor(nsAString & aFgColor) override; \
     163             :   NS_IMETHOD SetFgColor(const nsAString & aFgColor) override; \
     164             :   NS_IMETHOD GetBgColor(nsAString & aBgColor) override; \
     165             :   NS_IMETHOD SetBgColor(const nsAString & aBgColor) override; \
     166             :   NS_IMETHOD GetLinkColor(nsAString & aLinkColor) override; \
     167             :   NS_IMETHOD SetLinkColor(const nsAString & aLinkColor) override; \
     168             :   NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor) override; \
     169             :   NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor) override; \
     170             :   NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor) override; \
     171             :   NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor) override; \
     172             :   NS_IMETHOD GetAnchors(nsIDOMHTMLCollection * *aAnchors) override; \
     173             :   NS_IMETHOD GetApplets(nsIDOMHTMLCollection * *aApplets) override; \
     174             :   NS_IMETHOD Clear(void) override; \
     175             :   NS_IMETHOD GetSelection(nsISelection * *_retval) override; \
     176             :   NS_IMETHOD CaptureEvents(void) override; \
     177             :   NS_IMETHOD ReleaseEvents(void) override; 
     178             : 
     179             : /* Use this macro when declaring the members of this interface when the
     180             :    class doesn't implement the interface. This is useful for forwarding. */
     181             : #define NS_DECL_NON_VIRTUAL_NSIDOMHTMLDOCUMENT \
     182             :   nsresult GetDomain(nsAString & aDomain); \
     183             :   nsresult SetDomain(const nsAString & aDomain); \
     184             :   nsresult GetCookie(nsAString & aCookie); \
     185             :   nsresult SetCookie(const nsAString & aCookie); \
     186             :   nsresult GetHead(nsIDOMHTMLHeadElement * *aHead); \
     187             :   nsresult GetBody(nsIDOMHTMLElement * *aBody); \
     188             :   nsresult SetBody(nsIDOMHTMLElement *aBody); \
     189             :   nsresult GetImages(nsIDOMHTMLCollection * *aImages); \
     190             :   nsresult GetEmbeds(nsIDOMHTMLCollection * *aEmbeds); \
     191             :   nsresult GetPlugins(nsIDOMHTMLCollection * *aPlugins); \
     192             :   nsresult GetLinks(nsIDOMHTMLCollection * *aLinks); \
     193             :   nsresult GetForms(nsIDOMHTMLCollection * *aForms); \
     194             :   nsresult GetScripts(nsIDOMHTMLCollection * *aScripts); \
     195             :   nsresult GetElementsByName(const nsAString & elementName, nsIDOMNodeList * *_retval); \
     196             :   nsresult Open(const nsAString & aContentTypeOrUrl, const nsAString & aReplaceOrName, const nsAString & aFeatures, JSContext* cx, uint8_t _argc, nsISupports * *_retval); \
     197             :   nsresult Close(void); \
     198             :   nsresult Write(const nsAString & text, JSContext* cx); \
     199             :   nsresult Writeln(const nsAString & text, JSContext* cx); \
     200             :   nsresult GetDesignMode(nsAString & aDesignMode); \
     201             :   nsresult SetDesignMode(const nsAString & aDesignMode); \
     202             :   nsresult QueryCommandIndeterm(const nsAString & commandID, bool *_retval); \
     203             :   nsresult QueryCommandState(const nsAString & commandID, bool *_retval); \
     204             :   nsresult QueryCommandValue(const nsAString & commandID, nsAString & _retval); \
     205             :   nsresult GetFgColor(nsAString & aFgColor); \
     206             :   nsresult SetFgColor(const nsAString & aFgColor); \
     207             :   nsresult GetBgColor(nsAString & aBgColor); \
     208             :   nsresult SetBgColor(const nsAString & aBgColor); \
     209             :   nsresult GetLinkColor(nsAString & aLinkColor); \
     210             :   nsresult SetLinkColor(const nsAString & aLinkColor); \
     211             :   nsresult GetVlinkColor(nsAString & aVlinkColor); \
     212             :   nsresult SetVlinkColor(const nsAString & aVlinkColor); \
     213             :   nsresult GetAlinkColor(nsAString & aAlinkColor); \
     214             :   nsresult SetAlinkColor(const nsAString & aAlinkColor); \
     215             :   nsresult GetAnchors(nsIDOMHTMLCollection * *aAnchors); \
     216             :   nsresult GetApplets(nsIDOMHTMLCollection * *aApplets); \
     217             :   nsresult Clear(void); \
     218             :   nsresult GetSelection(nsISelection * *_retval); \
     219             :   nsresult CaptureEvents(void); \
     220             :   nsresult ReleaseEvents(void); 
     221             : 
     222             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     223             : #define NS_FORWARD_NSIDOMHTMLDOCUMENT(_to) \
     224             :   NS_IMETHOD GetDomain(nsAString & aDomain) override { return _to GetDomain(aDomain); } \
     225             :   NS_IMETHOD SetDomain(const nsAString & aDomain) override { return _to SetDomain(aDomain); } \
     226             :   NS_IMETHOD GetCookie(nsAString & aCookie) override { return _to GetCookie(aCookie); } \
     227             :   NS_IMETHOD SetCookie(const nsAString & aCookie) override { return _to SetCookie(aCookie); } \
     228             :   NS_IMETHOD GetHead(nsIDOMHTMLHeadElement * *aHead) override { return _to GetHead(aHead); } \
     229             :   NS_IMETHOD GetBody(nsIDOMHTMLElement * *aBody) override { return _to GetBody(aBody); } \
     230             :   NS_IMETHOD SetBody(nsIDOMHTMLElement *aBody) override { return _to SetBody(aBody); } \
     231             :   NS_IMETHOD GetImages(nsIDOMHTMLCollection * *aImages) override { return _to GetImages(aImages); } \
     232             :   NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) override { return _to GetEmbeds(aEmbeds); } \
     233             :   NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins) override { return _to GetPlugins(aPlugins); } \
     234             :   NS_IMETHOD GetLinks(nsIDOMHTMLCollection * *aLinks) override { return _to GetLinks(aLinks); } \
     235             :   NS_IMETHOD GetForms(nsIDOMHTMLCollection * *aForms) override { return _to GetForms(aForms); } \
     236             :   NS_IMETHOD GetScripts(nsIDOMHTMLCollection * *aScripts) override { return _to GetScripts(aScripts); } \
     237             :   NS_IMETHOD GetElementsByName(const nsAString & elementName, nsIDOMNodeList * *_retval) override { return _to GetElementsByName(elementName, _retval); } \
     238             :   NS_IMETHOD Open(const nsAString & aContentTypeOrUrl, const nsAString & aReplaceOrName, const nsAString & aFeatures, JSContext* cx, uint8_t _argc, nsISupports * *_retval) override { return _to Open(aContentTypeOrUrl, aReplaceOrName, aFeatures, cx, _argc, _retval); } \
     239             :   NS_IMETHOD Close(void) override { return _to Close(); } \
     240             :   NS_IMETHOD Write(const nsAString & text, JSContext* cx) override { return _to Write(text, cx); } \
     241             :   NS_IMETHOD Writeln(const nsAString & text, JSContext* cx) override { return _to Writeln(text, cx); } \
     242             :   NS_IMETHOD GetDesignMode(nsAString & aDesignMode) override { return _to GetDesignMode(aDesignMode); } \
     243             :   NS_IMETHOD SetDesignMode(const nsAString & aDesignMode) override { return _to SetDesignMode(aDesignMode); } \
     244             :   NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, bool *_retval) override { return _to QueryCommandIndeterm(commandID, _retval); } \
     245             :   NS_IMETHOD QueryCommandState(const nsAString & commandID, bool *_retval) override { return _to QueryCommandState(commandID, _retval); } \
     246             :   NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval) override { return _to QueryCommandValue(commandID, _retval); } \
     247             :   NS_IMETHOD GetFgColor(nsAString & aFgColor) override { return _to GetFgColor(aFgColor); } \
     248             :   NS_IMETHOD SetFgColor(const nsAString & aFgColor) override { return _to SetFgColor(aFgColor); } \
     249             :   NS_IMETHOD GetBgColor(nsAString & aBgColor) override { return _to GetBgColor(aBgColor); } \
     250             :   NS_IMETHOD SetBgColor(const nsAString & aBgColor) override { return _to SetBgColor(aBgColor); } \
     251             :   NS_IMETHOD GetLinkColor(nsAString & aLinkColor) override { return _to GetLinkColor(aLinkColor); } \
     252             :   NS_IMETHOD SetLinkColor(const nsAString & aLinkColor) override { return _to SetLinkColor(aLinkColor); } \
     253             :   NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor) override { return _to GetVlinkColor(aVlinkColor); } \
     254             :   NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor) override { return _to SetVlinkColor(aVlinkColor); } \
     255             :   NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor) override { return _to GetAlinkColor(aAlinkColor); } \
     256             :   NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor) override { return _to SetAlinkColor(aAlinkColor); } \
     257             :   NS_IMETHOD GetAnchors(nsIDOMHTMLCollection * *aAnchors) override { return _to GetAnchors(aAnchors); } \
     258             :   NS_IMETHOD GetApplets(nsIDOMHTMLCollection * *aApplets) override { return _to GetApplets(aApplets); } \
     259             :   NS_IMETHOD Clear(void) override { return _to Clear(); } \
     260             :   NS_IMETHOD GetSelection(nsISelection * *_retval) override { return _to GetSelection(_retval); } \
     261             :   NS_IMETHOD CaptureEvents(void) override { return _to CaptureEvents(); } \
     262             :   NS_IMETHOD ReleaseEvents(void) override { return _to ReleaseEvents(); } 
     263             : 
     264             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     265             : #define NS_FORWARD_SAFE_NSIDOMHTMLDOCUMENT(_to) \
     266             :   NS_IMETHOD GetDomain(nsAString & aDomain) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDomain(aDomain); } \
     267             :   NS_IMETHOD SetDomain(const nsAString & aDomain) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDomain(aDomain); } \
     268             :   NS_IMETHOD GetCookie(nsAString & aCookie) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCookie(aCookie); } \
     269             :   NS_IMETHOD SetCookie(const nsAString & aCookie) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCookie(aCookie); } \
     270             :   NS_IMETHOD GetHead(nsIDOMHTMLHeadElement * *aHead) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHead(aHead); } \
     271             :   NS_IMETHOD GetBody(nsIDOMHTMLElement * *aBody) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBody(aBody); } \
     272             :   NS_IMETHOD SetBody(nsIDOMHTMLElement *aBody) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBody(aBody); } \
     273             :   NS_IMETHOD GetImages(nsIDOMHTMLCollection * *aImages) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImages(aImages); } \
     274             :   NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEmbeds(aEmbeds); } \
     275             :   NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPlugins(aPlugins); } \
     276             :   NS_IMETHOD GetLinks(nsIDOMHTMLCollection * *aLinks) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLinks(aLinks); } \
     277             :   NS_IMETHOD GetForms(nsIDOMHTMLCollection * *aForms) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForms(aForms); } \
     278             :   NS_IMETHOD GetScripts(nsIDOMHTMLCollection * *aScripts) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScripts(aScripts); } \
     279             :   NS_IMETHOD GetElementsByName(const nsAString & elementName, nsIDOMNodeList * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElementsByName(elementName, _retval); } \
     280             :   NS_IMETHOD Open(const nsAString & aContentTypeOrUrl, const nsAString & aReplaceOrName, const nsAString & aFeatures, JSContext* cx, uint8_t _argc, nsISupports * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(aContentTypeOrUrl, aReplaceOrName, aFeatures, cx, _argc, _retval); } \
     281             :   NS_IMETHOD Close(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Close(); } \
     282             :   NS_IMETHOD Write(const nsAString & text, JSContext* cx) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Write(text, cx); } \
     283             :   NS_IMETHOD Writeln(const nsAString & text, JSContext* cx) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Writeln(text, cx); } \
     284             :   NS_IMETHOD GetDesignMode(nsAString & aDesignMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDesignMode(aDesignMode); } \
     285             :   NS_IMETHOD SetDesignMode(const nsAString & aDesignMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDesignMode(aDesignMode); } \
     286             :   NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandIndeterm(commandID, _retval); } \
     287             :   NS_IMETHOD QueryCommandState(const nsAString & commandID, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandState(commandID, _retval); } \
     288             :   NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandValue(commandID, _retval); } \
     289             :   NS_IMETHOD GetFgColor(nsAString & aFgColor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFgColor(aFgColor); } \
     290             :   NS_IMETHOD SetFgColor(const nsAString & aFgColor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFgColor(aFgColor); } \
     291             :   NS_IMETHOD GetBgColor(nsAString & aBgColor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBgColor(aBgColor); } \
     292             :   NS_IMETHOD SetBgColor(const nsAString & aBgColor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBgColor(aBgColor); } \
     293             :   NS_IMETHOD GetLinkColor(nsAString & aLinkColor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLinkColor(aLinkColor); } \
     294             :   NS_IMETHOD SetLinkColor(const nsAString & aLinkColor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLinkColor(aLinkColor); } \
     295             :   NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVlinkColor(aVlinkColor); } \
     296             :   NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVlinkColor(aVlinkColor); } \
     297             :   NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlinkColor(aAlinkColor); } \
     298             :   NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlinkColor(aAlinkColor); } \
     299             :   NS_IMETHOD GetAnchors(nsIDOMHTMLCollection * *aAnchors) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAnchors(aAnchors); } \
     300             :   NS_IMETHOD GetApplets(nsIDOMHTMLCollection * *aApplets) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetApplets(aApplets); } \
     301             :   NS_IMETHOD Clear(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Clear(); } \
     302             :   NS_IMETHOD GetSelection(nsISelection * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelection(_retval); } \
     303             :   NS_IMETHOD CaptureEvents(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CaptureEvents(); } \
     304             :   NS_IMETHOD ReleaseEvents(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ReleaseEvents(); } 
     305             : 
     306             : #if 0
     307             : /* Use the code below as a template for the implementation class for this interface. */
     308             : 
     309             : /* Header file */
     310             : class nsDOMHTMLDocument : public nsIDOMHTMLDocument
     311             : {
     312             : public:
     313             :   NS_DECL_ISUPPORTS
     314             :   NS_DECL_NSIDOMHTMLDOCUMENT
     315             : 
     316             :   nsDOMHTMLDocument();
     317             : 
     318             : private:
     319             :   ~nsDOMHTMLDocument();
     320             : 
     321             : protected:
     322             :   /* additional members */
     323             : };
     324             : 
     325             : /* Implementation file */
     326             : NS_IMPL_ISUPPORTS(nsDOMHTMLDocument, nsIDOMHTMLDocument)
     327             : 
     328             : nsDOMHTMLDocument::nsDOMHTMLDocument()
     329             : {
     330             :   /* member initializers and constructor code */
     331             : }
     332             : 
     333             : nsDOMHTMLDocument::~nsDOMHTMLDocument()
     334             : {
     335             :   /* destructor code */
     336             : }
     337             : 
     338             : /* attribute DOMString domain; */
     339             : NS_IMETHODIMP nsDOMHTMLDocument::GetDomain(nsAString & aDomain)
     340             : {
     341             :     return NS_ERROR_NOT_IMPLEMENTED;
     342             : }
     343             : NS_IMETHODIMP nsDOMHTMLDocument::SetDomain(const nsAString & aDomain)
     344             : {
     345             :     return NS_ERROR_NOT_IMPLEMENTED;
     346             : }
     347             : 
     348             : /* attribute DOMString cookie; */
     349             : NS_IMETHODIMP nsDOMHTMLDocument::GetCookie(nsAString & aCookie)
     350             : {
     351             :     return NS_ERROR_NOT_IMPLEMENTED;
     352             : }
     353             : NS_IMETHODIMP nsDOMHTMLDocument::SetCookie(const nsAString & aCookie)
     354             : {
     355             :     return NS_ERROR_NOT_IMPLEMENTED;
     356             : }
     357             : 
     358             : /* readonly attribute nsIDOMHTMLHeadElement head; */
     359             : NS_IMETHODIMP nsDOMHTMLDocument::GetHead(nsIDOMHTMLHeadElement * *aHead)
     360             : {
     361             :     return NS_ERROR_NOT_IMPLEMENTED;
     362             : }
     363             : 
     364             : /* attribute nsIDOMHTMLElement body; */
     365             : NS_IMETHODIMP nsDOMHTMLDocument::GetBody(nsIDOMHTMLElement * *aBody)
     366             : {
     367             :     return NS_ERROR_NOT_IMPLEMENTED;
     368             : }
     369             : NS_IMETHODIMP nsDOMHTMLDocument::SetBody(nsIDOMHTMLElement *aBody)
     370             : {
     371             :     return NS_ERROR_NOT_IMPLEMENTED;
     372             : }
     373             : 
     374             : /* readonly attribute nsIDOMHTMLCollection images; */
     375             : NS_IMETHODIMP nsDOMHTMLDocument::GetImages(nsIDOMHTMLCollection * *aImages)
     376             : {
     377             :     return NS_ERROR_NOT_IMPLEMENTED;
     378             : }
     379             : 
     380             : /* readonly attribute nsIDOMHTMLCollection embeds; */
     381             : NS_IMETHODIMP nsDOMHTMLDocument::GetEmbeds(nsIDOMHTMLCollection * *aEmbeds)
     382             : {
     383             :     return NS_ERROR_NOT_IMPLEMENTED;
     384             : }
     385             : 
     386             : /* readonly attribute nsIDOMHTMLCollection plugins; */
     387             : NS_IMETHODIMP nsDOMHTMLDocument::GetPlugins(nsIDOMHTMLCollection * *aPlugins)
     388             : {
     389             :     return NS_ERROR_NOT_IMPLEMENTED;
     390             : }
     391             : 
     392             : /* readonly attribute nsIDOMHTMLCollection links; */
     393             : NS_IMETHODIMP nsDOMHTMLDocument::GetLinks(nsIDOMHTMLCollection * *aLinks)
     394             : {
     395             :     return NS_ERROR_NOT_IMPLEMENTED;
     396             : }
     397             : 
     398             : /* readonly attribute nsIDOMHTMLCollection forms; */
     399             : NS_IMETHODIMP nsDOMHTMLDocument::GetForms(nsIDOMHTMLCollection * *aForms)
     400             : {
     401             :     return NS_ERROR_NOT_IMPLEMENTED;
     402             : }
     403             : 
     404             : /* readonly attribute nsIDOMHTMLCollection scripts; */
     405             : NS_IMETHODIMP nsDOMHTMLDocument::GetScripts(nsIDOMHTMLCollection * *aScripts)
     406             : {
     407             :     return NS_ERROR_NOT_IMPLEMENTED;
     408             : }
     409             : 
     410             : /* nsIDOMNodeList getElementsByName (in DOMString elementName); */
     411             : NS_IMETHODIMP nsDOMHTMLDocument::GetElementsByName(const nsAString & elementName, nsIDOMNodeList * *_retval)
     412             : {
     413             :     return NS_ERROR_NOT_IMPLEMENTED;
     414             : }
     415             : 
     416             : /* [implicit_jscontext,optional_argc] nsISupports open ([optional] in DOMString aContentTypeOrUrl, [optional] in DOMString aReplaceOrName, [optional] in DOMString aFeatures); */
     417             : NS_IMETHODIMP nsDOMHTMLDocument::Open(const nsAString & aContentTypeOrUrl, const nsAString & aReplaceOrName, const nsAString & aFeatures, JSContext* cx, uint8_t _argc, nsISupports * *_retval)
     418             : {
     419             :     return NS_ERROR_NOT_IMPLEMENTED;
     420             : }
     421             : 
     422             : /* void close (); */
     423             : NS_IMETHODIMP nsDOMHTMLDocument::Close()
     424             : {
     425             :     return NS_ERROR_NOT_IMPLEMENTED;
     426             : }
     427             : 
     428             : /* [implicit_jscontext] void write ([optional, Null (Stringify)] in DOMString text); */
     429             : NS_IMETHODIMP nsDOMHTMLDocument::Write(const nsAString & text, JSContext* cx)
     430             : {
     431             :     return NS_ERROR_NOT_IMPLEMENTED;
     432             : }
     433             : 
     434             : /* [implicit_jscontext] void writeln ([optional, Null (Stringify)] in DOMString text); */
     435             : NS_IMETHODIMP nsDOMHTMLDocument::Writeln(const nsAString & text, JSContext* cx)
     436             : {
     437             :     return NS_ERROR_NOT_IMPLEMENTED;
     438             : }
     439             : 
     440             : /* attribute DOMString designMode; */
     441             : NS_IMETHODIMP nsDOMHTMLDocument::GetDesignMode(nsAString & aDesignMode)
     442             : {
     443             :     return NS_ERROR_NOT_IMPLEMENTED;
     444             : }
     445             : NS_IMETHODIMP nsDOMHTMLDocument::SetDesignMode(const nsAString & aDesignMode)
     446             : {
     447             :     return NS_ERROR_NOT_IMPLEMENTED;
     448             : }
     449             : 
     450             : /* boolean queryCommandIndeterm (in DOMString commandID); */
     451             : NS_IMETHODIMP nsDOMHTMLDocument::QueryCommandIndeterm(const nsAString & commandID, bool *_retval)
     452             : {
     453             :     return NS_ERROR_NOT_IMPLEMENTED;
     454             : }
     455             : 
     456             : /* boolean queryCommandState (in DOMString commandID); */
     457             : NS_IMETHODIMP nsDOMHTMLDocument::QueryCommandState(const nsAString & commandID, bool *_retval)
     458             : {
     459             :     return NS_ERROR_NOT_IMPLEMENTED;
     460             : }
     461             : 
     462             : /* DOMString queryCommandValue (in DOMString commandID); */
     463             : NS_IMETHODIMP nsDOMHTMLDocument::QueryCommandValue(const nsAString & commandID, nsAString & _retval)
     464             : {
     465             :     return NS_ERROR_NOT_IMPLEMENTED;
     466             : }
     467             : 
     468             : /* attribute DOMString fgColor; */
     469             : NS_IMETHODIMP nsDOMHTMLDocument::GetFgColor(nsAString & aFgColor)
     470             : {
     471             :     return NS_ERROR_NOT_IMPLEMENTED;
     472             : }
     473             : NS_IMETHODIMP nsDOMHTMLDocument::SetFgColor(const nsAString & aFgColor)
     474             : {
     475             :     return NS_ERROR_NOT_IMPLEMENTED;
     476             : }
     477             : 
     478             : /* attribute DOMString bgColor; */
     479             : NS_IMETHODIMP nsDOMHTMLDocument::GetBgColor(nsAString & aBgColor)
     480             : {
     481             :     return NS_ERROR_NOT_IMPLEMENTED;
     482             : }
     483             : NS_IMETHODIMP nsDOMHTMLDocument::SetBgColor(const nsAString & aBgColor)
     484             : {
     485             :     return NS_ERROR_NOT_IMPLEMENTED;
     486             : }
     487             : 
     488             : /* attribute DOMString linkColor; */
     489             : NS_IMETHODIMP nsDOMHTMLDocument::GetLinkColor(nsAString & aLinkColor)
     490             : {
     491             :     return NS_ERROR_NOT_IMPLEMENTED;
     492             : }
     493             : NS_IMETHODIMP nsDOMHTMLDocument::SetLinkColor(const nsAString & aLinkColor)
     494             : {
     495             :     return NS_ERROR_NOT_IMPLEMENTED;
     496             : }
     497             : 
     498             : /* attribute DOMString vlinkColor; */
     499             : NS_IMETHODIMP nsDOMHTMLDocument::GetVlinkColor(nsAString & aVlinkColor)
     500             : {
     501             :     return NS_ERROR_NOT_IMPLEMENTED;
     502             : }
     503             : NS_IMETHODIMP nsDOMHTMLDocument::SetVlinkColor(const nsAString & aVlinkColor)
     504             : {
     505             :     return NS_ERROR_NOT_IMPLEMENTED;
     506             : }
     507             : 
     508             : /* attribute DOMString alinkColor; */
     509             : NS_IMETHODIMP nsDOMHTMLDocument::GetAlinkColor(nsAString & aAlinkColor)
     510             : {
     511             :     return NS_ERROR_NOT_IMPLEMENTED;
     512             : }
     513             : NS_IMETHODIMP nsDOMHTMLDocument::SetAlinkColor(const nsAString & aAlinkColor)
     514             : {
     515             :     return NS_ERROR_NOT_IMPLEMENTED;
     516             : }
     517             : 
     518             : /* readonly attribute nsIDOMHTMLCollection anchors; */
     519             : NS_IMETHODIMP nsDOMHTMLDocument::GetAnchors(nsIDOMHTMLCollection * *aAnchors)
     520             : {
     521             :     return NS_ERROR_NOT_IMPLEMENTED;
     522             : }
     523             : 
     524             : /* readonly attribute nsIDOMHTMLCollection applets; */
     525             : NS_IMETHODIMP nsDOMHTMLDocument::GetApplets(nsIDOMHTMLCollection * *aApplets)
     526             : {
     527             :     return NS_ERROR_NOT_IMPLEMENTED;
     528             : }
     529             : 
     530             : /* void clear (); */
     531             : NS_IMETHODIMP nsDOMHTMLDocument::Clear()
     532             : {
     533             :     return NS_ERROR_NOT_IMPLEMENTED;
     534             : }
     535             : 
     536             : /* nsISelection getSelection (); */
     537             : NS_IMETHODIMP nsDOMHTMLDocument::GetSelection(nsISelection * *_retval)
     538             : {
     539             :     return NS_ERROR_NOT_IMPLEMENTED;
     540             : }
     541             : 
     542             : /* void captureEvents (); */
     543             : NS_IMETHODIMP nsDOMHTMLDocument::CaptureEvents()
     544             : {
     545             :     return NS_ERROR_NOT_IMPLEMENTED;
     546             : }
     547             : 
     548             : /* void releaseEvents (); */
     549             : NS_IMETHODIMP nsDOMHTMLDocument::ReleaseEvents()
     550             : {
     551             :     return NS_ERROR_NOT_IMPLEMENTED;
     552             : }
     553             : 
     554             : /* End of implementation class template. */
     555             : #endif
     556             : 
     557             : 
     558             : #endif /* __gen_nsIDOMHTMLDocument_h__ */

Generated by: LCOV version 1.13