LCOV - code coverage report
Current view: top level - dom/svg - SVGTextElement.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 5 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 4 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_SVGTextElement_h
       8             : #define mozilla_dom_SVGTextElement_h
       9             : 
      10             : #include "mozilla/dom/SVGTextPositioningElement.h"
      11             : 
      12             : nsresult NS_NewSVGTextElement(nsIContent **aResult,
      13             :                               already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo);
      14             : 
      15             : namespace mozilla {
      16             : namespace dom {
      17             : 
      18             : typedef SVGTextPositioningElement SVGTextElementBase;
      19             : 
      20           0 : class SVGTextElement final : public SVGTextElementBase
      21             : {
      22             : protected:
      23             :   explicit SVGTextElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo);
      24             :   virtual JSObject* WrapNode(JSContext *cx, JS::Handle<JSObject*> aGivenProto) override;
      25             : 
      26             :   friend nsresult (::NS_NewSVGTextElement(nsIContent **aResult,
      27             :                                           already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo));
      28             : 
      29             : public:
      30             :   // nsIContent interface
      31             :   NS_IMETHOD_(bool) IsAttributeMapped(const nsIAtom* aAttribute) const override;
      32             : 
      33             :   virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult,
      34             :                          bool aPreallocateChildren) const override;
      35             : 
      36             : protected:
      37             :   virtual EnumAttributesInfo GetEnumInfo() override;
      38             :   virtual LengthAttributesInfo GetLengthInfo() override;
      39             : 
      40             :   nsSVGEnum mEnumAttributes[1];
      41           0 :   virtual nsSVGEnum* EnumAttributes() override
      42           0 :     { return mEnumAttributes; }
      43             : 
      44             :   nsSVGLength2 mLengthAttributes[1];
      45           0 :   virtual nsSVGLength2* LengthAttributes() override
      46           0 :     { return mLengthAttributes; }
      47             : };
      48             : 
      49             : } // namespace dom
      50             : } // namespace mozilla
      51             : 
      52             : #endif // mozilla_dom_SVGTextElement_h

Generated by: LCOV version 1.13