LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIBaseWindow.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/nsIBaseWindow.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIBaseWindow_h__
       6             : #define __gen_nsIBaseWindow_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsrootidl_h__
      14             : #include "nsrootidl.h"
      15             : #endif
      16             : 
      17             : /* For IDL files that don't want to include root IDL files. */
      18             : #ifndef NS_NO_VTABLE
      19             : #define NS_NO_VTABLE
      20             : #endif
      21             : class nsIWidget;
      22             : typedef void * nativeWindow;
      23             : 
      24             : 
      25             : /* starting interface:    nsIBaseWindow */
      26             : #define NS_IBASEWINDOW_IID_STR "ca635529-a977-4552-9b8a-66187e54d882"
      27             : 
      28             : #define NS_IBASEWINDOW_IID \
      29             :   {0xca635529, 0xa977, 0x4552, \
      30             :     { 0x9b, 0x8a, 0x66, 0x18, 0x7e, 0x54, 0xd8, 0x82 }}
      31             : 
      32          14 : class NS_NO_VTABLE nsIBaseWindow : public nsISupports {
      33             :  public:
      34             : 
      35             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IBASEWINDOW_IID)
      36             : 
      37             :   /* [noscript] void initWindow (in nativeWindow parentNativeWindow, in nsIWidget parentWidget, in long x, in long y, in long cx, in long cy); */
      38             :   NS_IMETHOD InitWindow(nativeWindow parentNativeWindow, nsIWidget *parentWidget, int32_t x, int32_t y, int32_t cx, int32_t cy) = 0;
      39             : 
      40             :   /* void create (); */
      41             :   NS_IMETHOD Create(void) = 0;
      42             : 
      43             :   /* void destroy (); */
      44             :   NS_IMETHOD Destroy(void) = 0;
      45             : 
      46             :   /* void setPosition (in long x, in long y); */
      47             :   NS_IMETHOD SetPosition(int32_t x, int32_t y) = 0;
      48             : 
      49             :   /* void setPositionDesktopPix (in long x, in long y); */
      50             :   NS_IMETHOD SetPositionDesktopPix(int32_t x, int32_t y) = 0;
      51             : 
      52             :   /* void getPosition (out long x, out long y); */
      53             :   NS_IMETHOD GetPosition(int32_t *x, int32_t *y) = 0;
      54             : 
      55             :   /* void setSize (in long cx, in long cy, in boolean fRepaint); */
      56             :   NS_IMETHOD SetSize(int32_t cx, int32_t cy, bool fRepaint) = 0;
      57             : 
      58             :   /* void getSize (out long cx, out long cy); */
      59             :   NS_IMETHOD GetSize(int32_t *cx, int32_t *cy) = 0;
      60             : 
      61             :   enum {
      62             :     eRepaint = 1U,
      63             :     eDelayResize = 2U
      64             :   };
      65             : 
      66             :   /* void setPositionAndSize (in long x, in long y, in long cx, in long cy, in unsigned long flags); */
      67             :   NS_IMETHOD SetPositionAndSize(int32_t x, int32_t y, int32_t cx, int32_t cy, uint32_t flags) = 0;
      68             : 
      69             :   /* void getPositionAndSize (out long x, out long y, out long cx, out long cy); */
      70             :   NS_IMETHOD GetPositionAndSize(int32_t *x, int32_t *y, int32_t *cx, int32_t *cy) = 0;
      71             : 
      72             :   /* void repaint (in boolean force); */
      73             :   NS_IMETHOD Repaint(bool force) = 0;
      74             : 
      75             :   /* [noscript] attribute nsIWidget parentWidget; */
      76             :   NS_IMETHOD GetParentWidget(nsIWidget **aParentWidget) = 0;
      77             :   NS_IMETHOD SetParentWidget(nsIWidget *aParentWidget) = 0;
      78             : 
      79             :   /* attribute nativeWindow parentNativeWindow; */
      80             :   NS_IMETHOD GetParentNativeWindow(nativeWindow *aParentNativeWindow) = 0;
      81             :   NS_IMETHOD SetParentNativeWindow(nativeWindow aParentNativeWindow) = 0;
      82             : 
      83             :   /* readonly attribute DOMString nativeHandle; */
      84             :   NS_IMETHOD GetNativeHandle(nsAString & aNativeHandle) = 0;
      85             : 
      86             :   /* attribute boolean visibility; */
      87             :   NS_IMETHOD GetVisibility(bool *aVisibility) = 0;
      88             :   NS_IMETHOD SetVisibility(bool aVisibility) = 0;
      89             : 
      90             :   /* attribute boolean enabled; */
      91             :   NS_IMETHOD GetEnabled(bool *aEnabled) = 0;
      92             :   NS_IMETHOD SetEnabled(bool aEnabled) = 0;
      93             : 
      94             :   /* [noscript] readonly attribute nsIWidget mainWidget; */
      95             :   NS_IMETHOD GetMainWidget(nsIWidget **aMainWidget) = 0;
      96             : 
      97             :   /* readonly attribute double unscaledDevicePixelsPerCSSPixel; */
      98             :   NS_IMETHOD GetUnscaledDevicePixelsPerCSSPixel(double *aUnscaledDevicePixelsPerCSSPixel) = 0;
      99             : 
     100             :   /* readonly attribute double devicePixelsPerDesktopPixel; */
     101             :   NS_IMETHOD GetDevicePixelsPerDesktopPixel(double *aDevicePixelsPerDesktopPixel) = 0;
     102             : 
     103             :   /* void setFocus (); */
     104             :   NS_IMETHOD SetFocus(void) = 0;
     105             : 
     106             :   /* attribute wstring title; */
     107             :   NS_IMETHOD GetTitle(char16_t * *aTitle) = 0;
     108             :   NS_IMETHOD SetTitle(const char16_t * aTitle) = 0;
     109             : 
     110             : };
     111             : 
     112             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIBaseWindow, NS_IBASEWINDOW_IID)
     113             : 
     114             : /* Use this macro when declaring classes that implement this interface. */
     115             : #define NS_DECL_NSIBASEWINDOW \
     116             :   NS_IMETHOD InitWindow(nativeWindow parentNativeWindow, nsIWidget *parentWidget, int32_t x, int32_t y, int32_t cx, int32_t cy) override; \
     117             :   NS_IMETHOD Create(void) override; \
     118             :   NS_IMETHOD Destroy(void) override; \
     119             :   NS_IMETHOD SetPosition(int32_t x, int32_t y) override; \
     120             :   NS_IMETHOD SetPositionDesktopPix(int32_t x, int32_t y) override; \
     121             :   NS_IMETHOD GetPosition(int32_t *x, int32_t *y) override; \
     122             :   NS_IMETHOD SetSize(int32_t cx, int32_t cy, bool fRepaint) override; \
     123             :   NS_IMETHOD GetSize(int32_t *cx, int32_t *cy) override; \
     124             :   NS_IMETHOD SetPositionAndSize(int32_t x, int32_t y, int32_t cx, int32_t cy, uint32_t flags) override; \
     125             :   NS_IMETHOD GetPositionAndSize(int32_t *x, int32_t *y, int32_t *cx, int32_t *cy) override; \
     126             :   NS_IMETHOD Repaint(bool force) override; \
     127             :   NS_IMETHOD GetParentWidget(nsIWidget **aParentWidget) override; \
     128             :   NS_IMETHOD SetParentWidget(nsIWidget *aParentWidget) override; \
     129             :   NS_IMETHOD GetParentNativeWindow(nativeWindow *aParentNativeWindow) override; \
     130             :   NS_IMETHOD SetParentNativeWindow(nativeWindow aParentNativeWindow) override; \
     131             :   NS_IMETHOD GetNativeHandle(nsAString & aNativeHandle) override; \
     132             :   NS_IMETHOD GetVisibility(bool *aVisibility) override; \
     133             :   NS_IMETHOD SetVisibility(bool aVisibility) override; \
     134             :   NS_IMETHOD GetEnabled(bool *aEnabled) override; \
     135             :   NS_IMETHOD SetEnabled(bool aEnabled) override; \
     136             :   NS_IMETHOD GetMainWidget(nsIWidget **aMainWidget) override; \
     137             :   NS_IMETHOD GetUnscaledDevicePixelsPerCSSPixel(double *aUnscaledDevicePixelsPerCSSPixel) override; \
     138             :   NS_IMETHOD GetDevicePixelsPerDesktopPixel(double *aDevicePixelsPerDesktopPixel) override; \
     139             :   NS_IMETHOD SetFocus(void) override; \
     140             :   NS_IMETHOD GetTitle(char16_t * *aTitle) override; \
     141             :   NS_IMETHOD SetTitle(const char16_t * aTitle) override; 
     142             : 
     143             : /* Use this macro when declaring the members of this interface when the
     144             :    class doesn't implement the interface. This is useful for forwarding. */
     145             : #define NS_DECL_NON_VIRTUAL_NSIBASEWINDOW \
     146             :   nsresult InitWindow(nativeWindow parentNativeWindow, nsIWidget *parentWidget, int32_t x, int32_t y, int32_t cx, int32_t cy); \
     147             :   nsresult Create(void); \
     148             :   nsresult Destroy(void); \
     149             :   nsresult SetPosition(int32_t x, int32_t y); \
     150             :   nsresult SetPositionDesktopPix(int32_t x, int32_t y); \
     151             :   nsresult GetPosition(int32_t *x, int32_t *y); \
     152             :   nsresult SetSize(int32_t cx, int32_t cy, bool fRepaint); \
     153             :   nsresult GetSize(int32_t *cx, int32_t *cy); \
     154             :   nsresult SetPositionAndSize(int32_t x, int32_t y, int32_t cx, int32_t cy, uint32_t flags); \
     155             :   nsresult GetPositionAndSize(int32_t *x, int32_t *y, int32_t *cx, int32_t *cy); \
     156             :   nsresult Repaint(bool force); \
     157             :   nsresult GetParentWidget(nsIWidget **aParentWidget); \
     158             :   nsresult SetParentWidget(nsIWidget *aParentWidget); \
     159             :   nsresult GetParentNativeWindow(nativeWindow *aParentNativeWindow); \
     160             :   nsresult SetParentNativeWindow(nativeWindow aParentNativeWindow); \
     161             :   nsresult GetNativeHandle(nsAString & aNativeHandle); \
     162             :   nsresult GetVisibility(bool *aVisibility); \
     163             :   nsresult SetVisibility(bool aVisibility); \
     164             :   nsresult GetEnabled(bool *aEnabled); \
     165             :   nsresult SetEnabled(bool aEnabled); \
     166             :   nsresult GetMainWidget(nsIWidget **aMainWidget); \
     167             :   nsresult GetUnscaledDevicePixelsPerCSSPixel(double *aUnscaledDevicePixelsPerCSSPixel); \
     168             :   nsresult GetDevicePixelsPerDesktopPixel(double *aDevicePixelsPerDesktopPixel); \
     169             :   nsresult SetFocus(void); \
     170             :   nsresult GetTitle(char16_t * *aTitle); \
     171             :   nsresult SetTitle(const char16_t * aTitle); 
     172             : 
     173             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     174             : #define NS_FORWARD_NSIBASEWINDOW(_to) \
     175             :   NS_IMETHOD InitWindow(nativeWindow parentNativeWindow, nsIWidget *parentWidget, int32_t x, int32_t y, int32_t cx, int32_t cy) override { return _to InitWindow(parentNativeWindow, parentWidget, x, y, cx, cy); } \
     176             :   NS_IMETHOD Create(void) override { return _to Create(); } \
     177             :   NS_IMETHOD Destroy(void) override { return _to Destroy(); } \
     178             :   NS_IMETHOD SetPosition(int32_t x, int32_t y) override { return _to SetPosition(x, y); } \
     179             :   NS_IMETHOD SetPositionDesktopPix(int32_t x, int32_t y) override { return _to SetPositionDesktopPix(x, y); } \
     180             :   NS_IMETHOD GetPosition(int32_t *x, int32_t *y) override { return _to GetPosition(x, y); } \
     181             :   NS_IMETHOD SetSize(int32_t cx, int32_t cy, bool fRepaint) override { return _to SetSize(cx, cy, fRepaint); } \
     182             :   NS_IMETHOD GetSize(int32_t *cx, int32_t *cy) override { return _to GetSize(cx, cy); } \
     183             :   NS_IMETHOD SetPositionAndSize(int32_t x, int32_t y, int32_t cx, int32_t cy, uint32_t flags) override { return _to SetPositionAndSize(x, y, cx, cy, flags); } \
     184             :   NS_IMETHOD GetPositionAndSize(int32_t *x, int32_t *y, int32_t *cx, int32_t *cy) override { return _to GetPositionAndSize(x, y, cx, cy); } \
     185             :   NS_IMETHOD Repaint(bool force) override { return _to Repaint(force); } \
     186             :   NS_IMETHOD GetParentWidget(nsIWidget **aParentWidget) override { return _to GetParentWidget(aParentWidget); } \
     187             :   NS_IMETHOD SetParentWidget(nsIWidget *aParentWidget) override { return _to SetParentWidget(aParentWidget); } \
     188             :   NS_IMETHOD GetParentNativeWindow(nativeWindow *aParentNativeWindow) override { return _to GetParentNativeWindow(aParentNativeWindow); } \
     189             :   NS_IMETHOD SetParentNativeWindow(nativeWindow aParentNativeWindow) override { return _to SetParentNativeWindow(aParentNativeWindow); } \
     190             :   NS_IMETHOD GetNativeHandle(nsAString & aNativeHandle) override { return _to GetNativeHandle(aNativeHandle); } \
     191             :   NS_IMETHOD GetVisibility(bool *aVisibility) override { return _to GetVisibility(aVisibility); } \
     192             :   NS_IMETHOD SetVisibility(bool aVisibility) override { return _to SetVisibility(aVisibility); } \
     193             :   NS_IMETHOD GetEnabled(bool *aEnabled) override { return _to GetEnabled(aEnabled); } \
     194             :   NS_IMETHOD SetEnabled(bool aEnabled) override { return _to SetEnabled(aEnabled); } \
     195             :   NS_IMETHOD GetMainWidget(nsIWidget **aMainWidget) override { return _to GetMainWidget(aMainWidget); } \
     196             :   NS_IMETHOD GetUnscaledDevicePixelsPerCSSPixel(double *aUnscaledDevicePixelsPerCSSPixel) override { return _to GetUnscaledDevicePixelsPerCSSPixel(aUnscaledDevicePixelsPerCSSPixel); } \
     197             :   NS_IMETHOD GetDevicePixelsPerDesktopPixel(double *aDevicePixelsPerDesktopPixel) override { return _to GetDevicePixelsPerDesktopPixel(aDevicePixelsPerDesktopPixel); } \
     198             :   NS_IMETHOD SetFocus(void) override { return _to SetFocus(); } \
     199             :   NS_IMETHOD GetTitle(char16_t * *aTitle) override { return _to GetTitle(aTitle); } \
     200             :   NS_IMETHOD SetTitle(const char16_t * aTitle) override { return _to SetTitle(aTitle); } 
     201             : 
     202             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     203             : #define NS_FORWARD_SAFE_NSIBASEWINDOW(_to) \
     204             :   NS_IMETHOD InitWindow(nativeWindow parentNativeWindow, nsIWidget *parentWidget, int32_t x, int32_t y, int32_t cx, int32_t cy) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InitWindow(parentNativeWindow, parentWidget, x, y, cx, cy); } \
     205             :   NS_IMETHOD Create(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Create(); } \
     206             :   NS_IMETHOD Destroy(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Destroy(); } \
     207             :   NS_IMETHOD SetPosition(int32_t x, int32_t y) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPosition(x, y); } \
     208             :   NS_IMETHOD SetPositionDesktopPix(int32_t x, int32_t y) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPositionDesktopPix(x, y); } \
     209             :   NS_IMETHOD GetPosition(int32_t *x, int32_t *y) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPosition(x, y); } \
     210             :   NS_IMETHOD SetSize(int32_t cx, int32_t cy, bool fRepaint) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSize(cx, cy, fRepaint); } \
     211             :   NS_IMETHOD GetSize(int32_t *cx, int32_t *cy) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSize(cx, cy); } \
     212             :   NS_IMETHOD SetPositionAndSize(int32_t x, int32_t y, int32_t cx, int32_t cy, uint32_t flags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPositionAndSize(x, y, cx, cy, flags); } \
     213             :   NS_IMETHOD GetPositionAndSize(int32_t *x, int32_t *y, int32_t *cx, int32_t *cy) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPositionAndSize(x, y, cx, cy); } \
     214             :   NS_IMETHOD Repaint(bool force) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Repaint(force); } \
     215             :   NS_IMETHOD GetParentWidget(nsIWidget **aParentWidget) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParentWidget(aParentWidget); } \
     216             :   NS_IMETHOD SetParentWidget(nsIWidget *aParentWidget) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetParentWidget(aParentWidget); } \
     217             :   NS_IMETHOD GetParentNativeWindow(nativeWindow *aParentNativeWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParentNativeWindow(aParentNativeWindow); } \
     218             :   NS_IMETHOD SetParentNativeWindow(nativeWindow aParentNativeWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetParentNativeWindow(aParentNativeWindow); } \
     219             :   NS_IMETHOD GetNativeHandle(nsAString & aNativeHandle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNativeHandle(aNativeHandle); } \
     220             :   NS_IMETHOD GetVisibility(bool *aVisibility) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVisibility(aVisibility); } \
     221             :   NS_IMETHOD SetVisibility(bool aVisibility) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVisibility(aVisibility); } \
     222             :   NS_IMETHOD GetEnabled(bool *aEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnabled(aEnabled); } \
     223             :   NS_IMETHOD SetEnabled(bool aEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEnabled(aEnabled); } \
     224             :   NS_IMETHOD GetMainWidget(nsIWidget **aMainWidget) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMainWidget(aMainWidget); } \
     225             :   NS_IMETHOD GetUnscaledDevicePixelsPerCSSPixel(double *aUnscaledDevicePixelsPerCSSPixel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnscaledDevicePixelsPerCSSPixel(aUnscaledDevicePixelsPerCSSPixel); } \
     226             :   NS_IMETHOD GetDevicePixelsPerDesktopPixel(double *aDevicePixelsPerDesktopPixel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDevicePixelsPerDesktopPixel(aDevicePixelsPerDesktopPixel); } \
     227             :   NS_IMETHOD SetFocus(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFocus(); } \
     228             :   NS_IMETHOD GetTitle(char16_t * *aTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
     229             :   NS_IMETHOD SetTitle(const char16_t * aTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } 
     230             : 
     231             : #if 0
     232             : /* Use the code below as a template for the implementation class for this interface. */
     233             : 
     234             : /* Header file */
     235             : class nsBaseWindow : public nsIBaseWindow
     236             : {
     237             : public:
     238             :   NS_DECL_ISUPPORTS
     239             :   NS_DECL_NSIBASEWINDOW
     240             : 
     241             :   nsBaseWindow();
     242             : 
     243             : private:
     244             :   ~nsBaseWindow();
     245             : 
     246             : protected:
     247             :   /* additional members */
     248             : };
     249             : 
     250             : /* Implementation file */
     251             : NS_IMPL_ISUPPORTS(nsBaseWindow, nsIBaseWindow)
     252             : 
     253             : nsBaseWindow::nsBaseWindow()
     254             : {
     255             :   /* member initializers and constructor code */
     256             : }
     257             : 
     258             : nsBaseWindow::~nsBaseWindow()
     259             : {
     260             :   /* destructor code */
     261             : }
     262             : 
     263             : /* [noscript] void initWindow (in nativeWindow parentNativeWindow, in nsIWidget parentWidget, in long x, in long y, in long cx, in long cy); */
     264             : NS_IMETHODIMP nsBaseWindow::InitWindow(nativeWindow parentNativeWindow, nsIWidget *parentWidget, int32_t x, int32_t y, int32_t cx, int32_t cy)
     265             : {
     266             :     return NS_ERROR_NOT_IMPLEMENTED;
     267             : }
     268             : 
     269             : /* void create (); */
     270             : NS_IMETHODIMP nsBaseWindow::Create()
     271             : {
     272             :     return NS_ERROR_NOT_IMPLEMENTED;
     273             : }
     274             : 
     275             : /* void destroy (); */
     276             : NS_IMETHODIMP nsBaseWindow::Destroy()
     277             : {
     278             :     return NS_ERROR_NOT_IMPLEMENTED;
     279             : }
     280             : 
     281             : /* void setPosition (in long x, in long y); */
     282             : NS_IMETHODIMP nsBaseWindow::SetPosition(int32_t x, int32_t y)
     283             : {
     284             :     return NS_ERROR_NOT_IMPLEMENTED;
     285             : }
     286             : 
     287             : /* void setPositionDesktopPix (in long x, in long y); */
     288             : NS_IMETHODIMP nsBaseWindow::SetPositionDesktopPix(int32_t x, int32_t y)
     289             : {
     290             :     return NS_ERROR_NOT_IMPLEMENTED;
     291             : }
     292             : 
     293             : /* void getPosition (out long x, out long y); */
     294             : NS_IMETHODIMP nsBaseWindow::GetPosition(int32_t *x, int32_t *y)
     295             : {
     296             :     return NS_ERROR_NOT_IMPLEMENTED;
     297             : }
     298             : 
     299             : /* void setSize (in long cx, in long cy, in boolean fRepaint); */
     300             : NS_IMETHODIMP nsBaseWindow::SetSize(int32_t cx, int32_t cy, bool fRepaint)
     301             : {
     302             :     return NS_ERROR_NOT_IMPLEMENTED;
     303             : }
     304             : 
     305             : /* void getSize (out long cx, out long cy); */
     306             : NS_IMETHODIMP nsBaseWindow::GetSize(int32_t *cx, int32_t *cy)
     307             : {
     308             :     return NS_ERROR_NOT_IMPLEMENTED;
     309             : }
     310             : 
     311             : /* void setPositionAndSize (in long x, in long y, in long cx, in long cy, in unsigned long flags); */
     312             : NS_IMETHODIMP nsBaseWindow::SetPositionAndSize(int32_t x, int32_t y, int32_t cx, int32_t cy, uint32_t flags)
     313             : {
     314             :     return NS_ERROR_NOT_IMPLEMENTED;
     315             : }
     316             : 
     317             : /* void getPositionAndSize (out long x, out long y, out long cx, out long cy); */
     318             : NS_IMETHODIMP nsBaseWindow::GetPositionAndSize(int32_t *x, int32_t *y, int32_t *cx, int32_t *cy)
     319             : {
     320             :     return NS_ERROR_NOT_IMPLEMENTED;
     321             : }
     322             : 
     323             : /* void repaint (in boolean force); */
     324             : NS_IMETHODIMP nsBaseWindow::Repaint(bool force)
     325             : {
     326             :     return NS_ERROR_NOT_IMPLEMENTED;
     327             : }
     328             : 
     329             : /* [noscript] attribute nsIWidget parentWidget; */
     330             : NS_IMETHODIMP nsBaseWindow::GetParentWidget(nsIWidget **aParentWidget)
     331             : {
     332             :     return NS_ERROR_NOT_IMPLEMENTED;
     333             : }
     334             : NS_IMETHODIMP nsBaseWindow::SetParentWidget(nsIWidget *aParentWidget)
     335             : {
     336             :     return NS_ERROR_NOT_IMPLEMENTED;
     337             : }
     338             : 
     339             : /* attribute nativeWindow parentNativeWindow; */
     340             : NS_IMETHODIMP nsBaseWindow::GetParentNativeWindow(nativeWindow *aParentNativeWindow)
     341             : {
     342             :     return NS_ERROR_NOT_IMPLEMENTED;
     343             : }
     344             : NS_IMETHODIMP nsBaseWindow::SetParentNativeWindow(nativeWindow aParentNativeWindow)
     345             : {
     346             :     return NS_ERROR_NOT_IMPLEMENTED;
     347             : }
     348             : 
     349             : /* readonly attribute DOMString nativeHandle; */
     350             : NS_IMETHODIMP nsBaseWindow::GetNativeHandle(nsAString & aNativeHandle)
     351             : {
     352             :     return NS_ERROR_NOT_IMPLEMENTED;
     353             : }
     354             : 
     355             : /* attribute boolean visibility; */
     356             : NS_IMETHODIMP nsBaseWindow::GetVisibility(bool *aVisibility)
     357             : {
     358             :     return NS_ERROR_NOT_IMPLEMENTED;
     359             : }
     360             : NS_IMETHODIMP nsBaseWindow::SetVisibility(bool aVisibility)
     361             : {
     362             :     return NS_ERROR_NOT_IMPLEMENTED;
     363             : }
     364             : 
     365             : /* attribute boolean enabled; */
     366             : NS_IMETHODIMP nsBaseWindow::GetEnabled(bool *aEnabled)
     367             : {
     368             :     return NS_ERROR_NOT_IMPLEMENTED;
     369             : }
     370             : NS_IMETHODIMP nsBaseWindow::SetEnabled(bool aEnabled)
     371             : {
     372             :     return NS_ERROR_NOT_IMPLEMENTED;
     373             : }
     374             : 
     375             : /* [noscript] readonly attribute nsIWidget mainWidget; */
     376             : NS_IMETHODIMP nsBaseWindow::GetMainWidget(nsIWidget **aMainWidget)
     377             : {
     378             :     return NS_ERROR_NOT_IMPLEMENTED;
     379             : }
     380             : 
     381             : /* readonly attribute double unscaledDevicePixelsPerCSSPixel; */
     382             : NS_IMETHODIMP nsBaseWindow::GetUnscaledDevicePixelsPerCSSPixel(double *aUnscaledDevicePixelsPerCSSPixel)
     383             : {
     384             :     return NS_ERROR_NOT_IMPLEMENTED;
     385             : }
     386             : 
     387             : /* readonly attribute double devicePixelsPerDesktopPixel; */
     388             : NS_IMETHODIMP nsBaseWindow::GetDevicePixelsPerDesktopPixel(double *aDevicePixelsPerDesktopPixel)
     389             : {
     390             :     return NS_ERROR_NOT_IMPLEMENTED;
     391             : }
     392             : 
     393             : /* void setFocus (); */
     394             : NS_IMETHODIMP nsBaseWindow::SetFocus()
     395             : {
     396             :     return NS_ERROR_NOT_IMPLEMENTED;
     397             : }
     398             : 
     399             : /* attribute wstring title; */
     400             : NS_IMETHODIMP nsBaseWindow::GetTitle(char16_t * *aTitle)
     401             : {
     402             :     return NS_ERROR_NOT_IMPLEMENTED;
     403             : }
     404             : NS_IMETHODIMP nsBaseWindow::SetTitle(const char16_t * aTitle)
     405             : {
     406             :     return NS_ERROR_NOT_IMPLEMENTED;
     407             : }
     408             : 
     409             : /* End of implementation class template. */
     410             : #endif
     411             : 
     412             : 
     413             : #endif /* __gen_nsIBaseWindow_h__ */

Generated by: LCOV version 1.13