Bumping manifests a=b2g-bump
[gecko.git] / dom / svg / SVGGElement.h
blob66dc376dcaaadfa685a54dba483740290aed9381
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);
14 namespace mozilla {
15 namespace dom {
17 class SVGGElement MOZ_FINAL : public SVGGraphicsElement
19 protected:
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));
25 public:
26 // nsIContent
27 NS_IMETHOD_(bool) IsAttributeMapped(const nsIAtom* aAttribute) const MOZ_OVERRIDE;
29 virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE;
32 } // namespace dom
33 } // namespace mozilla
35 #endif // mozilla_dom_SVGGElement_h