| 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. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
| 6 | 6 |
| 7 #ifndef V8TestInterface_h | 7 #ifndef V8TestInterface_h |
| 8 #define V8TestInterface_h | 8 #define V8TestInterface_h |
| 9 | 9 |
| 10 #if ENABLE(CONDITION) | 10 #if ENABLE(CONDITION) |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); | 32 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); |
| 33 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*); | 33 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*); |
| 34 static TestInterfaceImplementation* toImpl(v8::Local<v8::Object> object) | 34 static TestInterfaceImplementation* toImpl(v8::Local<v8::Object> object) |
| 35 { | 35 { |
| 36 return blink::toScriptWrappable(object)->toImpl<TestInterfaceImplementat
ion>(); | 36 return blink::toScriptWrappable(object)->toImpl<TestInterfaceImplementat
ion>(); |
| 37 } | 37 } |
| 38 static TestInterfaceImplementation* toImplWithTypeCheck(v8::Isolate*, v8::Lo
cal<v8::Value>); | 38 static TestInterfaceImplementation* toImplWithTypeCheck(v8::Isolate*, v8::Lo
cal<v8::Value>); |
| 39 static WrapperTypeInfo wrapperTypeInfo; | 39 static WrapperTypeInfo wrapperTypeInfo; |
| 40 static void refObject(ScriptWrappable*); | 40 static void refObject(ScriptWrappable*); |
| 41 static void derefObject(ScriptWrappable*); | 41 static void derefObject(ScriptWrappable*); |
| 42 static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) | 42 template<typename VisitorDispatcher> |
| 43 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl
e) |
| 43 { | 44 { |
| 44 } | 45 } |
| 45 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persis
tent<v8::Object>&); | 46 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persis
tent<v8::Object>&); |
| 46 static ActiveDOMObject* toActiveDOMObject(v8::Local<v8::Object>); | 47 static ActiveDOMObject* toActiveDOMObject(v8::Local<v8::Object>); |
| 47 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbac
kInfo<v8::Value>&); | 48 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbac
kInfo<v8::Value>&); |
| 48 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); | 49 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
| 49 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 50 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
| 50 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*); | 51 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8:
:Isolate*); |
| 51 static void installConditionallyEnabledMethods(v8::Local<v8::Object>, v8::Is
olate*); | 52 static void installConditionallyEnabledMethods(v8::Local<v8::Object>, v8::Is
olate*); |
| 52 static void updateWrapperTypeInfo(InstallTemplateFunction, InstallConditiona
llyEnabledMethodsFunction); | 53 static void updateWrapperTypeInfo(InstallTemplateFunction, InstallConditiona
llyEnabledMethodsFunction); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 77 template<typename CallbackInfo> | 78 template<typename CallbackInfo> |
| 78 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterface
Implementation* impl, const ScriptWrappable*) | 79 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterface
Implementation* impl, const ScriptWrappable*) |
| 79 { | 80 { |
| 80 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackIn
fo.GetIsolate())); | 81 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackIn
fo.GetIsolate())); |
| 81 } | 82 } |
| 82 | 83 |
| 83 } // namespace blink | 84 } // namespace blink |
| 84 #endif // ENABLE(CONDITION) | 85 #endif // ENABLE(CONDITION) |
| 85 | 86 |
| 86 #endif // V8TestInterface_h | 87 #endif // V8TestInterface_h |
| OLD | NEW |