Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterface.h

Issue 813513004: [bindings] Remove all the usages of Handle<> from binding templates. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 10 matching lines...) Expand all
21 21
22 class V8TestInterface { 22 class V8TestInterface {
23 public: 23 public:
24 class PrivateScript { 24 class PrivateScript {
25 public: 25 public:
26 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethod (LocalFrame* frame, TestInterface* holderImpl, int value, int* result); 26 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethod (LocalFrame* frame, TestInterface* holderImpl, int value, int* result);
27 static bool stringAttributeAttributeGetter(LocalFrame* frame, TestInterf aceImplementation* holderImpl, String* result); 27 static bool stringAttributeAttributeGetter(LocalFrame* frame, TestInterf aceImplementation* holderImpl, String* result);
28 static bool stringAttributeAttributeSetter(LocalFrame* frame, TestInterf aceImplementation* holderImpl, String cppValue); 28 static bool stringAttributeAttributeSetter(LocalFrame* frame, TestInterf aceImplementation* holderImpl, String cppValue);
29 }; 29 };
30 30
31 static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*); 31 static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*);
32 static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Va lue>, 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::Handle<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::Ha ndle<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 static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable)
43 { 43 {
44 } 44 }
45 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persis tent<v8::Object>&); 45 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persis tent<v8::Object>&);
46 static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>); 46 static ActiveDOMObject* toActiveDOMObject(v8::Local<v8::Object>);
47 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbac kInfo<v8::Value>&); 47 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbac kInfo<v8::Value>&);
48 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); 48 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&);
49 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ; 49 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ;
50 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8: :Isolate*); 50 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8: :Isolate*);
51 static void installConditionallyEnabledMethods(v8::Local<v8::Object>, v8::Is olate*); 51 static void installConditionallyEnabledMethods(v8::Local<v8::Object>, v8::Is olate*);
52 static void updateWrapperTypeInfo(InstallTemplateFunction, InstallConditiona llyEnabledMethodsFunction); 52 static void updateWrapperTypeInfo(InstallTemplateFunction, InstallConditiona llyEnabledMethodsFunction);
53 static void installV8TestInterfaceTemplate(v8::Local<v8::FunctionTemplate>, v8::Isolate*); 53 static void installV8TestInterfaceTemplate(v8::Local<v8::FunctionTemplate>, v8::Isolate*);
54 static void registerVoidMethodPartialOverloadMethodForPartialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); 54 static void registerVoidMethodPartialOverloadMethodForPartialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&));
55 static void registerStaticVoidMethodPartialOverloadMethodForPartialInterface (void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); 55 static void registerStaticVoidMethodPartialOverloadMethodForPartialInterface (void (*)(const v8::FunctionCallbackInfo<v8::Value>&));
56 static void registerPromiseMethodPartialOverloadMethodForPartialInterface(vo id (*)(const v8::FunctionCallbackInfo<v8::Value>&)); 56 static void registerPromiseMethodPartialOverloadMethodForPartialInterface(vo id (*)(const v8::FunctionCallbackInfo<v8::Value>&));
(...skipping 20 matching lines...) Expand all
77 template<typename CallbackInfo> 77 template<typename CallbackInfo>
78 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterface Implementation* impl, const ScriptWrappable*) 78 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterface Implementation* impl, const ScriptWrappable*)
79 { 79 {
80 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackIn fo.GetIsolate())); 80 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackIn fo.GetIsolate()));
81 } 81 }
82 82
83 } // namespace blink 83 } // namespace blink
84 #endif // ENABLE(CONDITION) 84 #endif // ENABLE(CONDITION)
85 85
86 #endif // V8TestInterface_h 86 #endif // V8TestInterface_h
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8TestException.cpp ('k') | Source/bindings/tests/results/core/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698