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

Generated by: LCOV version 1.13