LCOV - code coverage report
Current view: top level - dom/svg - SVGAnimatedRect.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 4 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 7 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_SVGAnimatedRect_h
       8             : #define mozilla_dom_SVGAnimatedRect_h
       9             : 
      10             : #include "nsCycleCollectionParticipant.h"
      11             : #include "mozilla/dom/SVGRectBinding.h"
      12             : #include "mozilla/Attributes.h"
      13             : #include "mozilla/ErrorResult.h"
      14             : #include "nsWrapperCache.h"
      15             : #include "nsSVGElement.h"
      16             : 
      17             : class nsSVGViewBox;
      18             : 
      19             : namespace mozilla {
      20             : namespace dom {
      21             : 
      22             : class SVGAnimatedRect final : public nsWrapperCache
      23             : {
      24             : public:
      25           0 :   NS_INLINE_DECL_CYCLE_COLLECTING_NATIVE_REFCOUNTING(SVGAnimatedRect)
      26           0 :   NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_NATIVE_CLASS(SVGAnimatedRect)
      27             : 
      28             :   SVGAnimatedRect(nsSVGViewBox* aVal, nsSVGElement* aSVGElement);
      29             : 
      30           0 :   nsSVGElement* GetParentObject() const
      31             :   {
      32           0 :     return mSVGElement;
      33             :   }
      34             : 
      35             :   virtual JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
      36             : 
      37             :   already_AddRefed<SVGIRect> GetBaseVal();
      38             : 
      39             :   already_AddRefed<SVGIRect> GetAnimVal();
      40             : 
      41             : private:
      42             :   virtual ~SVGAnimatedRect();
      43             : 
      44             :   nsSVGViewBox* mVal; // kept alive because it belongs to content
      45             :   RefPtr<nsSVGElement> mSVGElement;
      46             : };
      47             : 
      48             : } // namespace dom
      49             : } // namespace mozilla
      50             : 
      51             : #endif // mozilla_dom_SVGAnimatedRect_h
      52             : 

Generated by: LCOV version 1.13