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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.h

Issue 2653883006: [bindings] Move callback functions from V8FooInternal namespace to V8Foo class (Closed)
Patch Set: Created 3 years, 10 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. 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 30 matching lines...) Expand all
41 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable) { 41 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable) {
42 visitor->trace(scriptWrappable->toImpl<TestInterface5Implementation>()); 42 visitor->trace(scriptWrappable->toImpl<TestInterface5Implementation>());
43 } 43 }
44 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrap pable) { 44 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrap pable) {
45 visitor->traceWrappers(scriptWrappable->toImpl<TestInterface5Implementation> ()); 45 visitor->traceWrappers(scriptWrappable->toImpl<TestInterface5Implementation> ());
46 } 46 }
47 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persiste nt<v8::Object>&); 47 static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persiste nt<v8::Object>&);
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 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 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);
51
52 // Callback functions
53
54 MODULES_EXPORT static void testInterfaceAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
55 MODULES_EXPORT static void testInterfaceAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
56 MODULES_EXPORT static void doubleAttributeAttributeGetterCallback(const v8::Fu nctionCallbackInfo<v8::Value>&);
57 MODULES_EXPORT static void doubleAttributeAttributeSetterCallback(const v8::Fu nctionCallbackInfo<v8::Value>&);
58 MODULES_EXPORT static void floatAttributeAttributeGetterCallback(const v8::Fun ctionCallbackInfo<v8::Value>&);
59 MODULES_EXPORT static void floatAttributeAttributeSetterCallback(const v8::Fun ctionCallbackInfo<v8::Value>&);
60 MODULES_EXPORT static void unrestrictedDoubleAttributeAttributeGetterCallback( const v8::FunctionCallbackInfo<v8::Value>&);
61 MODULES_EXPORT static void unrestrictedDoubleAttributeAttributeSetterCallback( const v8::FunctionCallbackInfo<v8::Value>&);
62 MODULES_EXPORT static void unrestrictedFloatAttributeAttributeGetterCallback(c onst v8::FunctionCallbackInfo<v8::Value>&);
63 MODULES_EXPORT static void unrestrictedFloatAttributeAttributeSetterCallback(c onst v8::FunctionCallbackInfo<v8::Value>&);
64 MODULES_EXPORT static void staticStringAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
65 MODULES_EXPORT static void staticStringAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
66 MODULES_EXPORT static void alwaysExposedAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
67 MODULES_EXPORT static void alwaysExposedAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
68 MODULES_EXPORT static void workerExposedAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
69 MODULES_EXPORT static void workerExposedAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
70 MODULES_EXPORT static void windowExposedAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
71 MODULES_EXPORT static void windowExposedAttributeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>&);
72
73 MODULES_EXPORT static void voidMethodTestInterfaceEmptyArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>&);
74 MODULES_EXPORT static void voidMethodDoubleArgFloatArgMethodCallback(const v8: :FunctionCallbackInfo<v8::Value>&);
75 MODULES_EXPORT static void voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg MethodCallback(const v8::FunctionCallbackInfo<v8::Value>&);
76 MODULES_EXPORT static void voidMethodMethodCallback(const v8::FunctionCallback Info<v8::Value>&);
77 MODULES_EXPORT static void voidMethodMethodCallbackForMainWorld(const v8::Func tionCallbackInfo<v8::Value>&);
78 MODULES_EXPORT static void alwaysExposedMethodMethodCallback(const v8::Functio nCallbackInfo<v8::Value>&);
79 MODULES_EXPORT static void workerExposedMethodMethodCallback(const v8::Functio nCallbackInfo<v8::Value>&);
80 MODULES_EXPORT static void windowExposedMethodMethodCallback(const v8::Functio nCallbackInfo<v8::Value>&);
81 MODULES_EXPORT static void alwaysExposedStaticMethodMethodCallback(const v8::F unctionCallbackInfo<v8::Value>&);
82 MODULES_EXPORT static void workerExposedStaticMethodMethodCallback(const v8::F unctionCallbackInfo<v8::Value>&);
83 MODULES_EXPORT static void windowExposedStaticMethodMethodCallback(const v8::F unctionCallbackInfo<v8::Value>&);
84 MODULES_EXPORT static void windowAndServiceWorkerExposedMethodMethodCallback(c onst v8::FunctionCallbackInfo<v8::Value>&);
85 MODULES_EXPORT static void voidMethodBooleanOrDOMStringArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>&);
86 MODULES_EXPORT static void voidMethodDoubleOrDOMStringArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>&);
87 MODULES_EXPORT static void voidMethodVoidExperimentalCallbackFunctionMethodCal lback(const v8::FunctionCallbackInfo<v8::Value>&);
88 MODULES_EXPORT static void voidMethodVoidCallbackFunctionModulesArgMethodCallb ack(const v8::FunctionCallbackInfo<v8::Value>&);
89 MODULES_EXPORT static void keysMethodCallback(const v8::FunctionCallbackInfo<v 8::Value>&);
90 MODULES_EXPORT static void valuesMethodCallback(const v8::FunctionCallbackInfo <v8::Value>&);
91 MODULES_EXPORT static void entriesMethodCallback(const v8::FunctionCallbackInf o<v8::Value>&);
92 MODULES_EXPORT static void forEachMethodCallback(const v8::FunctionCallbackInf o<v8::Value>&);
93 MODULES_EXPORT static void toStringMethodCallback(const v8::FunctionCallbackIn fo<v8::Value>&);
94 MODULES_EXPORT static void iteratorMethodCallback(const v8::FunctionCallbackIn fo<v8::Value>&);
95
96 MODULES_EXPORT static void namedPropertyGetterCallback(v8::Local<v8::Name>, co nst v8::PropertyCallbackInfo<v8::Value>&);
97 MODULES_EXPORT static void namedPropertySetterCallback(v8::Local<v8::Name>, v8 ::Local<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&);
98 MODULES_EXPORT static void namedPropertyDeleterCallback(v8::Local<v8::Name>, c onst v8::PropertyCallbackInfo<v8::Boolean>&);
99 MODULES_EXPORT static void namedPropertyQueryCallback(v8::Local<v8::Name>, con st v8::PropertyCallbackInfo<v8::Integer>&);
100 MODULES_EXPORT static void namedPropertyEnumeratorCallback(const v8::PropertyC allbackInfo<v8::Array>&);
101 MODULES_EXPORT static void indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>&);
102 MODULES_EXPORT static void indexedPropertySetterCallback(uint32_t index, v8::L ocal<v8::Value>, const v8::PropertyCallbackInfo<v8::Value>&);
103 MODULES_EXPORT static void indexedPropertyDeleterCallback(uint32_t index, cons t v8::PropertyCallbackInfo<v8::Boolean>&);
51 }; 104 };
52 105
53 template <> 106 template <>
54 struct V8TypeOf<TestInterface5Implementation> { 107 struct V8TypeOf<TestInterface5Implementation> {
55 typedef V8TestInterface5 Type; 108 typedef V8TestInterface5 Type;
56 }; 109 };
57 110
58 } // namespace blink 111 } // namespace blink
59 112
60 #endif // V8TestInterface5_h 113 #endif // V8TestInterface5_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698