LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include/mozilla/dom - RectBinding.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 3 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 Rect.webidl BY Codegen.py - DO NOT EDIT */
       2             : 
       3             : #ifndef mozilla_dom_RectBinding_h
       4             : #define mozilla_dom_RectBinding_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             : 
      12             : class nsDOMCSSRect;
      13             : struct nsDOMCSSRectAtoms;
      14             : 
      15             : namespace mozilla {
      16             : namespace dom {
      17             : 
      18             : struct NativePropertyHooks;
      19             : class ProtoAndIfaceCache;
      20             : 
      21             : } // namespace dom
      22             : } // namespace mozilla
      23             : 
      24             : namespace mozilla {
      25             : namespace dom {
      26             : 
      27             : namespace RectBinding {
      28             : 
      29             :   typedef nsDOMCSSRect NativeType;
      30             : 
      31             :   JSObject*
      32             :   DefineDOMInterface(JSContext* aCx, JS::Handle<JSObject*> aGlobal, JS::Handle<jsid> id, bool aDefineOnGlobal);
      33             : 
      34             :   const JSClass*
      35             :   GetJSClass();
      36             : 
      37             :   bool
      38             :   Wrap(JSContext* aCx, nsDOMCSSRect* aObject, nsWrapperCache* aCache, JS::Handle<JSObject*> aGivenProto, JS::MutableHandle<JSObject*> aReflector);
      39             : 
      40             :   template <class T>
      41           0 :   inline JSObject* Wrap(JSContext* aCx, T* aObject, JS::Handle<JSObject*> aGivenProto)
      42             :   {
      43           0 :     JS::Rooted<JSObject*> reflector(aCx);
      44           0 :     return Wrap(aCx, aObject, aObject, aGivenProto, &reflector) ? reflector.get() : nullptr;
      45             :   }
      46             : 
      47             :   // We declare this as an array so that retrieving a pointer to this
      48             :   // binding's property hooks only requires compile/link-time resolvable
      49             :   // address arithmetic.  Declaring it as a pointer instead would require
      50             :   // doing a run-time load to fetch a pointer to this binding's property
      51             :   // hooks.  And then structures which embedded a pointer to this structure
      52             :   // would require a run-time load for proper initialization, which would
      53             :   // then induce static constructors.  Lots of static constructors.
      54             :   extern const NativePropertyHooks sNativePropertyHooks[];
      55             : 
      56             :   void
      57             :   CreateInterfaceObjects(JSContext* aCx, JS::Handle<JSObject*> aGlobal, ProtoAndIfaceCache& aProtoAndIfaceCache, bool aDefineOnGlobal);
      58             : 
      59             :   JS::Handle<JSObject*>
      60             :   GetProtoObjectHandle(JSContext* aCx);
      61             : 
      62             :   JS::Handle<JSObject*>
      63             :   GetConstructorObjectHandle(JSContext* aCx, bool aDefineOnGlobal = true);
      64             : 
      65             :   JSObject*
      66             :   GetConstructorObject(JSContext* aCx);
      67             : 
      68             : } // namespace RectBinding
      69             : 
      70             : 
      71             : 
      72             : } // namespace dom
      73             : } // namespace mozilla
      74             : 
      75             : #endif // mozilla_dom_RectBinding_h

Generated by: LCOV version 1.13