1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef mozilla_dom_SVGGElement_h
7 #define mozilla_dom_SVGGElement_h
9 #include "mozilla/dom/SVGGraphicsElement.h"
11 nsresult
NS_NewSVGGElement(nsIContent
**aResult
,
12 already_AddRefed
<mozilla::dom::NodeInfo
>&& aNodeInfo
);
17 class SVGGElement MOZ_FINAL
: public SVGGraphicsElement
20 explicit SVGGElement(already_AddRefed
<mozilla::dom::NodeInfo
>& aNodeInfo
);
21 virtual JSObject
* WrapNode(JSContext
*cx
) MOZ_OVERRIDE
;
22 friend nsresult (::NS_NewSVGGElement(nsIContent
**aResult
,
23 already_AddRefed
<mozilla::dom::NodeInfo
>&& aNodeInfo
));
27 NS_IMETHOD_(bool) IsAttributeMapped(const nsIAtom
* aAttribute
) const MOZ_OVERRIDE
;
29 virtual nsresult
Clone(mozilla::dom::NodeInfo
*aNodeInfo
, nsINode
**aResult
) const MOZ_OVERRIDE
;
33 } // namespace mozilla
35 #endif // mozilla_dom_SVGGElement_h