LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIWindowCreator2.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/nsIWindowCreator2.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIWindowCreator2_h__
       6             : #define __gen_nsIWindowCreator2_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIWindowCreator_h__
      10             : #include "nsIWindowCreator.h"
      11             : #endif
      12             : 
      13             : /* For IDL files that don't want to include root IDL files. */
      14             : #ifndef NS_NO_VTABLE
      15             : #define NS_NO_VTABLE
      16             : #endif
      17             : class nsITabParent; /* forward declaration */
      18             : 
      19             : class nsIURI; /* forward declaration */
      20             : 
      21             : class nsIWebBrowserChrome; /* forward declaration */
      22             : 
      23             : class mozIDOMWindowProxy; /* forward declaration */
      24             : 
      25             : 
      26             : /* starting interface:    nsIWindowCreator2 */
      27             : #define NS_IWINDOWCREATOR2_IID_STR "b6c44689-f97e-4f32-a723-29eeddfbdc53"
      28             : 
      29             : #define NS_IWINDOWCREATOR2_IID \
      30             :   {0xb6c44689, 0xf97e, 0x4f32, \
      31             :     { 0xa7, 0x23, 0x29, 0xee, 0xdd, 0xfb, 0xdc, 0x53 }}
      32             : 
      33           1 : class NS_NO_VTABLE nsIWindowCreator2 : public nsIWindowCreator {
      34             :  public:
      35             : 
      36             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWINDOWCREATOR2_IID)
      37             : 
      38             :   /* nsIWebBrowserChrome createChromeWindow2 (in nsIWebBrowserChrome parent, in uint32_t chromeFlags, in nsITabParent aOpeningTab, in mozIDOMWindowProxy aOpener, in unsigned long long aNextTabParentId, out boolean cancel); */
      39             :   NS_IMETHOD CreateChromeWindow2(nsIWebBrowserChrome *parent, uint32_t chromeFlags, nsITabParent *aOpeningTab, mozIDOMWindowProxy *aOpener, uint64_t aNextTabParentId, bool *cancel, nsIWebBrowserChrome * *_retval) = 0;
      40             : 
      41             :   /* [noscript] void setScreenId (in uint32_t aScreenId); */
      42             :   NS_IMETHOD SetScreenId(uint32_t aScreenId) = 0;
      43             : 
      44             : };
      45             : 
      46             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIWindowCreator2, NS_IWINDOWCREATOR2_IID)
      47             : 
      48             : /* Use this macro when declaring classes that implement this interface. */
      49             : #define NS_DECL_NSIWINDOWCREATOR2 \
      50             :   NS_IMETHOD CreateChromeWindow2(nsIWebBrowserChrome *parent, uint32_t chromeFlags, nsITabParent *aOpeningTab, mozIDOMWindowProxy *aOpener, uint64_t aNextTabParentId, bool *cancel, nsIWebBrowserChrome * *_retval) override; \
      51             :   NS_IMETHOD SetScreenId(uint32_t aScreenId) override; 
      52             : 
      53             : /* Use this macro when declaring the members of this interface when the
      54             :    class doesn't implement the interface. This is useful for forwarding. */
      55             : #define NS_DECL_NON_VIRTUAL_NSIWINDOWCREATOR2 \
      56             :   nsresult CreateChromeWindow2(nsIWebBrowserChrome *parent, uint32_t chromeFlags, nsITabParent *aOpeningTab, mozIDOMWindowProxy *aOpener, uint64_t aNextTabParentId, bool *cancel, nsIWebBrowserChrome * *_retval); \
      57             :   nsresult SetScreenId(uint32_t aScreenId); 
      58             : 
      59             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      60             : #define NS_FORWARD_NSIWINDOWCREATOR2(_to) \
      61             :   NS_IMETHOD CreateChromeWindow2(nsIWebBrowserChrome *parent, uint32_t chromeFlags, nsITabParent *aOpeningTab, mozIDOMWindowProxy *aOpener, uint64_t aNextTabParentId, bool *cancel, nsIWebBrowserChrome * *_retval) override { return _to CreateChromeWindow2(parent, chromeFlags, aOpeningTab, aOpener, aNextTabParentId, cancel, _retval); } \
      62             :   NS_IMETHOD SetScreenId(uint32_t aScreenId) override { return _to SetScreenId(aScreenId); } 
      63             : 
      64             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      65             : #define NS_FORWARD_SAFE_NSIWINDOWCREATOR2(_to) \
      66             :   NS_IMETHOD CreateChromeWindow2(nsIWebBrowserChrome *parent, uint32_t chromeFlags, nsITabParent *aOpeningTab, mozIDOMWindowProxy *aOpener, uint64_t aNextTabParentId, bool *cancel, nsIWebBrowserChrome * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateChromeWindow2(parent, chromeFlags, aOpeningTab, aOpener, aNextTabParentId, cancel, _retval); } \
      67             :   NS_IMETHOD SetScreenId(uint32_t aScreenId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScreenId(aScreenId); } 
      68             : 
      69             : #if 0
      70             : /* Use the code below as a template for the implementation class for this interface. */
      71             : 
      72             : /* Header file */
      73             : class nsWindowCreator2 : public nsIWindowCreator2
      74             : {
      75             : public:
      76             :   NS_DECL_ISUPPORTS
      77             :   NS_DECL_NSIWINDOWCREATOR2
      78             : 
      79             :   nsWindowCreator2();
      80             : 
      81             : private:
      82             :   ~nsWindowCreator2();
      83             : 
      84             : protected:
      85             :   /* additional members */
      86             : };
      87             : 
      88             : /* Implementation file */
      89             : NS_IMPL_ISUPPORTS(nsWindowCreator2, nsIWindowCreator2)
      90             : 
      91             : nsWindowCreator2::nsWindowCreator2()
      92             : {
      93             :   /* member initializers and constructor code */
      94             : }
      95             : 
      96             : nsWindowCreator2::~nsWindowCreator2()
      97             : {
      98             :   /* destructor code */
      99             : }
     100             : 
     101             : /* nsIWebBrowserChrome createChromeWindow2 (in nsIWebBrowserChrome parent, in uint32_t chromeFlags, in nsITabParent aOpeningTab, in mozIDOMWindowProxy aOpener, in unsigned long long aNextTabParentId, out boolean cancel); */
     102             : NS_IMETHODIMP nsWindowCreator2::CreateChromeWindow2(nsIWebBrowserChrome *parent, uint32_t chromeFlags, nsITabParent *aOpeningTab, mozIDOMWindowProxy *aOpener, uint64_t aNextTabParentId, bool *cancel, nsIWebBrowserChrome * *_retval)
     103             : {
     104             :     return NS_ERROR_NOT_IMPLEMENTED;
     105             : }
     106             : 
     107             : /* [noscript] void setScreenId (in uint32_t aScreenId); */
     108             : NS_IMETHODIMP nsWindowCreator2::SetScreenId(uint32_t aScreenId)
     109             : {
     110             :     return NS_ERROR_NOT_IMPLEMENTED;
     111             : }
     112             : 
     113             : /* End of implementation class template. */
     114             : #endif
     115             : 
     116             : 
     117             : #endif /* __gen_nsIWindowCreator2_h__ */

Generated by: LCOV version 1.13