LCOV - code coverage report
Current view: top level - dom/svg - SVGAnimatedNumber.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 7 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 11 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_SVGAnimatedNumber_h
       8             : #define mozilla_dom_SVGAnimatedNumber_h
       9             : 
      10             : #include "nsISupports.h"
      11             : #include "nsWrapperCache.h"
      12             : 
      13             : #include "nsSVGElement.h"
      14             : 
      15             : namespace mozilla {
      16             : namespace dom {
      17             : 
      18             : class SVGAnimatedNumber : public nsISupports
      19             :                         , public nsWrapperCache
      20             : {
      21             : public:
      22             :   NS_DECL_CYCLE_COLLECTING_ISUPPORTS
      23           0 :   NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(SVGAnimatedNumber)
      24             : 
      25           0 :   nsSVGElement* GetParentObject() const
      26             :   {
      27           0 :     return mSVGElement;
      28             :   }
      29             : 
      30             :   virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
      31             :     override final;
      32             : 
      33             :   virtual float BaseVal() = 0;
      34             :   virtual void SetBaseVal(float aBaseVal) = 0;
      35             :   virtual float AnimVal() = 0;
      36             : 
      37             : protected:
      38           0 :   explicit SVGAnimatedNumber(nsSVGElement* aSVGElement)
      39           0 :     : mSVGElement(aSVGElement)
      40             :   {
      41           0 :   }
      42           0 :   virtual ~SVGAnimatedNumber() {};
      43             : 
      44             :   RefPtr<nsSVGElement> mSVGElement;
      45             : };
      46             : 
      47             : } // namespace dom
      48             : } // namespace mozilla
      49             : 
      50             : #endif // mozilla_dom_SVGAnimatedNumber_h

Generated by: LCOV version 1.13