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

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

Issue 823093002: [bindings] Make v8_class::install[v8_class]Template use Local<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
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::Handle<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::Handle<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>&));
57 static void registerStaticPromiseMethodPartialOverloadMethodForPartialInterf ace(void (*)(const v8::FunctionCallbackInfo<v8::Value>&)); 57 static void registerStaticPromiseMethodPartialOverloadMethodForPartialInterf ace(void (*)(const v8::FunctionCallbackInfo<v8::Value>&));
58 static void registerPartial2VoidMethodMethodForPartialInterface(void (*)(con st v8::FunctionCallbackInfo<v8::Value>&)); 58 static void registerPartial2VoidMethodMethodForPartialInterface(void (*)(con st v8::FunctionCallbackInfo<v8::Value>&));
59 static void registerPartial2StaticVoidMethodMethodForPartialInterface(void ( *)(const v8::FunctionCallbackInfo<v8::Value>&)); 59 static void registerPartial2StaticVoidMethodMethodForPartialInterface(void ( *)(const v8::FunctionCallbackInfo<v8::Value>&));
60 60
61 private: 61 private:
62 static InstallTemplateFunction installV8TestInterfaceTemplateFunction; 62 static InstallTemplateFunction installV8TestInterfaceTemplateFunction;
63 }; 63 };
(...skipping 13 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