/work/obj-fuzz/dist/include/mozilla/dom/HTMLSpanElement.h
Line | Count | Source (jump to first uncovered line) |
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_HTMLSpanElement_h |
8 | | #define mozilla_dom_HTMLSpanElement_h |
9 | | |
10 | | #include "mozilla/Attributes.h" |
11 | | #include "nsGenericHTMLElement.h" |
12 | | #include "nsGkAtoms.h" |
13 | | #include "nsStyleConsts.h" |
14 | | #include "nsAtom.h" |
15 | | |
16 | | namespace mozilla { |
17 | | namespace dom { |
18 | | |
19 | | class HTMLSpanElement final : public nsGenericHTMLElement |
20 | | { |
21 | | public: |
22 | | explicit HTMLSpanElement(already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo) |
23 | | : nsGenericHTMLElement(std::move(aNodeInfo)) |
24 | 0 | { |
25 | 0 | } |
26 | | |
27 | | virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override; |
28 | | |
29 | | protected: |
30 | | virtual ~HTMLSpanElement(); |
31 | | |
32 | | virtual JSObject* WrapNode(JSContext *aCx, JS::Handle<JSObject*> aGivenProto) override; |
33 | | }; |
34 | | |
35 | | } // namespace dom |
36 | | } // namespace mozilla |
37 | | |
38 | | #endif // mozilla_dom_HTMLSpanElement_h |