OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "sky/engine/config.h" | |
6 #include "sky/engine/core/html/HTMLTElement.h" | 5 #include "sky/engine/core/html/HTMLTElement.h" |
7 | 6 |
8 #include "gen/sky/core/HTMLNames.h" | 7 #include "gen/sky/core/HTMLNames.h" |
9 #include "sky/engine/core/dom/Document.h" | 8 #include "sky/engine/core/dom/Document.h" |
10 | 9 |
11 namespace blink { | 10 namespace blink { |
12 | 11 |
13 HTMLTElement::HTMLTElement(Document& document) | 12 HTMLTElement::HTMLTElement(Document& document) |
14 : HTMLElement(HTMLNames::tTag, document) | 13 : HTMLElement(HTMLNames::tTag, document) |
15 { | 14 { |
16 } | 15 } |
17 | 16 |
18 HTMLTElement::~HTMLTElement() | 17 HTMLTElement::~HTMLTElement() |
19 { | 18 { |
20 } | 19 } |
21 | 20 |
22 PassRefPtr<HTMLTElement> HTMLTElement::create(Document& document) | 21 PassRefPtr<HTMLTElement> HTMLTElement::create(Document& document) |
23 { | 22 { |
24 return adoptRef(new HTMLTElement(document)); | 23 return adoptRef(new HTMLTElement(document)); |
25 } | 24 } |
26 | 25 |
27 } | 26 } |
OLD | NEW |