Line data Source code
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 0 : NS_IMPL_NS_NEW_HTML_ELEMENT(Time)
14 :
15 : namespace mozilla {
16 : namespace dom {
17 :
18 0 : HTMLTimeElement::HTMLTimeElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo)
19 0 : : nsGenericHTMLElement(aNodeInfo)
20 : {
21 0 : }
22 :
23 0 : HTMLTimeElement::~HTMLTimeElement()
24 : {
25 0 : }
26 :
27 0 : NS_IMPL_ELEMENT_CLONE(HTMLTimeElement)
28 :
29 : JSObject*
30 0 : HTMLTimeElement::WrapNode(JSContext* cx, JS::Handle<JSObject*> aGivenProto)
31 : {
32 0 : return HTMLTimeElementBinding::Wrap(cx, this, aGivenProto);
33 : }
34 :
35 : } // namespace dom
36 : } // namespace mozilla
|