LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include/mozilla/dom - DOMMatrixBinding.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 DOMMatrix.webidl BY Codegen.py - DO NOT EDIT */
       2             : 
       3             : #ifndef mozilla_dom_DOMMatrixBinding_h
       4             : #define mozilla_dom_DOMMatrixBinding_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             : namespace mozilla {
      13             : namespace dom {
      14             : 
      15             : class DOMMatrix;
      16             : struct DOMMatrixAtoms;
      17             : class DOMMatrixReadOnly;
      18             : struct DOMMatrixReadOnlyAtoms;
      19             : struct NativePropertyHooks;
      20             : class ProtoAndIfaceCache;
      21             : 
      22             : } // namespace dom
      23             : } // namespace mozilla
      24             : 
      25             : namespace mozilla {
      26             : namespace dom {
      27             : 
      28             : namespace DOMMatrixBinding {
      29             : 
      30             :   typedef mozilla::dom::DOMMatrix NativeType;
      31             : 
      32             :   bool
      33             :   ConstructorEnabled(JSContext* aCx, JS::Handle<JSObject*> aObj);
      34             : 
      35             :   JSObject*
      36             :   DefineDOMInterface(JSContext* aCx, JS::Handle<JSObject*> aGlobal, JS::Handle<jsid> id, bool aDefineOnGlobal);
      37             : 
      38             :   const JSClass*
      39             :   GetJSClass();
      40             : 
      41             :   bool
      42             :   Wrap(JSContext* aCx, mozilla::dom::DOMMatrix* aObject, nsWrapperCache* aCache, JS::Handle<JSObject*> aGivenProto, JS::MutableHandle<JSObject*> aReflector);
      43             : 
      44             :   template <class T>
      45           0 :   inline JSObject* Wrap(JSContext* aCx, T* aObject, JS::Handle<JSObject*> aGivenProto)
      46             :   {
      47           0 :     JS::Rooted<JSObject*> reflector(aCx);
      48           0 :     return Wrap(aCx, aObject, aObject, aGivenProto, &reflector) ? reflector.get() : nullptr;
      49             :   }
      50             : 
      51             :   // We declare this as an array so that retrieving a pointer to this
      52             :   // binding's property hooks only requires compile/link-time resolvable
      53             :   // address arithmetic.  Declaring it as a pointer instead would require
      54             :   // doing a run-time load to fetch a pointer to this binding's property
      55             :   // hooks.  And then structures which embedded a pointer to this structure
      56             :   // would require a run-time load for proper initialization, which would
      57             :   // then induce static constructors.  Lots of static constructors.
      58             :   extern const NativePropertyHooks sNativePropertyHooks[];
      59             : 
      60             :   void
      61             :   CreateInterfaceObjects(JSContext* aCx, JS::Handle<JSObject*> aGlobal, ProtoAndIfaceCache& aProtoAndIfaceCache, bool aDefineOnGlobal);
      62             : 
      63             :   JS::Handle<JSObject*>
      64             :   GetProtoObjectHandle(JSContext* aCx);
      65             : 
      66             :   JSObject*
      67             :   GetProtoObject(JSContext* aCx);
      68             : 
      69             :   JS::Handle<JSObject*>
      70             :   GetConstructorObjectHandle(JSContext* aCx, bool aDefineOnGlobal = true);
      71             : 
      72             :   JSObject*
      73             :   GetConstructorObject(JSContext* aCx);
      74             : 
      75             : } // namespace DOMMatrixBinding
      76             : 
      77             : 
      78             : 
      79             : namespace DOMMatrixReadOnlyBinding {
      80             : 
      81             :   typedef mozilla::dom::DOMMatrixReadOnly NativeType;
      82             : 
      83             :   bool
      84             :   ConstructorEnabled(JSContext* aCx, JS::Handle<JSObject*> aObj);
      85             : 
      86             :   JSObject*
      87             :   DefineDOMInterface(JSContext* aCx, JS::Handle<JSObject*> aGlobal, JS::Handle<jsid> id, bool aDefineOnGlobal);
      88             : 
      89             :   // We declare this as an array so that retrieving a pointer to this
      90             :   // binding's property hooks only requires compile/link-time resolvable
      91             :   // address arithmetic.  Declaring it as a pointer instead would require
      92             :   // doing a run-time load to fetch a pointer to this binding's property
      93             :   // hooks.  And then structures which embedded a pointer to this structure
      94             :   // would require a run-time load for proper initialization, which would
      95             :   // then induce static constructors.  Lots of static constructors.
      96             :   extern const NativePropertyHooks sNativePropertyHooks[];
      97             : 
      98             :   void
      99             :   CreateInterfaceObjects(JSContext* aCx, JS::Handle<JSObject*> aGlobal, ProtoAndIfaceCache& aProtoAndIfaceCache, bool aDefineOnGlobal);
     100             : 
     101             :   JS::Handle<JSObject*>
     102             :   GetProtoObjectHandle(JSContext* aCx);
     103             : 
     104             :   JSObject*
     105             :   GetProtoObject(JSContext* aCx);
     106             : 
     107             :   JS::Handle<JSObject*>
     108             :   GetConstructorObjectHandle(JSContext* aCx, bool aDefineOnGlobal = true);
     109             : 
     110             :   JSObject*
     111             :   GetConstructorObject(JSContext* aCx);
     112             : 
     113             : } // namespace DOMMatrixReadOnlyBinding
     114             : 
     115             : 
     116             : 
     117             : } // namespace dom
     118             : } // namespace mozilla
     119             : 
     120             : #endif // mozilla_dom_DOMMatrixBinding_h

Generated by: LCOV version 1.13