LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include/mozilla/dom - MediaTrackSupportedConstraintsBinding.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 MediaTrackSupportedConstraints.webidl BY Codegen.py - DO NOT EDIT */
       2             : 
       3             : #ifndef mozilla_dom_MediaTrackSupportedConstraintsBinding_h
       4             : #define mozilla_dom_MediaTrackSupportedConstraintsBinding_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             : struct MediaTrackSupportedConstraintsAtoms;
      16             : struct NativePropertyHooks;
      17             : class ProtoAndIfaceCache;
      18             : 
      19             : } // namespace dom
      20             : } // namespace mozilla
      21             : 
      22             : namespace mozilla {
      23             : namespace dom {
      24             : 
      25           0 : struct MediaTrackSupportedConstraints : public DictionaryBase
      26             : {
      27             :   MOZ_INIT_OUTSIDE_CTOR Optional<bool> mAspectRatio;
      28             :   MOZ_INIT_OUTSIDE_CTOR bool mAutoGainControl;
      29             :   MOZ_INIT_OUTSIDE_CTOR bool mBrowserWindow;
      30             :   MOZ_INIT_OUTSIDE_CTOR bool mChannelCount;
      31             :   MOZ_INIT_OUTSIDE_CTOR bool mDeviceId;
      32             :   MOZ_INIT_OUTSIDE_CTOR bool mEchoCancellation;
      33             :   MOZ_INIT_OUTSIDE_CTOR bool mFacingMode;
      34             :   MOZ_INIT_OUTSIDE_CTOR bool mFrameRate;
      35             :   MOZ_INIT_OUTSIDE_CTOR Optional<bool> mGroupId;
      36             :   MOZ_INIT_OUTSIDE_CTOR bool mHeight;
      37             :   MOZ_INIT_OUTSIDE_CTOR Optional<bool> mLatency;
      38             :   MOZ_INIT_OUTSIDE_CTOR bool mMediaSource;
      39             :   MOZ_INIT_OUTSIDE_CTOR bool mNoiseSuppression;
      40             :   MOZ_INIT_OUTSIDE_CTOR Optional<bool> mSampleRate;
      41             :   MOZ_INIT_OUTSIDE_CTOR Optional<bool> mSampleSize;
      42             :   MOZ_INIT_OUTSIDE_CTOR bool mScrollWithPage;
      43             :   MOZ_INIT_OUTSIDE_CTOR bool mViewportHeight;
      44             :   MOZ_INIT_OUTSIDE_CTOR bool mViewportOffsetX;
      45             :   MOZ_INIT_OUTSIDE_CTOR bool mViewportOffsetY;
      46             :   MOZ_INIT_OUTSIDE_CTOR bool mViewportWidth;
      47             :   MOZ_INIT_OUTSIDE_CTOR Optional<bool> mVolume;
      48             :   MOZ_INIT_OUTSIDE_CTOR bool mWidth;
      49             : 
      50             :   MediaTrackSupportedConstraints();
      51             : 
      52             :   explicit inline MediaTrackSupportedConstraints(const FastDictionaryInitializer& )
      53             :   {
      54             :     // Do nothing here; this is used by our "Fast" subclass
      55             :   }
      56             : 
      57             :   explicit inline MediaTrackSupportedConstraints(const MediaTrackSupportedConstraints& aOther)
      58             :   {
      59             :     *this = aOther;
      60             :   }
      61             : 
      62             :   bool
      63             :   Init(JSContext* cx, JS::Handle<JS::Value> val, const char* sourceDescription = "Value", bool passedToJSImpl = false);
      64             : 
      65             :   bool
      66             :   Init(const nsAString& aJSON);
      67             : 
      68             :   bool
      69             :   ToObjectInternal(JSContext* cx, JS::MutableHandle<JS::Value> rval) const;
      70             : 
      71             :   bool
      72             :   ToJSON(nsAString& aJSON) const;
      73             : 
      74             :   void
      75             :   TraceDictionary(JSTracer* trc);
      76             : 
      77             :   MediaTrackSupportedConstraints&
      78             :   operator=(const MediaTrackSupportedConstraints& aOther);
      79             : 
      80             : private:
      81             :   static bool
      82             :   InitIds(JSContext* cx, MediaTrackSupportedConstraintsAtoms* atomsCache);
      83             : };
      84             : 
      85             : namespace binding_detail {
      86             : struct FastMediaTrackSupportedConstraints : public MediaTrackSupportedConstraints
      87             : {
      88             :   inline FastMediaTrackSupportedConstraints()
      89             :     : MediaTrackSupportedConstraints(FastDictionaryInitializer())
      90             :   {
      91             :     // Doesn't matter what int we pass to the parent constructor
      92             :   }
      93             : };
      94             : } // namespace binding_detail
      95             : 
      96             : 
      97             : } // namespace dom
      98             : } // namespace mozilla
      99             : 
     100             : #endif // mozilla_dom_MediaTrackSupportedConstraintsBinding_h

Generated by: LCOV version 1.13