LCOV - code coverage report
Current view: top level - dom/svg - SVGClipPathElement.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 2 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_SVGClipPathElement_h
       8             : #define mozilla_dom_SVGClipPathElement_h
       9             : 
      10             : #include "nsSVGEnum.h"
      11             : #include "mozilla/dom/SVGTransformableElement.h"
      12             : 
      13             : class nsSVGClipPathFrame;
      14             : 
      15             : nsresult NS_NewSVGClipPathElement(nsIContent **aResult,
      16             :                                   already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo);
      17             : 
      18             : namespace mozilla {
      19             : namespace dom {
      20             : 
      21             : typedef SVGTransformableElement SVGClipPathElementBase;
      22             : 
      23           0 : class SVGClipPathElement final : public SVGClipPathElementBase
      24             : {
      25             :   friend class ::nsSVGClipPathFrame;
      26             : 
      27             : protected:
      28             :   friend nsresult (::NS_NewSVGClipPathElement(nsIContent **aResult,
      29             :                                               already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo));
      30             :   explicit SVGClipPathElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo);
      31             :   virtual JSObject* WrapNode(JSContext *cx, JS::Handle<JSObject*> aGivenProto) override;
      32             : 
      33             : public:
      34             :   virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult,
      35             :                          bool aPreallocateChildren) const override;
      36             : 
      37             :   // WebIDL
      38             :   already_AddRefed<SVGAnimatedEnumeration> ClipPathUnits();
      39             : 
      40             : protected:
      41             : 
      42             :   enum { CLIPPATHUNITS };
      43             :   nsSVGEnum mEnumAttributes[1];
      44             :   static EnumInfo sEnumInfo[1];
      45             : 
      46             :   virtual EnumAttributesInfo GetEnumInfo() override;
      47             : };
      48             : 
      49             : } // namespace dom
      50             : } // namespace mozilla
      51             : 
      52             : #endif // mozilla_dom_SVGClipPathElement_h

Generated by: LCOV version 1.13