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 // This file has been auto-generated by code_generator_v8.py. | 5 // This file has been auto-generated by code_generator_v8.py. |
6 // DO NOT MODIFY! | 6 // DO NOT MODIFY! |
7 | 7 |
8 // This file has been generated from the Jinja2 template in | 8 // This file has been generated from the Jinja2 template in |
9 // third_party/WebKit/Source/bindings/templates/interface.h.tmpl | 9 // third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
10 | 10 |
11 // clang-format off | 11 // clang-format off |
12 #ifndef V8TestInterface_h | 12 #ifndef V8TestInterface_h |
13 #define V8TestInterface_h | 13 #define V8TestInterface_h |
14 | 14 |
15 #include "bindings/core/v8/GeneratedCodeHelper.h" | 15 #include "bindings/core/v8/GeneratedCodeHelper.h" |
16 #include "bindings/core/v8/NativeValueTraits.h" | 16 #include "bindings/core/v8/NativeValueTraits.h" |
17 #include "bindings/core/v8/StringOrDouble.h" | 17 #include "bindings/core/v8/StringOrDouble.h" |
18 #include "bindings/core/v8/ToV8ForCore.h" | 18 #include "bindings/core/v8/ToV8ForCore.h" |
19 #include "bindings/core/v8/V8BindingForCore.h" | 19 #include "bindings/core/v8/V8BindingForCore.h" |
20 #include "bindings/core/v8/V8TestInterfaceEmpty.h" | 20 #include "bindings/core/v8/V8TestInterfaceEmpty.h" |
21 #include "bindings/core/v8/WrapperTypeInfo.h" | |
22 #include "bindings/tests/idls/core/TestInterfaceImplementation.h" | 21 #include "bindings/tests/idls/core/TestInterfaceImplementation.h" |
23 #include "core/CoreExport.h" | 22 #include "core/CoreExport.h" |
24 #include "platform/bindings/ScriptWrappable.h" | 23 #include "platform/bindings/ScriptWrappable.h" |
25 #include "platform/bindings/V8DOMWrapper.h" | 24 #include "platform/bindings/V8DOMWrapper.h" |
| 25 #include "platform/bindings/WrapperTypeInfo.h" |
26 #include "platform/heap/Handle.h" | 26 #include "platform/heap/Handle.h" |
27 | 27 |
28 namespace blink { | 28 namespace blink { |
29 | 29 |
30 class V8TestInterface { | 30 class V8TestInterface { |
31 STATIC_ONLY(V8TestInterface); | 31 STATIC_ONLY(V8TestInterface); |
32 public: | 32 public: |
33 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); | 33 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
34 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>
, v8::Isolate*); | 34 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>
, v8::Isolate*); |
35 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c
onst DOMWrapperWorld&); | 35 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c
onst DOMWrapperWorld&); |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 }; | 231 }; |
232 | 232 |
233 template <> | 233 template <> |
234 struct V8TypeOf<TestInterfaceImplementation> { | 234 struct V8TypeOf<TestInterfaceImplementation> { |
235 typedef V8TestInterface Type; | 235 typedef V8TestInterface Type; |
236 }; | 236 }; |
237 | 237 |
238 } // namespace blink | 238 } // namespace blink |
239 | 239 |
240 #endif // V8TestInterface_h | 240 #endif // V8TestInterface_h |
OLD | NEW |