OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef V8HTMLConstructor_h | 5 #ifndef V8HTMLConstructor_h |
6 #define V8HTMLConstructor_h | 6 #define V8HTMLConstructor_h |
7 | 7 |
8 #include "bindings/core/v8/WrapperTypeInfo.h" | |
9 #include "core/HTMLElementTypeHelpers.h" | 8 #include "core/HTMLElementTypeHelpers.h" |
| 9 #include "platform/bindings/WrapperTypeInfo.h" |
10 #include "v8/include/v8.h" | 10 #include "v8/include/v8.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 // https://html.spec.whatwg.org/multipage/dom.html#html-element-constructors | 14 // https://html.spec.whatwg.org/multipage/dom.html#html-element-constructors |
15 class CORE_EXPORT V8HTMLConstructor { | 15 class CORE_EXPORT V8HTMLConstructor { |
16 STATIC_ONLY(V8HTMLConstructor) | 16 STATIC_ONLY(V8HTMLConstructor) |
17 | 17 |
18 public: | 18 public: |
19 static void HtmlConstructor(const v8::FunctionCallbackInfo<v8::Value>&, | 19 static void HtmlConstructor(const v8::FunctionCallbackInfo<v8::Value>&, |
20 const WrapperTypeInfo&, | 20 const WrapperTypeInfo&, |
21 const HTMLElementType); | 21 const HTMLElementType); |
22 }; | 22 }; |
23 | 23 |
24 } // namespace blink | 24 } // namespace blink |
25 | 25 |
26 #endif // V8HTMLConstructor_h | 26 #endif // V8HTMLConstructor_h |
OLD | NEW |