LCOV - code coverage report
Current view: top level - dom/svg - SVGStopElement.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_SVGStopElement_h
       8             : #define mozilla_dom_SVGStopElement_h
       9             : 
      10             : #include "nsSVGElement.h"
      11             : #include "nsSVGNumber2.h"
      12             : 
      13             : nsresult NS_NewSVGStopElement(nsIContent **aResult,
      14             :                               already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo);
      15             : 
      16             : typedef nsSVGElement SVGStopElementBase;
      17             : 
      18             : namespace mozilla {
      19             : namespace dom {
      20             : 
      21           0 : class SVGStopElement final : public SVGStopElementBase
      22             : {
      23             : protected:
      24             :   friend nsresult (::NS_NewSVGStopElement(nsIContent **aResult,
      25             :                                           already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo));
      26             :   explicit SVGStopElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo);
      27             :   virtual JSObject* WrapNode(JSContext *aCx, JS::Handle<JSObject*> aGivenProto) override;
      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             :   // WebIDL
      37             :   already_AddRefed<SVGAnimatedNumber> Offset();
      38             : 
      39             : protected:
      40             : 
      41             :   virtual NumberAttributesInfo GetNumberInfo() override;
      42             :   nsSVGNumber2 mOffset;
      43             :   static NumberInfo sNumberInfo;
      44             : };
      45             : 
      46             : } // namespace dom
      47             : } // namespace mozilla
      48             : 
      49             : #endif // mozilla_dom_SVGStopElement_h

Generated by: LCOV version 1.13