LCOV - code coverage report
Current view: top level - dom/svg - SVGFEMergeNodeElement.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_SVGFEMergeNodeElement_h
       8             : #define mozilla_dom_SVGFEMergeNodeElement_h
       9             : 
      10             : #include "nsSVGFilters.h"
      11             : 
      12             : nsresult NS_NewSVGFEMergeNodeElement(nsIContent** aResult,
      13             :                                      already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo);
      14             : 
      15             : namespace mozilla {
      16             : namespace dom {
      17             : 
      18             : typedef SVGFEUnstyledElement SVGFEMergeNodeElementBase;
      19             : 
      20           0 : class SVGFEMergeNodeElement : public SVGFEMergeNodeElementBase
      21             : {
      22             :   friend nsresult (::NS_NewSVGFEMergeNodeElement(nsIContent **aResult,
      23             :                                                  already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo));
      24             : protected:
      25           0 :   explicit SVGFEMergeNodeElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo)
      26           0 :     : SVGFEMergeNodeElementBase(aNodeInfo)
      27             :   {
      28           0 :   }
      29             :   virtual JSObject* WrapNode(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
      30             : 
      31             : public:
      32             :   virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult,
      33             :                          bool aPreallocateChildren) const override;
      34             : 
      35             :   virtual bool AttributeAffectsRendering(
      36             :           int32_t aNameSpaceID, nsIAtom* aAttribute) const override;
      37             : 
      38           0 :   const nsSVGString* GetIn1() { return &mStringAttributes[IN1]; }
      39             : 
      40             :   // WebIDL
      41             :   already_AddRefed<SVGAnimatedString> In1();
      42             : 
      43             : protected:
      44             :   virtual StringAttributesInfo GetStringInfo() override;
      45             : 
      46             :   enum { IN1 };
      47             :   nsSVGString mStringAttributes[1];
      48             :   static StringInfo sStringInfo[1];
      49             : };
      50             : 
      51             : } // namespace dom
      52             : } // namespace mozilla
      53             : 
      54             : #endif // mozilla_dom_SVGFEMergeNodeElement_h

Generated by: LCOV version 1.13