LCOV - code coverage report
Current view: top level - layout/style - CSSPageRule.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 5 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: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim: set ts=8 sts=2 et sw=2 tw=80: */
       3             : /* This Source Code Form is subject to the terms of the Mozilla Public
       4             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       5             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       6             : 
       7             : #ifndef mozilla_dom_CSSPageRule_h
       8             : #define mozilla_dom_CSSPageRule_h
       9             : 
      10             : #include "mozilla/css/Rule.h"
      11             : 
      12             : #include "nsICSSDeclaration.h"
      13             : #include "nsIDOMCSSPageRule.h"
      14             : #include "nsIDOMCSSStyleDeclaration.h"
      15             : 
      16             : namespace mozilla {
      17             : namespace dom {
      18             : 
      19           0 : class CSSPageRule : public css::Rule
      20             :                   , public nsIDOMCSSPageRule
      21             : {
      22             : protected:
      23           0 :   using Rule::Rule;
      24           0 :   virtual ~CSSPageRule() {};
      25             : 
      26             : public:
      27             :   NS_DECL_ISUPPORTS_INHERITED
      28             : 
      29             :   // nsIDOMCSSPageRule interface
      30             :   NS_DECL_NSIDOMCSSPAGERULE
      31             : 
      32             :   virtual bool IsCCLeaf() const override = 0;
      33             : 
      34           0 :   int32_t GetType() const final { return Rule::PAGE_RULE; }
      35             :   using Rule::GetType;
      36             : 
      37             :   // WebIDL interfaces
      38           0 :   uint16_t Type() const final { return nsIDOMCSSRule::PAGE_RULE; }
      39             :   virtual void GetCssTextImpl(nsAString& aCssText) const override = 0;
      40             :   virtual nsICSSDeclaration* Style() = 0;
      41             : 
      42             :   virtual size_t
      43             :   SizeOfIncludingThis(MallocSizeOf aMallocSizeOf) const override = 0;
      44             : 
      45             :   JSObject*
      46             :   WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
      47             : };
      48             : 
      49             : } // namespace dom
      50             : } // namespace mozilla
      51             : 
      52             : #endif // mozilla_dom_CSSPageRule_h

Generated by: LCOV version 1.13