LCOV - code coverage report
Current view: top level - dom/svg - SVGAnimatedAngle.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 6 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             : #ifndef mozilla_dom_SVGAnimatedAngle_h
       8             : #define mozilla_dom_SVGAnimatedAngle_h
       9             : 
      10             : #include "nsWrapperCache.h"
      11             : #include "nsSVGElement.h"
      12             : #include "mozilla/Attributes.h"
      13             : 
      14             : class nsSVGAngle;
      15             : 
      16             : namespace mozilla {
      17             : namespace dom {
      18             : 
      19             : class SVGAngle;
      20             : 
      21             : class SVGAnimatedAngle final : public nsWrapperCache
      22             : {
      23             : public:
      24           0 :   NS_INLINE_DECL_CYCLE_COLLECTING_NATIVE_REFCOUNTING(SVGAnimatedAngle)
      25           0 :   NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_NATIVE_CLASS(SVGAnimatedAngle)
      26             : 
      27           0 :   SVGAnimatedAngle(nsSVGAngle* aVal, nsSVGElement *aSVGElement)
      28           0 :     : mVal(aVal), mSVGElement(aSVGElement)
      29             :   {
      30           0 :   }
      31             : 
      32             :   // WebIDL
      33           0 :   nsSVGElement* GetParentObject() { return mSVGElement; }
      34             :   virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
      35             :   already_AddRefed<SVGAngle> BaseVal();
      36             :   already_AddRefed<SVGAngle> AnimVal();
      37             : 
      38             : protected:
      39             :   ~SVGAnimatedAngle();
      40             : 
      41             :   nsSVGAngle* mVal; // kept alive because it belongs to content
      42             :   RefPtr<nsSVGElement> mSVGElement;
      43             : };
      44             : 
      45             : } //namespace dom
      46             : } //namespace mozilla
      47             : 
      48             : #endif // mozilla_dom_SVGAnimatedAngle_h

Generated by: LCOV version 1.13