LCOV - code coverage report
Current view: top level - layout/style - CSSSupportsRule.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 18 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 8 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             : #include "mozilla/dom/CSSSupportsRule.h"
       8             : 
       9             : #include "mozilla/dom/CSSSupportsRuleBinding.h"
      10             : 
      11             : using namespace mozilla::css;
      12             : 
      13             : namespace mozilla {
      14             : namespace dom {
      15             : 
      16           0 : NS_IMPL_ADDREF_INHERITED(mozilla::dom::CSSSupportsRule, css::ConditionRule)
      17           0 : NS_IMPL_RELEASE_INHERITED(mozilla::dom::CSSSupportsRule, css::ConditionRule)
      18             : 
      19             : // QueryInterface implementation for CSSSupportsRule
      20           0 : NS_INTERFACE_MAP_BEGIN(CSSSupportsRule)
      21           0 :   NS_INTERFACE_MAP_ENTRY(nsIDOMCSSGroupingRule)
      22           0 :   NS_INTERFACE_MAP_ENTRY(nsIDOMCSSConditionRule)
      23           0 :   NS_INTERFACE_MAP_ENTRY(nsIDOMCSSSupportsRule)
      24           0 : NS_INTERFACE_MAP_END_INHERITING(ConditionRule)
      25             : 
      26             : // nsIDOMCSSGroupingRule methods
      27             : NS_IMETHODIMP
      28           0 : CSSSupportsRule::GetCssRules(nsIDOMCSSRuleList** aRuleList)
      29             : {
      30           0 :   return GroupRule::GetCssRules(aRuleList);
      31             : }
      32             : 
      33             : NS_IMETHODIMP
      34           0 : CSSSupportsRule::InsertRule(const nsAString & aRule, uint32_t aIndex, uint32_t* _retval)
      35             : {
      36           0 :   return GroupRule::InsertRule(aRule, aIndex, _retval);
      37             : }
      38             : 
      39             : NS_IMETHODIMP
      40           0 : CSSSupportsRule::DeleteRule(uint32_t aIndex)
      41             : {
      42           0 :   return GroupRule::DeleteRule(aIndex);
      43             : }
      44             : 
      45             : void
      46           0 : CSSSupportsRule::SetConditionText(const nsAString& aConditionText,
      47             :                                   ErrorResult& aRv)
      48             : {
      49           0 :   aRv = SetConditionText(aConditionText);
      50           0 : }
      51             : 
      52             : /* virtual */ JSObject*
      53           0 : CSSSupportsRule::WrapObject(JSContext* aCx,
      54             :                             JS::Handle<JSObject*> aGivenProto)
      55             : {
      56           0 :   return CSSSupportsRuleBinding::Wrap(aCx, this, aGivenProto);
      57             : }
      58             : 
      59             : } // namespace dom
      60             : } // namespace mozilla

Generated by: LCOV version 1.13