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 #include "V8TestInterfacePartial.h" | 7 #include "V8TestInterfacePartial.h" |
8 | 8 |
9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
| 10 #include "bindings/core/v8/GeneratedCodeHelper.h" |
10 #include "bindings/core/v8/PrivateScriptRunner.h" | 11 #include "bindings/core/v8/PrivateScriptRunner.h" |
11 #include "bindings/core/v8/ScriptPromise.h" | 12 #include "bindings/core/v8/ScriptPromise.h" |
12 #include "bindings/core/v8/ScriptState.h" | 13 #include "bindings/core/v8/ScriptState.h" |
13 #include "bindings/core/v8/V8DOMConfiguration.h" | 14 #include "bindings/core/v8/V8DOMConfiguration.h" |
14 #include "bindings/core/v8/V8Document.h" | 15 #include "bindings/core/v8/V8Document.h" |
15 #include "bindings/core/v8/V8Node.h" | 16 #include "bindings/core/v8/V8Node.h" |
16 #include "bindings/core/v8/V8ObjectConstructor.h" | 17 #include "bindings/core/v8/V8ObjectConstructor.h" |
17 #include "bindings/core/v8/V8TestInterface.h" | 18 #include "bindings/core/v8/V8TestInterface.h" |
18 #include "bindings/tests/idls/modules/TestInterfacePartial3Implementation.h" | 19 #include "bindings/tests/idls/modules/TestInterfacePartial3Implementation.h" |
19 #include "bindings/tests/idls/modules/TestInterfacePartial4.h" | 20 #include "bindings/tests/idls/modules/TestInterfacePartial4.h" |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 81 |
81 void partial4StaticLongAttributeAttributeSetterCallback(const v8::FunctionCallba
ckInfo<v8::Value>& info) | 82 void partial4StaticLongAttributeAttributeSetterCallback(const v8::FunctionCallba
ckInfo<v8::Value>& info) |
82 { | 83 { |
83 v8::Local<v8::Value> v8Value = info[0]; | 84 v8::Local<v8::Value> v8Value = info[0]; |
84 TestInterfaceImplementationPartialV8Internal::partial4StaticLongAttributeAtt
ributeSetter(v8Value, info); | 85 TestInterfaceImplementationPartialV8Internal::partial4StaticLongAttributeAtt
ributeSetter(v8Value, info); |
85 } | 86 } |
86 | 87 |
87 static void voidMethodPartialOverload3Method(const v8::FunctionCallbackInfo<v8::
Value>& info) | 88 static void voidMethodPartialOverload3Method(const v8::FunctionCallbackInfo<v8::
Value>& info) |
88 { | 89 { |
89 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); | 90 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); |
| 91 |
90 V8StringResource<> value; | 92 V8StringResource<> value; |
91 { | 93 value = info[0]; |
92 value = info[0]; | 94 if (!value.prepare()) |
93 if (!value.prepare()) | 95 return; |
94 return; | 96 |
95 } | |
96 TestInterfacePartial3Implementation::voidMethodPartialOverload(*impl, value)
; | 97 TestInterfacePartial3Implementation::voidMethodPartialOverload(*impl, value)
; |
97 } | 98 } |
98 | 99 |
99 static void voidMethodPartialOverloadMethod(const v8::FunctionCallbackInfo<v8::V
alue>& info) | 100 static void voidMethodPartialOverloadMethod(const v8::FunctionCallbackInfo<v8::V
alue>& info) |
100 { | 101 { |
101 ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodP
artialOverload", "TestInterface", info.Holder(), info.GetIsolate()); | 102 bool isArityError = false; |
102 switch (std::min(1, info.Length())) { | 103 switch (std::min(1, info.Length())) { |
103 case 0: | 104 case 0: |
104 break; | 105 break; |
105 case 1: | 106 case 1: |
106 if (true) { | 107 if (true) { |
107 voidMethodPartialOverload3Method(info); | 108 voidMethodPartialOverload3Method(info); |
108 return; | 109 return; |
109 } | 110 } |
110 break; | 111 break; |
111 default: | 112 default: |
112 break; | 113 isArityError = true; |
| 114 } |
| 115 |
| 116 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo
ntext, "TestInterface", "voidMethodPartialOverload"); |
| 117 |
| 118 if (isArityError) { |
113 } | 119 } |
114 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); | 120 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
115 return; | |
116 } | 121 } |
117 | 122 |
118 static void staticVoidMethodPartialOverload2Method(const v8::FunctionCallbackInf
o<v8::Value>& info) | 123 static void staticVoidMethodPartialOverload2Method(const v8::FunctionCallbackInf
o<v8::Value>& info) |
119 { | 124 { |
120 V8StringResource<> value; | 125 V8StringResource<> value; |
121 { | 126 value = info[0]; |
122 value = info[0]; | 127 if (!value.prepare()) |
123 if (!value.prepare()) | 128 return; |
124 return; | 129 |
125 } | |
126 TestInterfacePartial3Implementation::staticVoidMethodPartialOverload(value); | 130 TestInterfacePartial3Implementation::staticVoidMethodPartialOverload(value); |
127 } | 131 } |
128 | 132 |
129 static void staticVoidMethodPartialOverloadMethod(const v8::FunctionCallbackInfo
<v8::Value>& info) | 133 static void staticVoidMethodPartialOverloadMethod(const v8::FunctionCallbackInfo
<v8::Value>& info) |
130 { | 134 { |
131 ExceptionState exceptionState(ExceptionState::ExecutionContext, "staticVoidM
ethodPartialOverload", "TestInterface", info.Holder(), info.GetIsolate()); | 135 bool isArityError = false; |
132 switch (std::min(1, info.Length())) { | 136 switch (std::min(1, info.Length())) { |
133 case 0: | 137 case 0: |
134 break; | 138 break; |
135 case 1: | 139 case 1: |
136 if (true) { | 140 if (true) { |
137 staticVoidMethodPartialOverload2Method(info); | 141 staticVoidMethodPartialOverload2Method(info); |
138 return; | 142 return; |
139 } | 143 } |
140 break; | 144 break; |
141 default: | 145 default: |
142 break; | 146 isArityError = true; |
| 147 } |
| 148 |
| 149 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo
ntext, "TestInterface", "staticVoidMethodPartialOverload"); |
| 150 |
| 151 if (isArityError) { |
143 } | 152 } |
144 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); | 153 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
145 return; | |
146 } | 154 } |
147 | 155 |
148 static void promiseMethodPartialOverload3Method(const v8::FunctionCallbackInfo<v
8::Value>& info) | 156 static void promiseMethodPartialOverload3Method(const v8::FunctionCallbackInfo<v
8::Value>& info) |
149 { | 157 { |
| 158 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo
ntext, "TestInterface", "promiseMethodPartialOverload"); |
| 159 ScriptState* scriptState = ScriptState::forReceiverObject(info); |
| 160 ExceptionToPromiseScope exceptionToPromiseScope(info, scriptState, exception
State); |
| 161 |
150 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); | 162 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); |
| 163 |
151 Document* document; | 164 Document* document; |
152 { | 165 document = V8Document::toImplWithTypeCheck(info.GetIsolate(), info[0]); |
153 document = V8Document::toImplWithTypeCheck(info.GetIsolate(), info[0]); | 166 if (!document) { |
154 if (!document) { | 167 exceptionState.throwTypeError("parameter 1 is not of type 'Document'."); |
155 v8SetReturnValue(info, ScriptPromise::rejectRaw(ScriptState::current
(info.GetIsolate()), V8ThrowException::createTypeError(info.GetIsolate(), Except
ionMessages::failedToExecute("promiseMethodPartialOverload", "TestInterface", "p
arameter 1 is not of type 'Document'.")))); | 168 |
156 return; | 169 return; |
157 } | |
158 } | 170 } |
| 171 |
159 v8SetReturnValue(info, TestInterfacePartial3Implementation::promiseMethodPar
tialOverload(*impl, document).v8Value()); | 172 v8SetReturnValue(info, TestInterfacePartial3Implementation::promiseMethodPar
tialOverload(*impl, document).v8Value()); |
160 } | 173 } |
161 | 174 |
162 static void promiseMethodPartialOverloadMethod(const v8::FunctionCallbackInfo<v8
::Value>& info) | 175 static void promiseMethodPartialOverloadMethod(const v8::FunctionCallbackInfo<v8
::Value>& info) |
163 { | 176 { |
164 ExceptionState exceptionState(ExceptionState::ExecutionContext, "promiseMeth
odPartialOverload", "TestInterface", info.Holder(), info.GetIsolate()); | 177 bool isArityError = false; |
165 switch (std::min(1, info.Length())) { | 178 switch (std::min(1, info.Length())) { |
166 case 0: | 179 case 0: |
167 break; | 180 break; |
168 case 1: | 181 case 1: |
169 if (V8Document::hasInstance(info[0], info.GetIsolate())) { | 182 if (V8Document::hasInstance(info[0], info.GetIsolate())) { |
170 promiseMethodPartialOverload3Method(info); | 183 promiseMethodPartialOverload3Method(info); |
171 return; | 184 return; |
172 } | 185 } |
173 break; | 186 break; |
174 default: | 187 default: |
175 break; | 188 isArityError = true; |
| 189 } |
| 190 |
| 191 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo
ntext, "TestInterface", "promiseMethodPartialOverload"); |
| 192 ScriptState* scriptState = ScriptState::forReceiverObject(info); |
| 193 ExceptionToPromiseScope exceptionToPromiseScope(info, scriptState, exception
State); |
| 194 |
| 195 if (isArityError) { |
176 } | 196 } |
177 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); | 197 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
178 v8SetReturnValue(info, exceptionState.reject(ScriptState::current(info.GetIs
olate())).v8Value()); | |
179 return; | |
180 } | |
181 | |
182 static void staticPromiseMethodPartialOverload2MethodPromise(const v8::FunctionC
allbackInfo<v8::Value>& info, ExceptionState& exceptionState) | |
183 { | |
184 V8StringResource<> value; | |
185 { | |
186 value = info[0]; | |
187 if (!value.prepare(exceptionState)) | |
188 return; | |
189 } | |
190 v8SetReturnValue(info, TestInterfacePartial3Implementation::staticPromiseMet
hodPartialOverload(value).v8Value()); | |
191 } | 198 } |
192 | 199 |
193 static void staticPromiseMethodPartialOverload2Method(const v8::FunctionCallback
Info<v8::Value>& info) | 200 static void staticPromiseMethodPartialOverload2Method(const v8::FunctionCallback
Info<v8::Value>& info) |
194 { | 201 { |
195 ExceptionState exceptionState(ExceptionState::ExecutionContext, "staticPromi
seMethodPartialOverload", "TestInterface", info.Holder(), info.GetIsolate()); | 202 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo
ntext, "TestInterface", "staticPromiseMethodPartialOverload"); |
196 staticPromiseMethodPartialOverload2MethodPromise(info, exceptionState); | 203 ScriptState* scriptState = ScriptState::forFunctionObject(info); |
197 if (exceptionState.hadException()) | 204 ExceptionToPromiseScope exceptionToPromiseScope(info, scriptState, exception
State); |
198 v8SetReturnValue(info, exceptionState.reject(ScriptState::current(info.G
etIsolate())).v8Value()); | 205 |
| 206 V8StringResource<> value; |
| 207 value = info[0]; |
| 208 if (!value.prepare(exceptionState)) |
| 209 return; |
| 210 |
| 211 v8SetReturnValue(info, TestInterfacePartial3Implementation::staticPromiseMet
hodPartialOverload(value).v8Value()); |
199 } | 212 } |
200 | 213 |
201 static void staticPromiseMethodPartialOverloadMethod(const v8::FunctionCallbackI
nfo<v8::Value>& info) | 214 static void staticPromiseMethodPartialOverloadMethod(const v8::FunctionCallbackI
nfo<v8::Value>& info) |
202 { | 215 { |
203 ExceptionState exceptionState(ExceptionState::ExecutionContext, "staticPromi
seMethodPartialOverload", "TestInterface", info.Holder(), info.GetIsolate()); | 216 bool isArityError = false; |
204 switch (std::min(1, info.Length())) { | 217 switch (std::min(1, info.Length())) { |
205 case 0: | 218 case 0: |
206 break; | 219 break; |
207 case 1: | 220 case 1: |
208 if (true) { | 221 if (true) { |
209 staticPromiseMethodPartialOverload2Method(info); | 222 staticPromiseMethodPartialOverload2Method(info); |
210 return; | 223 return; |
211 } | 224 } |
212 break; | 225 break; |
213 default: | 226 default: |
214 break; | 227 isArityError = true; |
| 228 } |
| 229 |
| 230 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo
ntext, "TestInterface", "staticPromiseMethodPartialOverload"); |
| 231 ScriptState* scriptState = ScriptState::forReceiverObject(info); |
| 232 ExceptionToPromiseScope exceptionToPromiseScope(info, scriptState, exception
State); |
| 233 |
| 234 if (isArityError) { |
215 } | 235 } |
216 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); | 236 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
217 v8SetReturnValue(info, exceptionState.reject(ScriptState::current(info.GetIs
olate())).v8Value()); | |
218 return; | |
219 } | 237 } |
220 | 238 |
221 static void partial2VoidMethod2Method(const v8::FunctionCallbackInfo<v8::Value>&
info) | 239 static void partial2VoidMethod2Method(const v8::FunctionCallbackInfo<v8::Value>&
info) |
222 { | 240 { |
223 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); | 241 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); |
| 242 |
224 V8StringResource<> value; | 243 V8StringResource<> value; |
225 { | 244 value = info[0]; |
226 value = info[0]; | 245 if (!value.prepare()) |
227 if (!value.prepare()) | 246 return; |
228 return; | 247 |
229 } | |
230 TestInterfacePartial3Implementation::partial2VoidMethod(*impl, value); | 248 TestInterfacePartial3Implementation::partial2VoidMethod(*impl, value); |
231 } | 249 } |
232 | 250 |
233 static void partial2VoidMethod3Method(const v8::FunctionCallbackInfo<v8::Value>&
info) | 251 static void partial2VoidMethod3Method(const v8::FunctionCallbackInfo<v8::Value>&
info) |
234 { | 252 { |
235 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); | 253 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); |
| 254 |
236 Node* node; | 255 Node* node; |
237 { | 256 node = V8Node::toImplWithTypeCheck(info.GetIsolate(), info[0]); |
238 node = V8Node::toImplWithTypeCheck(info.GetIsolate(), info[0]); | 257 if (!node) { |
239 if (!node) { | 258 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::f
ailedToExecute("partial2VoidMethod", "TestInterface", "parameter 1 is not of typ
e 'Node'.")); |
240 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessage
s::failedToExecute("partial2VoidMethod", "TestInterface", "parameter 1 is not of
type 'Node'.")); | 259 |
241 return; | 260 return; |
242 } | |
243 } | 261 } |
| 262 |
244 TestInterfacePartial3Implementation::partial2VoidMethod(*impl, node); | 263 TestInterfacePartial3Implementation::partial2VoidMethod(*impl, node); |
245 } | 264 } |
246 | 265 |
247 static void partial2VoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>&
info) | 266 static void partial2VoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>&
info) |
248 { | 267 { |
249 ExceptionState exceptionState(ExceptionState::ExecutionContext, "partial2Voi
dMethod", "TestInterface", info.Holder(), info.GetIsolate()); | 268 bool isArityError = false; |
250 switch (std::min(1, info.Length())) { | 269 switch (std::min(1, info.Length())) { |
251 case 0: | 270 case 0: |
252 break; | 271 break; |
253 case 1: | 272 case 1: |
254 if (V8Node::hasInstance(info[0], info.GetIsolate())) { | 273 if (V8Node::hasInstance(info[0], info.GetIsolate())) { |
255 partial2VoidMethod3Method(info); | 274 partial2VoidMethod3Method(info); |
256 return; | 275 return; |
257 } | 276 } |
258 if (true) { | 277 if (true) { |
259 partial2VoidMethod2Method(info); | 278 partial2VoidMethod2Method(info); |
260 return; | 279 return; |
261 } | 280 } |
262 break; | 281 break; |
263 default: | 282 default: |
264 break; | 283 isArityError = true; |
| 284 } |
| 285 |
| 286 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo
ntext, "TestInterface", "partial2VoidMethod"); |
| 287 |
| 288 if (isArityError) { |
265 } | 289 } |
266 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); | 290 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
267 return; | |
268 } | 291 } |
269 | 292 |
270 static void partialVoidTestEnumModulesArgMethodMethod(const v8::FunctionCallback
Info<v8::Value>& info) | 293 static void partialVoidTestEnumModulesArgMethodMethod(const v8::FunctionCallback
Info<v8::Value>& info) |
271 { | 294 { |
272 ExceptionState exceptionState(ExceptionState::ExecutionContext, "partialVoid
TestEnumModulesArgMethod", "TestInterface", info.Holder(), info.GetIsolate()); | 295 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo
ntext, "TestInterface", "partialVoidTestEnumModulesArgMethod"); |
| 296 |
| 297 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); |
| 298 |
273 if (UNLIKELY(info.Length() < 1)) { | 299 if (UNLIKELY(info.Length() < 1)) { |
274 setMinimumArityTypeError(exceptionState, 1, info.Length()); | 300 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i
nfo.Length())); |
275 return; | 301 return; |
276 } | 302 } |
277 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); | 303 |
278 V8StringResource<> arg; | 304 V8StringResource<> arg; |
279 { | 305 arg = info[0]; |
280 arg = info[0]; | 306 if (!arg.prepare()) |
281 if (!arg.prepare()) | 307 return; |
282 return; | 308 const char* validValues[] = { |
283 const char* validValues[] = { | 309 "EnumModulesValue1", |
284 "EnumModulesValue1", | 310 "EnumModulesValue2", |
285 "EnumModulesValue2", | 311 }; |
286 }; | 312 if (!isValidEnum(arg, validValues, WTF_ARRAY_LENGTH(validValues), "TestEnumM
odules", exceptionState)) { |
287 if (!isValidEnum(arg, validValues, WTF_ARRAY_LENGTH(validValues), "TestE
numModules", exceptionState)) { | 313 return; |
288 return; | |
289 } | |
290 } | 314 } |
| 315 |
291 TestInterfacePartial3Implementation::partialVoidTestEnumModulesArgMethod(*im
pl, arg); | 316 TestInterfacePartial3Implementation::partialVoidTestEnumModulesArgMethod(*im
pl, arg); |
292 } | 317 } |
293 | 318 |
294 static void partialVoidTestEnumModulesArgMethodMethodCallback(const v8::Function
CallbackInfo<v8::Value>& info) | 319 static void partialVoidTestEnumModulesArgMethodMethodCallback(const v8::Function
CallbackInfo<v8::Value>& info) |
295 { | 320 { |
296 TestInterfaceImplementationPartialV8Internal::partialVoidTestEnumModulesArgM
ethodMethod(info); | 321 TestInterfaceImplementationPartialV8Internal::partialVoidTestEnumModulesArgM
ethodMethod(info); |
297 } | 322 } |
298 | 323 |
299 static void partial2StaticVoidMethod2Method(const v8::FunctionCallbackInfo<v8::V
alue>& info) | 324 static void partial2StaticVoidMethod2Method(const v8::FunctionCallbackInfo<v8::V
alue>& info) |
300 { | 325 { |
301 V8StringResource<> value; | 326 V8StringResource<> value; |
302 { | 327 value = info[0]; |
303 value = info[0]; | 328 if (!value.prepare()) |
304 if (!value.prepare()) | 329 return; |
305 return; | 330 |
306 } | |
307 TestInterfacePartial3Implementation::partial2StaticVoidMethod(value); | 331 TestInterfacePartial3Implementation::partial2StaticVoidMethod(value); |
308 } | 332 } |
309 | 333 |
310 static void partial2StaticVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Va
lue>& info) | 334 static void partial2StaticVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Va
lue>& info) |
311 { | 335 { |
312 ExceptionState exceptionState(ExceptionState::ExecutionContext, "partial2Sta
ticVoidMethod", "TestInterface", info.Holder(), info.GetIsolate()); | 336 bool isArityError = false; |
313 switch (std::min(1, info.Length())) { | 337 switch (std::min(1, info.Length())) { |
314 case 0: | 338 case 0: |
315 break; | 339 break; |
316 case 1: | 340 case 1: |
317 if (true) { | 341 if (true) { |
318 partial2StaticVoidMethod2Method(info); | 342 partial2StaticVoidMethod2Method(info); |
319 return; | 343 return; |
320 } | 344 } |
321 break; | 345 break; |
322 default: | 346 default: |
323 break; | 347 isArityError = true; |
| 348 } |
| 349 |
| 350 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo
ntext, "TestInterface", "partial2StaticVoidMethod"); |
| 351 |
| 352 if (isArityError) { |
324 } | 353 } |
325 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); | 354 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
326 return; | |
327 } | 355 } |
328 | 356 |
329 static void unscopeableVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value
>& info) | 357 static void unscopeableVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value
>& info) |
330 { | 358 { |
331 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); | 359 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); |
| 360 |
332 TestInterfacePartial3Implementation::unscopeableVoidMethod(*impl); | 361 TestInterfacePartial3Implementation::unscopeableVoidMethod(*impl); |
333 } | 362 } |
334 | 363 |
335 static void unscopeableVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v
8::Value>& info) | 364 static void unscopeableVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v
8::Value>& info) |
336 { | 365 { |
337 TestInterfaceImplementationPartialV8Internal::unscopeableVoidMethodMethod(in
fo); | 366 TestInterfaceImplementationPartialV8Internal::unscopeableVoidMethodMethod(in
fo); |
338 } | 367 } |
339 | 368 |
340 static void partial4VoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>&
info) | 369 static void partial4VoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>&
info) |
341 { | 370 { |
342 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); | 371 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); |
| 372 |
343 TestInterfacePartial4::partial4VoidMethod(*impl); | 373 TestInterfacePartial4::partial4VoidMethod(*impl); |
344 } | 374 } |
345 | 375 |
346 static void partial4VoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::
Value>& info) | 376 static void partial4VoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::
Value>& info) |
347 { | 377 { |
348 TestInterfaceImplementationPartialV8Internal::partial4VoidMethodMethod(info)
; | 378 TestInterfaceImplementationPartialV8Internal::partial4VoidMethodMethod(info)
; |
349 } | 379 } |
350 | 380 |
351 static void partial4StaticVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Va
lue>& info) | 381 static void partial4StaticVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Va
lue>& info) |
352 { | 382 { |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 V8TestInterfacePartial::preparePrototypeAndInterfaceObject); | 465 V8TestInterfacePartial::preparePrototypeAndInterfaceObject); |
436 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); | 466 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(
&TestInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); |
437 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); | 467 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInte
rface(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOver
loadMethod); |
438 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); | 468 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterfa
ce(&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMe
thod); |
439 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); | 469 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialI
nterface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodParti
alOverloadMethod); |
440 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); | 470 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestIn
terfaceImplementationPartialV8Internal::partial2VoidMethodMethod); |
441 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); | 471 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&
TestInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); |
442 } | 472 } |
443 | 473 |
444 } // namespace blink | 474 } // namespace blink |
OLD | NEW |