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/ScriptWrappable.h" | 17 #include "bindings/core/v8/ScriptWrappable.h" |
17 #include "bindings/core/v8/ToV8.h" | 18 #include "bindings/core/v8/ToV8.h" |
18 #include "bindings/core/v8/V8Binding.h" | 19 #include "bindings/core/v8/V8Binding.h" |
19 #include "bindings/core/v8/V8DOMWrapper.h" | 20 #include "bindings/core/v8/V8DOMWrapper.h" |
20 #include "bindings/core/v8/WrapperTypeInfo.h" | 21 #include "bindings/core/v8/WrapperTypeInfo.h" |
21 #include "bindings/tests/idls/core/TestInterface2.h" | 22 #include "bindings/tests/idls/core/TestInterface2.h" |
22 #include "platform/heap/Handle.h" | 23 #include "platform/heap/Handle.h" |
23 | 24 |
24 namespace blink { | 25 namespace blink { |
25 | 26 |
26 class V8TestInterface2Partial { | 27 class V8TestInterface2Partial { |
27 STATIC_ONLY(V8TestInterface2Partial); | 28 STATIC_ONLY(V8TestInterface2Partial); |
28 public: | 29 public: |
29 static void initialize(); | 30 static void initialize(); |
30 | 31 |
31 // Callback functions | 32 // Callback functions |
32 | 33 |
33 static void voidMethodPartial1MethodCallback(const v8::FunctionCallbackInfo<v8
::Value>& info); | 34 static void voidMethodPartial1MethodCallback(const v8::FunctionCallbackInfo<v8
::Value>& info); |
34 static void voidMethodPartial2MethodCallback(const v8::FunctionCallbackInfo<v8
::Value>& info); | 35 static void voidMethodPartial2MethodCallback(const v8::FunctionCallbackInfo<v8
::Value>& info); |
35 | 36 |
36 private: | 37 private: |
37 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); |
38 }; | 39 }; |
39 | 40 |
40 } // namespace blink | 41 } // namespace blink |
41 | 42 |
42 #endif // V8TestInterface2Partial_h | 43 #endif // V8TestInterface2Partial_h |
OLD | NEW |