| 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 25 matching lines...) Expand all Loading... |
| 36 return toScriptWrappable(object)->toImpl<TestInterface5Implementation>(); | 36 return toScriptWrappable(object)->toImpl<TestInterface5Implementation>(); |
| 37 } | 37 } |
| 38 MODULES_EXPORT static TestInterface5Implementation* toImplWithTypeCheck(v8::Is
olate*, v8::Local<v8::Value>); | 38 MODULES_EXPORT static TestInterface5Implementation* toImplWithTypeCheck(v8::Is
olate*, v8::Local<v8::Value>); |
| 39 MODULES_EXPORT static const WrapperTypeInfo wrapperTypeInfo; | 39 MODULES_EXPORT static const WrapperTypeInfo wrapperTypeInfo; |
| 40 static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) { | 40 static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) { |
| 41 visitor->trace(scriptWrappable->toImpl<TestInterface5Implementation>()); | 41 visitor->trace(scriptWrappable->toImpl<TestInterface5Implementation>()); |
| 42 } | 42 } |
| 43 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrap
pable) { | 43 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrap
pable) { |
| 44 visitor->traceWrappers(scriptWrappable->toImpl<TestInterface5Implementation>
()); | 44 visitor->traceWrappers(scriptWrappable->toImpl<TestInterface5Implementation>
()); |
| 45 } | 45 } |
| 46 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persiste
nt<v8::Object>&); | |
| 47 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); | 46 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
| 48 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; | 47 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; |
| 49 MODULES_EXPORT static void preparePrototypeAndInterfaceObject(v8::Local<v8::Co
ntext>, const DOMWrapperWorld&, v8::Local<v8::Object> prototypeObject, v8::Local
<v8::Function> interfaceObject, v8::Local<v8::FunctionTemplate> interfaceTemplat
e); | 48 MODULES_EXPORT static void preparePrototypeAndInterfaceObject(v8::Local<v8::Co
ntext>, const DOMWrapperWorld&, v8::Local<v8::Object> prototypeObject, v8::Local
<v8::Function> interfaceObject, v8::Local<v8::FunctionTemplate> interfaceTemplat
e); |
| 50 | 49 |
| 51 // Callback functions | 50 // Callback functions |
| 52 | 51 |
| 53 MODULES_EXPORT static void testInterfaceAttributeAttributeGetterCallback(const
v8::FunctionCallbackInfo<v8::Value>&); | 52 MODULES_EXPORT static void testInterfaceAttributeAttributeGetterCallback(const
v8::FunctionCallbackInfo<v8::Value>&); |
| 54 MODULES_EXPORT static void testInterfaceAttributeAttributeSetterCallback(const
v8::FunctionCallbackInfo<v8::Value>&); | 53 MODULES_EXPORT static void testInterfaceAttributeAttributeSetterCallback(const
v8::FunctionCallbackInfo<v8::Value>&); |
| 55 MODULES_EXPORT static void doubleAttributeAttributeGetterCallback(const v8::Fu
nctionCallbackInfo<v8::Value>&); | 54 MODULES_EXPORT static void doubleAttributeAttributeGetterCallback(const v8::Fu
nctionCallbackInfo<v8::Value>&); |
| 56 MODULES_EXPORT static void doubleAttributeAttributeSetterCallback(const v8::Fu
nctionCallbackInfo<v8::Value>&); | 55 MODULES_EXPORT static void doubleAttributeAttributeSetterCallback(const v8::Fu
nctionCallbackInfo<v8::Value>&); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 }; | 102 }; |
| 104 | 103 |
| 105 template <> | 104 template <> |
| 106 struct V8TypeOf<TestInterface5Implementation> { | 105 struct V8TypeOf<TestInterface5Implementation> { |
| 107 typedef V8TestInterface5 Type; | 106 typedef V8TestInterface5 Type; |
| 108 }; | 107 }; |
| 109 | 108 |
| 110 } // namespace blink | 109 } // namespace blink |
| 111 | 110 |
| 112 #endif // V8TestInterface5_h | 111 #endif // V8TestInterface5_h |
| OLD | NEW |