LCOV - code coverage report
Current view: top level - layout/style - FontFaceSetIterator.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 6 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* This Source Code Form is subject to the terms of the Mozilla Public
       3             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       4             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       5             : 
       6             : #ifndef mozilla_dom_FontFaceSetIterator_h
       7             : #define mozilla_dom_FontFaceSetIterator_h
       8             : 
       9             : #include "mozilla/dom/FontFaceSet.h"
      10             : #include "mozilla/dom/FontFaceSetBinding.h"
      11             : #include "mozilla/dom/NonRefcountedDOMObject.h"
      12             : 
      13             : namespace mozilla {
      14             : namespace dom {
      15             : 
      16             : class FontFaceSetIterator final
      17             : {
      18             : public:
      19             :   FontFaceSetIterator(mozilla::dom::FontFaceSet* aFontFaceSet,
      20             :                       bool aIsKeyAndValue);
      21             : 
      22           0 :   NS_DECL_CYCLE_COLLECTION_NATIVE_CLASS(FontFaceSetIterator)
      23           0 :   NS_INLINE_DECL_CYCLE_COLLECTING_NATIVE_REFCOUNTING(FontFaceSetIterator)
      24             : 
      25             :   bool WrapObject(JSContext* aCx,
      26             :                   JS::Handle<JSObject*> aGivenProto,
      27             :                   JS::MutableHandle<JSObject*> aReflector);
      28             : 
      29             :   // WebIDL
      30             :   void Next(JSContext* aCx, FontFaceSetIteratorResult& aResult,
      31             :             mozilla::ErrorResult& aRv);
      32             : 
      33             : private:
      34             :   ~FontFaceSetIterator();
      35             : 
      36             :   RefPtr<FontFaceSet> mFontFaceSet;
      37             :   uint32_t mNextIndex;
      38             :   bool mIsKeyAndValue;
      39             : };
      40             : 
      41             : } // namespace dom
      42             : } // namespace mozilla
      43             : 
      44             : #endif // !defined(mozilla_dom_FontFaceSetIterator_h)

Generated by: LCOV version 1.13