/src/mozilla-central/dom/html/HTMLTimeElement.cpp
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 | | #include "HTMLTimeElement.h" |
8 | | #include "mozilla/dom/HTMLTimeElementBinding.h" |
9 | | #include "nsGenericHTMLElement.h" |
10 | | #include "nsVariant.h" |
11 | | #include "nsGkAtoms.h" |
12 | | |
13 | | NS_IMPL_NS_NEW_HTML_ELEMENT(Time) |
14 | | |
15 | | namespace mozilla { |
16 | | namespace dom { |
17 | | |
18 | | HTMLTimeElement::HTMLTimeElement(already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo) |
19 | | : nsGenericHTMLElement(std::move(aNodeInfo)) |
20 | 0 | { |
21 | 0 | } |
22 | | |
23 | | HTMLTimeElement::~HTMLTimeElement() |
24 | 0 | { |
25 | 0 | } |
26 | | |
27 | | NS_IMPL_ELEMENT_CLONE(HTMLTimeElement) |
28 | | |
29 | | JSObject* |
30 | | HTMLTimeElement::WrapNode(JSContext* cx, JS::Handle<JSObject*> aGivenProto) |
31 | 0 | { |
32 | 0 | return HTMLTimeElement_Binding::Wrap(cx, this, aGivenProto); |
33 | 0 | } |
34 | | |
35 | | } // namespace dom |
36 | | } // namespace mozilla |