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 V8TestInterface5_h | 12 #ifndef V8TestInterface5_h |
13 #define V8TestInterface5_h | 13 #define V8TestInterface5_h |
14 | 14 |
15 #include "bindings/core/v8/DoubleOrString.h" | 15 #include "bindings/core/v8/DoubleOrString.h" |
16 #include "bindings/core/v8/GeneratedCodeHelper.h" | 16 #include "bindings/core/v8/GeneratedCodeHelper.h" |
| 17 #include "bindings/core/v8/NativeValueTraits.h" |
17 #include "bindings/core/v8/ScriptWrappable.h" | 18 #include "bindings/core/v8/ScriptWrappable.h" |
18 #include "bindings/core/v8/ToV8.h" | 19 #include "bindings/core/v8/ToV8.h" |
19 #include "bindings/core/v8/V8Binding.h" | 20 #include "bindings/core/v8/V8Binding.h" |
20 #include "bindings/core/v8/V8DOMWrapper.h" | 21 #include "bindings/core/v8/V8DOMWrapper.h" |
21 #include "bindings/core/v8/V8TestInterfaceEmpty.h" | 22 #include "bindings/core/v8/V8TestInterfaceEmpty.h" |
22 #include "bindings/core/v8/WrapperTypeInfo.h" | 23 #include "bindings/core/v8/WrapperTypeInfo.h" |
23 #include "bindings/modules/v8/BooleanOrString.h" | 24 #include "bindings/modules/v8/BooleanOrString.h" |
24 #include "bindings/tests/idls/modules/TestInterface5Implementation.h" | 25 #include "bindings/tests/idls/modules/TestInterface5Implementation.h" |
25 #include "modules/ModulesExport.h" | 26 #include "modules/ModulesExport.h" |
26 #include "platform/heap/Handle.h" | 27 #include "platform/heap/Handle.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 MODULES_EXPORT static void namedPropertySetterCallback(v8::Local<v8::Name>, v8
::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&); | 93 MODULES_EXPORT static void namedPropertySetterCallback(v8::Local<v8::Name>, v8
::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&); |
93 MODULES_EXPORT static void namedPropertyDeleterCallback(v8::Local<v8::Name>, c
onst v8::PropertyCallbackInfo<v8::Boolean>&); | 94 MODULES_EXPORT static void namedPropertyDeleterCallback(v8::Local<v8::Name>, c
onst v8::PropertyCallbackInfo<v8::Boolean>&); |
94 MODULES_EXPORT static void namedPropertyQueryCallback(v8::Local<v8::Name>, con
st v8::PropertyCallbackInfo<v8::Integer>&); | 95 MODULES_EXPORT static void namedPropertyQueryCallback(v8::Local<v8::Name>, con
st v8::PropertyCallbackInfo<v8::Integer>&); |
95 MODULES_EXPORT static void namedPropertyEnumeratorCallback(const v8::PropertyC
allbackInfo<v8::Array>&); | 96 MODULES_EXPORT static void namedPropertyEnumeratorCallback(const v8::PropertyC
allbackInfo<v8::Array>&); |
96 MODULES_EXPORT static void indexedPropertyGetterCallback(uint32_t index, const
v8::PropertyCallbackInfo<v8::Value>&); | 97 MODULES_EXPORT static void indexedPropertyGetterCallback(uint32_t index, const
v8::PropertyCallbackInfo<v8::Value>&); |
97 MODULES_EXPORT static void indexedPropertySetterCallback(uint32_t index, v8::L
ocal<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&); | 98 MODULES_EXPORT static void indexedPropertySetterCallback(uint32_t index, v8::L
ocal<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&); |
98 MODULES_EXPORT static void indexedPropertyDeleterCallback(uint32_t index, cons
t v8::PropertyCallbackInfo<v8::Boolean>&); | 99 MODULES_EXPORT static void indexedPropertyDeleterCallback(uint32_t index, cons
t v8::PropertyCallbackInfo<v8::Boolean>&); |
99 }; | 100 }; |
100 | 101 |
101 template <> | 102 template <> |
| 103 struct NativeValueTraits<TestInterface5Implementation> : public NativeValueTrait
sBase<TestInterface5Implementation> { |
| 104 MODULES_EXPORT static TestInterface5Implementation* nativeValue(v8::Isolate*,
v8::Local<v8::Value>, ExceptionState&); |
| 105 }; |
| 106 |
| 107 template <> |
102 struct V8TypeOf<TestInterface5Implementation> { | 108 struct V8TypeOf<TestInterface5Implementation> { |
103 typedef V8TestInterface5 Type; | 109 typedef V8TestInterface5 Type; |
104 }; | 110 }; |
105 | 111 |
106 } // namespace blink | 112 } // namespace blink |
107 | 113 |
108 #endif // V8TestInterface5_h | 114 #endif // V8TestInterface5_h |
OLD | NEW |