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

          Line data    Source code
       1             : /* THIS FILE IS AUTOGENERATED FROM BrowserElementDictionaries.webidl BY Codegen.py - DO NOT EDIT */
       2             : 
       3             : #ifndef mozilla_dom_BrowserElementDictionariesBinding_h
       4             : #define mozilla_dom_BrowserElementDictionariesBinding_h
       5             : 
       6             : #include "js/RootingAPI.h"
       7             : #include "jspubtd.h"
       8             : #include "mozilla/ErrorResult.h"
       9             : #include "mozilla/dom/BindingDeclarations.h"
      10             : #include "mozilla/dom/Nullable.h"
      11             : #include "nsINode.h"
      12             : 
      13             : class nsINode;
      14             : 
      15             : namespace mozilla {
      16             : namespace dom {
      17             : 
      18             : struct DOMWindowResizeEventDetailAtoms;
      19             : struct NativePropertyHooks;
      20             : struct OpenWindowEventDetailAtoms;
      21             : class ProtoAndIfaceCache;
      22             : 
      23             : } // namespace dom
      24             : } // namespace mozilla
      25             : 
      26             : namespace mozilla {
      27             : namespace dom {
      28             : 
      29             : struct DOMWindowResizeEventDetail : public DictionaryBase
      30             : {
      31             :   MOZ_INIT_OUTSIDE_CTOR int32_t mHeight;
      32             :   MOZ_INIT_OUTSIDE_CTOR int32_t mWidth;
      33             : 
      34             :   DOMWindowResizeEventDetail();
      35             : 
      36             :   explicit inline DOMWindowResizeEventDetail(const FastDictionaryInitializer& )
      37             :   {
      38             :     // Do nothing here; this is used by our "Fast" subclass
      39             :   }
      40             : 
      41             :   explicit inline DOMWindowResizeEventDetail(const DOMWindowResizeEventDetail& aOther)
      42             :   {
      43             :     *this = aOther;
      44             :   }
      45             : 
      46             :   bool
      47             :   Init(JSContext* cx, JS::Handle<JS::Value> val, const char* sourceDescription = "Value", bool passedToJSImpl = false);
      48             : 
      49             :   bool
      50             :   Init(const nsAString& aJSON);
      51             : 
      52             :   bool
      53             :   ToObjectInternal(JSContext* cx, JS::MutableHandle<JS::Value> rval) const;
      54             : 
      55             :   bool
      56             :   ToJSON(nsAString& aJSON) const;
      57             : 
      58             :   void
      59             :   TraceDictionary(JSTracer* trc);
      60             : 
      61             :   DOMWindowResizeEventDetail&
      62             :   operator=(const DOMWindowResizeEventDetail& aOther);
      63             : 
      64             : private:
      65             :   static bool
      66             :   InitIds(JSContext* cx, DOMWindowResizeEventDetailAtoms* atomsCache);
      67             : };
      68             : 
      69             : namespace binding_detail {
      70             : struct FastDOMWindowResizeEventDetail : public DOMWindowResizeEventDetail
      71             : {
      72             :   inline FastDOMWindowResizeEventDetail()
      73             :     : DOMWindowResizeEventDetail(FastDictionaryInitializer())
      74             :   {
      75             :     // Doesn't matter what int we pass to the parent constructor
      76             :   }
      77             : };
      78             : } // namespace binding_detail
      79             : 
      80             : 
      81           0 : struct OpenWindowEventDetail : public DictionaryBase
      82             : {
      83             :   MOZ_INIT_OUTSIDE_CTOR nsString mFeatures;
      84             :   MOZ_INIT_OUTSIDE_CTOR RefPtr<nsINode> mFrameElement;
      85             :   MOZ_INIT_OUTSIDE_CTOR nsString mName;
      86             :   MOZ_INIT_OUTSIDE_CTOR nsString mUrl;
      87             : 
      88             :   OpenWindowEventDetail();
      89             : 
      90             :   explicit inline OpenWindowEventDetail(const FastDictionaryInitializer& )
      91             :   {
      92             :     // Do nothing here; this is used by our "Fast" subclass
      93             :   }
      94             : 
      95             :   explicit inline OpenWindowEventDetail(const OpenWindowEventDetail& aOther)
      96             :   {
      97             :     *this = aOther;
      98             :   }
      99             : 
     100             :   bool
     101             :   Init(JSContext* cx, JS::Handle<JS::Value> val, const char* sourceDescription = "Value", bool passedToJSImpl = false);
     102             : 
     103             :   bool
     104             :   ToObjectInternal(JSContext* cx, JS::MutableHandle<JS::Value> rval) const;
     105             : 
     106             :   void
     107             :   TraceDictionary(JSTracer* trc);
     108             : 
     109             :   OpenWindowEventDetail&
     110             :   operator=(const OpenWindowEventDetail& aOther);
     111             : 
     112             : private:
     113             :   static bool
     114             :   InitIds(JSContext* cx, OpenWindowEventDetailAtoms* atomsCache);
     115             : };
     116             : 
     117             : namespace binding_detail {
     118             : struct FastOpenWindowEventDetail : public OpenWindowEventDetail
     119             : {
     120             :   inline FastOpenWindowEventDetail()
     121             :     : OpenWindowEventDetail(FastDictionaryInitializer())
     122             :   {
     123             :     // Doesn't matter what int we pass to the parent constructor
     124             :   }
     125             : };
     126             : } // namespace binding_detail
     127             : 
     128             : 
     129             : } // namespace dom
     130             : } // namespace mozilla
     131             : 
     132             : #endif // mozilla_dom_BrowserElementDictionariesBinding_h

Generated by: LCOV version 1.13