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

Generated by: LCOV version 1.13