Bumping manifests a=b2g-bump
[gecko.git] / dom / svg / SVGMetadataElement.h
blob9045ef8295ad6512c8bf06f77bdbb7a96b32b5c3
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_SVGMetadataElement_h
7 #define mozilla_dom_SVGMetadataElement_h
9 #include "mozilla/Attributes.h"
10 #include "nsSVGElement.h"
12 nsresult NS_NewSVGMetadataElement(nsIContent **aResult,
13 already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo);
15 typedef nsSVGElement SVGMetadataElementBase;
17 namespace mozilla {
18 namespace dom {
20 class SVGMetadataElement MOZ_FINAL : public SVGMetadataElementBase
22 protected:
23 friend nsresult (::NS_NewSVGMetadataElement(nsIContent **aResult,
24 already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo));
25 explicit SVGMetadataElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo);
27 virtual JSObject* WrapNode(JSContext *aCx) MOZ_OVERRIDE;
28 nsresult Init();
30 public:
31 virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const MOZ_OVERRIDE;
34 } // namespace dom
35 } // namespace mozilla
37 #endif // mozilla_dom_SVGMetadataElement_h