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 23 matching lines...) Expand all Loading... |
34 { | 34 { |
35 return blink::toScriptWrappableBase(object)->toImpl<TestInterfaceImpleme
ntation>(); | 35 return blink::toScriptWrappableBase(object)->toImpl<TestInterfaceImpleme
ntation>(); |
36 } | 36 } |
37 static TestInterfaceImplementation* toImplWithTypeCheck(v8::Isolate*, v8::Ha
ndle<v8::Value>); | 37 static TestInterfaceImplementation* toImplWithTypeCheck(v8::Isolate*, v8::Ha
ndle<v8::Value>); |
38 static WrapperTypeInfo wrapperTypeInfo; | 38 static WrapperTypeInfo wrapperTypeInfo; |
39 static void refObject(ScriptWrappableBase*); | 39 static void refObject(ScriptWrappableBase*); |
40 static void derefObject(ScriptWrappableBase*); | 40 static void derefObject(ScriptWrappableBase*); |
41 static void trace(Visitor* visitor, ScriptWrappableBase* scriptWrappableBase
) | 41 static void trace(Visitor* visitor, ScriptWrappableBase* scriptWrappableBase
) |
42 { | 42 { |
43 } | 43 } |
44 static void visitDOMWrapper(ScriptWrappableBase*, const v8::Persistent<v8::O
bject>&, v8::Isolate*); | 44 static void visitDOMWrapper(v8::Isolate*, ScriptWrappableBase*, const v8::Pe
rsistent<v8::Object>&); |
45 static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>); | 45 static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>); |
46 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbac
kInfo<v8::Value>&); | 46 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbac
kInfo<v8::Value>&); |
47 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); | 47 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
48 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 48 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
49 static inline ScriptWrappableBase* toScriptWrappableBase(TestInterfaceImplem
entation* impl) | 49 static inline ScriptWrappableBase* toScriptWrappableBase(TestInterfaceImplem
entation* impl) |
50 { | 50 { |
51 return impl->toScriptWrappableBase(); | 51 return impl->toScriptWrappableBase(); |
52 } | 52 } |
53 static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8
::Isolate*); | 53 static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8
::Isolate*); |
54 static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::I
solate*); | 54 static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::I
solate*); |
(...skipping 27 matching lines...) Expand all Loading... |
82 template<typename CallbackInfo> | 82 template<typename CallbackInfo> |
83 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterface
Implementation* impl, const ScriptWrappable*) | 83 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterface
Implementation* impl, const ScriptWrappable*) |
84 { | 84 { |
85 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackIn
fo.GetIsolate())); | 85 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackIn
fo.GetIsolate())); |
86 } | 86 } |
87 | 87 |
88 } // namespace blink | 88 } // namespace blink |
89 #endif // ENABLE(CONDITION) | 89 #endif // ENABLE(CONDITION) |
90 | 90 |
91 #endif // V8TestInterface_h | 91 #endif // V8TestInterface_h |
OLD | NEW |