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/partial_interface.h.tmpl | 9 // third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl |
10 | 10 |
11 // clang-format off | 11 // clang-format off |
12 #ifndef V8TestInterface2Partial_h | 12 #ifndef V8TestInterface2Partial_h |
13 #define V8TestInterface2Partial_h | 13 #define V8TestInterface2Partial_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/ToV8ForCore.h" | 17 #include "bindings/core/v8/ToV8ForCore.h" |
18 #include "bindings/core/v8/V8BindingForCore.h" | 18 #include "bindings/core/v8/V8BindingForCore.h" |
19 #include "bindings/core/v8/WrapperTypeInfo.h" | |
20 #include "bindings/tests/idls/core/TestInterface2.h" | 19 #include "bindings/tests/idls/core/TestInterface2.h" |
21 #include "platform/bindings/ScriptWrappable.h" | 20 #include "platform/bindings/ScriptWrappable.h" |
22 #include "platform/bindings/V8DOMWrapper.h" | 21 #include "platform/bindings/V8DOMWrapper.h" |
| 22 #include "platform/bindings/WrapperTypeInfo.h" |
23 #include "platform/heap/Handle.h" | 23 #include "platform/heap/Handle.h" |
24 | 24 |
25 namespace blink { | 25 namespace blink { |
26 | 26 |
27 class V8TestInterface2Partial { | 27 class V8TestInterface2Partial { |
28 STATIC_ONLY(V8TestInterface2Partial); | 28 STATIC_ONLY(V8TestInterface2Partial); |
29 public: | 29 public: |
30 static void initialize(); | 30 static void initialize(); |
31 | 31 |
32 // Callback functions | 32 // Callback functions |
33 | 33 |
34 static void voidMethodPartial1MethodCallback(const v8::FunctionCallbackInfo<v8
::Value>& info); | 34 static void voidMethodPartial1MethodCallback(const v8::FunctionCallbackInfo<v8
::Value>& info); |
35 static void voidMethodPartial2MethodCallback(const v8::FunctionCallbackInfo<v8
::Value>& info); | 35 static void voidMethodPartial2MethodCallback(const v8::FunctionCallbackInfo<v8
::Value>& info); |
36 | 36 |
37 private: | 37 private: |
38 static void installV8TestInterface2Template(v8::Isolate*, const DOMWrapperWorl
d&, v8::Local<v8::FunctionTemplate> interfaceTemplate); | 38 static void installV8TestInterface2Template(v8::Isolate*, const DOMWrapperWorl
d&, v8::Local<v8::FunctionTemplate> interfaceTemplate); |
39 }; | 39 }; |
40 | 40 |
41 } // namespace blink | 41 } // namespace blink |
42 | 42 |
43 #endif // V8TestInterface2Partial_h | 43 #endif // V8TestInterface2Partial_h |
OLD | NEW |