| 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 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 MODULES_EXPORT static void toStringMethodCallback(const v8::FunctionCallbackIn
fo<v8::Value>&); | 90 MODULES_EXPORT static void toStringMethodCallback(const v8::FunctionCallbackIn
fo<v8::Value>&); |
| 91 | 91 |
| 92 MODULES_EXPORT static void namedPropertyGetterCallback(v8::Local<v8::Name>, co
nst v8::PropertyCallbackInfo<v8::Value>&); | 92 MODULES_EXPORT static void namedPropertyGetterCallback(v8::Local<v8::Name>, co
nst 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 namedPropertySetterCallback(v8::Local<v8::Name>, v8
::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&); |
| 94 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>&); |
| 95 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>&); |
| 96 MODULES_EXPORT static void namedPropertyEnumeratorCallback(const v8::PropertyC
allbackInfo<v8::Array>&); | 96 MODULES_EXPORT static void namedPropertyEnumeratorCallback(const v8::PropertyC
allbackInfo<v8::Array>&); |
| 97 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>&); |
| 98 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>&); |
| 99 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>&); |
| 100 MODULES_EXPORT static void indexedPropertyDefinerCallback(uint32_t index, cons
t v8::PropertyDescriptor&, const v8::PropertyCallbackInfo<v8::Value>&); |
| 100 | 101 |
| 101 static void InstallRuntimeEnabledFeaturesOnTemplate( | 102 static void InstallRuntimeEnabledFeaturesOnTemplate( |
| 102 v8::Isolate*, | 103 v8::Isolate*, |
| 103 const DOMWrapperWorld&, | 104 const DOMWrapperWorld&, |
| 104 v8::Local<v8::FunctionTemplate> interface_template); | 105 v8::Local<v8::FunctionTemplate> interface_template); |
| 105 }; | 106 }; |
| 106 | 107 |
| 107 template <> | 108 template <> |
| 108 struct NativeValueTraits<TestInterface5Implementation> : public NativeValueTrait
sBase<TestInterface5Implementation> { | 109 struct NativeValueTraits<TestInterface5Implementation> : public NativeValueTrait
sBase<TestInterface5Implementation> { |
| 109 MODULES_EXPORT static TestInterface5Implementation* NativeValue(v8::Isolate*,
v8::Local<v8::Value>, ExceptionState&); | 110 MODULES_EXPORT static TestInterface5Implementation* NativeValue(v8::Isolate*,
v8::Local<v8::Value>, ExceptionState&); |
| 110 }; | 111 }; |
| 111 | 112 |
| 112 template <> | 113 template <> |
| 113 struct V8TypeOf<TestInterface5Implementation> { | 114 struct V8TypeOf<TestInterface5Implementation> { |
| 114 typedef V8TestInterface5 Type; | 115 typedef V8TestInterface5 Type; |
| 115 }; | 116 }; |
| 116 | 117 |
| 117 } // namespace blink | 118 } // namespace blink |
| 118 | 119 |
| 119 #endif // V8TestInterface5_h | 120 #endif // V8TestInterface5_h |
| OLD | NEW |