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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp

Issue 2460563002: [Bindings] Reformat methods.cpp.tmpl (2/4) (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // clang-format off 7 // clang-format off
8 #include "V8TestInterfacePartial.h" 8 #include "V8TestInterfacePartial.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 TestInterfacePartial4::setPartial4StaticLongAttribute(cppValue); 89 TestInterfacePartial4::setPartial4StaticLongAttribute(cppValue);
90 } 90 }
91 91
92 void partial4StaticLongAttributeAttributeSetterCallback(const v8::FunctionCallba ckInfo<v8::Value>& info) 92 void partial4StaticLongAttributeAttributeSetterCallback(const v8::FunctionCallba ckInfo<v8::Value>& info)
93 { 93 {
94 v8::Local<v8::Value> v8Value = info[0]; 94 v8::Local<v8::Value> v8Value = info[0];
95 95
96 TestInterfaceImplementationPartialV8Internal::partial4StaticLongAttributeAtt ributeSetter(v8Value, info); 96 TestInterfaceImplementationPartialV8Internal::partial4StaticLongAttributeAtt ributeSetter(v8Value, info);
97 } 97 }
98 98
99 static void voidMethodPartialOverload3Method(const v8::FunctionCallbackInfo<v8:: Value>& info) 99 static void voidMethodPartialOverload3Method(const v8::FunctionCallbackInfo<v8:: Value>& info) {
100 { 100 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder());
101 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); 101
102 102 V8StringResource<> value;
103 V8StringResource<> value; 103 value = info[0];
104 value = info[0]; 104 if (!value.prepare())
105 if (!value.prepare()) 105 return;
106 return; 106
107 107 TestInterfacePartial3Implementation::voidMethodPartialOverload(*impl, value);
108 TestInterfacePartial3Implementation::voidMethodPartialOverload(*impl, value) ; 108 }
109 } 109
110 110 static void voidMethodPartialOverloadMethod(const v8::FunctionCallbackInfo<v8::V alue>& info) {
111 static void voidMethodPartialOverloadMethod(const v8::FunctionCallbackInfo<v8::V alue>& info) 111 bool isArityError = false;
112 { 112 switch (std::min(1, info.Length())) {
113 bool isArityError = false; 113 case 0:
114 switch (std::min(1, info.Length())) { 114 break;
115 case 0: 115 case 1:
116 break; 116 if (true) {
117 case 1: 117 voidMethodPartialOverload3Method(info);
118 if (true) { 118 return;
119 voidMethodPartialOverload3Method(info); 119 }
120 return; 120 break;
121 } 121 default:
122 break; 122 isArityError = true;
123 default: 123 }
124 isArityError = true; 124
125 } 125 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCont ext, "TestInterface", "voidMethodPartialOverload");
126 126
127 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo ntext, "TestInterface", "voidMethodPartialOverload"); 127 if (isArityError) {
128 128 }
129 if (isArityError) { 129 exceptionState.throwTypeError("No function was found that matched the signatur e provided.");
130 } 130 }
131 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 131
132 } 132 static void staticVoidMethodPartialOverload2Method(const v8::FunctionCallbackInf o<v8::Value>& info) {
133 133 V8StringResource<> value;
134 static void staticVoidMethodPartialOverload2Method(const v8::FunctionCallbackInf o<v8::Value>& info) 134 value = info[0];
135 { 135 if (!value.prepare())
136 V8StringResource<> value; 136 return;
137 value = info[0]; 137
138 if (!value.prepare()) 138 TestInterfacePartial3Implementation::staticVoidMethodPartialOverload(value);
139 return; 139 }
140 140
141 TestInterfacePartial3Implementation::staticVoidMethodPartialOverload(value); 141 static void staticVoidMethodPartialOverloadMethod(const v8::FunctionCallbackInfo <v8::Value>& info) {
142 } 142 bool isArityError = false;
143 143 switch (std::min(1, info.Length())) {
144 static void staticVoidMethodPartialOverloadMethod(const v8::FunctionCallbackInfo <v8::Value>& info) 144 case 0:
145 { 145 break;
146 bool isArityError = false; 146 case 1:
147 switch (std::min(1, info.Length())) { 147 if (true) {
148 case 0: 148 staticVoidMethodPartialOverload2Method(info);
149 break; 149 return;
150 case 1: 150 }
151 if (true) { 151 break;
152 staticVoidMethodPartialOverload2Method(info); 152 default:
153 return; 153 isArityError = true;
154 } 154 }
155 break; 155
156 default: 156 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCont ext, "TestInterface", "staticVoidMethodPartialOverload");
157 isArityError = true; 157
158 } 158 if (isArityError) {
159 159 }
160 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo ntext, "TestInterface", "staticVoidMethodPartialOverload"); 160 exceptionState.throwTypeError("No function was found that matched the signatur e provided.");
161 161 }
162 if (isArityError) { 162
163 } 163 static void promiseMethodPartialOverload3Method(const v8::FunctionCallbackInfo<v 8::Value>& info) {
164 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 164 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCont ext, "TestInterface", "promiseMethodPartialOverload");
165 } 165 ExceptionToRejectPromiseScope rejectPromiseScope(info, exceptionState);
166 166
167 static void promiseMethodPartialOverload3Method(const v8::FunctionCallbackInfo<v 8::Value>& info) 167 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder());
168 { 168
169 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo ntext, "TestInterface", "promiseMethodPartialOverload"); 169 Document* document;
170 ExceptionToRejectPromiseScope rejectPromiseScope(info, exceptionState); 170 document = V8Document::toImplWithTypeCheck(info.GetIsolate(), info[0]);
171 171 if (!document) {
172 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); 172 exceptionState.throwTypeError("parameter 1 is not of type 'Document'.");
173 173
174 Document* document; 174 return;
175 document = V8Document::toImplWithTypeCheck(info.GetIsolate(), info[0]); 175 }
176 if (!document) { 176
177 exceptionState.throwTypeError("parameter 1 is not of type 'Document'."); 177 v8SetReturnValue(info, TestInterfacePartial3Implementation::promiseMethodParti alOverload(*impl, document).v8Value());
178 178 }
179 return; 179
180 } 180 static void promiseMethodPartialOverloadMethod(const v8::FunctionCallbackInfo<v8 ::Value>& info) {
181 181 bool isArityError = false;
182 v8SetReturnValue(info, TestInterfacePartial3Implementation::promiseMethodPar tialOverload(*impl, document).v8Value()); 182 switch (std::min(1, info.Length())) {
183 } 183 case 0:
184 184 break;
185 static void promiseMethodPartialOverloadMethod(const v8::FunctionCallbackInfo<v8 ::Value>& info) 185 case 1:
186 { 186 if (V8Document::hasInstance(info[0], info.GetIsolate())) {
187 bool isArityError = false; 187 promiseMethodPartialOverload3Method(info);
188 switch (std::min(1, info.Length())) { 188 return;
189 case 0: 189 }
190 break; 190 break;
191 case 1: 191 default:
192 if (V8Document::hasInstance(info[0], info.GetIsolate())) { 192 isArityError = true;
193 promiseMethodPartialOverload3Method(info); 193 }
194 return; 194
195 } 195 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCont ext, "TestInterface", "promiseMethodPartialOverload");
196 break; 196 ExceptionToRejectPromiseScope rejectPromiseScope(info, exceptionState);
197 default: 197
198 isArityError = true; 198 if (isArityError) {
199 } 199 }
200 200 exceptionState.throwTypeError("No function was found that matched the signatur e provided.");
201 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo ntext, "TestInterface", "promiseMethodPartialOverload"); 201 }
202 ExceptionToRejectPromiseScope rejectPromiseScope(info, exceptionState); 202
203 203 static void staticPromiseMethodPartialOverload2Method(const v8::FunctionCallback Info<v8::Value>& info) {
204 if (isArityError) { 204 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCont ext, "TestInterface", "staticPromiseMethodPartialOverload");
205 } 205 ExceptionToRejectPromiseScope rejectPromiseScope(info, exceptionState);
206 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 206
207 } 207 V8StringResource<> value;
208 208 value = info[0];
209 static void staticPromiseMethodPartialOverload2Method(const v8::FunctionCallback Info<v8::Value>& info) 209 if (!value.prepare(exceptionState))
210 { 210 return;
211 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo ntext, "TestInterface", "staticPromiseMethodPartialOverload"); 211
212 ExceptionToRejectPromiseScope rejectPromiseScope(info, exceptionState); 212 v8SetReturnValue(info, TestInterfacePartial3Implementation::staticPromiseMetho dPartialOverload(value).v8Value());
213 213 }
214 V8StringResource<> value; 214
215 value = info[0]; 215 static void staticPromiseMethodPartialOverloadMethod(const v8::FunctionCallbackI nfo<v8::Value>& info) {
216 if (!value.prepare(exceptionState)) 216 bool isArityError = false;
217 return; 217 switch (std::min(1, info.Length())) {
218 218 case 0:
219 v8SetReturnValue(info, TestInterfacePartial3Implementation::staticPromiseMet hodPartialOverload(value).v8Value()); 219 break;
220 } 220 case 1:
221 221 if (true) {
222 static void staticPromiseMethodPartialOverloadMethod(const v8::FunctionCallbackI nfo<v8::Value>& info) 222 staticPromiseMethodPartialOverload2Method(info);
223 { 223 return;
224 bool isArityError = false; 224 }
225 switch (std::min(1, info.Length())) { 225 break;
226 case 0: 226 default:
227 break; 227 isArityError = true;
228 case 1: 228 }
229 if (true) { 229
230 staticPromiseMethodPartialOverload2Method(info); 230 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCont ext, "TestInterface", "staticPromiseMethodPartialOverload");
231 return; 231 ExceptionToRejectPromiseScope rejectPromiseScope(info, exceptionState);
232 } 232
233 break; 233 if (isArityError) {
234 default: 234 }
235 isArityError = true; 235 exceptionState.throwTypeError("No function was found that matched the signatur e provided.");
236 } 236 }
237 237
238 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo ntext, "TestInterface", "staticPromiseMethodPartialOverload"); 238 static void partial2VoidMethod2Method(const v8::FunctionCallbackInfo<v8::Value>& info) {
239 ExceptionToRejectPromiseScope rejectPromiseScope(info, exceptionState); 239 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder());
240 240
241 if (isArityError) { 241 V8StringResource<> value;
242 } 242 value = info[0];
243 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 243 if (!value.prepare())
244 } 244 return;
245 245
246 static void partial2VoidMethod2Method(const v8::FunctionCallbackInfo<v8::Value>& info) 246 TestInterfacePartial3Implementation::partial2VoidMethod(*impl, value);
247 { 247 }
248 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); 248
249 249 static void partial2VoidMethod3Method(const v8::FunctionCallbackInfo<v8::Value>& info) {
250 V8StringResource<> value; 250 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder());
251 value = info[0]; 251
252 if (!value.prepare()) 252 Node* node;
253 return; 253 node = V8Node::toImplWithTypeCheck(info.GetIsolate(), info[0]);
254 254 if (!node) {
255 TestInterfacePartial3Implementation::partial2VoidMethod(*impl, value); 255 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::faile dToExecute("partial2VoidMethod", "TestInterface", "parameter 1 is not of type 'N ode'."));
256 } 256
257 257 return;
258 static void partial2VoidMethod3Method(const v8::FunctionCallbackInfo<v8::Value>& info) 258 }
259 { 259
260 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); 260 TestInterfacePartial3Implementation::partial2VoidMethod(*impl, node);
261 261 }
262 Node* node; 262
263 node = V8Node::toImplWithTypeCheck(info.GetIsolate(), info[0]); 263 static void partial2VoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
264 if (!node) { 264 bool isArityError = false;
265 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::f ailedToExecute("partial2VoidMethod", "TestInterface", "parameter 1 is not of typ e 'Node'.")); 265 switch (std::min(1, info.Length())) {
266 266 case 0:
267 return; 267 break;
268 } 268 case 1:
269 269 if (V8Node::hasInstance(info[0], info.GetIsolate())) {
270 TestInterfacePartial3Implementation::partial2VoidMethod(*impl, node); 270 partial2VoidMethod3Method(info);
271 } 271 return;
272 272 }
273 static void partial2VoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) 273 if (true) {
274 { 274 partial2VoidMethod2Method(info);
275 bool isArityError = false; 275 return;
276 switch (std::min(1, info.Length())) { 276 }
277 case 0: 277 break;
278 break; 278 default:
279 case 1: 279 isArityError = true;
280 if (V8Node::hasInstance(info[0], info.GetIsolate())) { 280 }
281 partial2VoidMethod3Method(info); 281
282 return; 282 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCont ext, "TestInterface", "partial2VoidMethod");
283 } 283
284 if (true) { 284 if (isArityError) {
285 partial2VoidMethod2Method(info); 285 }
286 return; 286 exceptionState.throwTypeError("No function was found that matched the signatur e provided.");
287 } 287 }
288 break; 288
289 default: 289 static void partialVoidTestEnumModulesArgMethodMethod(const v8::FunctionCallback Info<v8::Value>& info) {
290 isArityError = true; 290 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCont ext, "TestInterface", "partialVoidTestEnumModulesArgMethod");
291 } 291
292 292 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder());
293 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo ntext, "TestInterface", "partial2VoidMethod"); 293
294 294 if (UNLIKELY(info.Length() < 1)) {
295 if (isArityError) { 295 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, info. Length()));
296 } 296 return;
297 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 297 }
298 } 298
299 299 V8StringResource<> arg;
300 static void partialVoidTestEnumModulesArgMethodMethod(const v8::FunctionCallback Info<v8::Value>& info) 300 arg = info[0];
301 { 301 if (!arg.prepare())
302 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo ntext, "TestInterface", "partialVoidTestEnumModulesArgMethod"); 302 return;
303 303 const char* validArgValues[] = {
304 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); 304 "EnumModulesValue1",
305 305 "EnumModulesValue2",
306 if (UNLIKELY(info.Length() < 1)) { 306 };
307 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i nfo.Length())); 307 if (!isValidEnum(arg, validArgValues, WTF_ARRAY_LENGTH(validArgValues), "TestE numModules", exceptionState)) {
308 return; 308 return;
309 } 309 }
310 310
311 V8StringResource<> arg; 311 TestInterfacePartial3Implementation::partialVoidTestEnumModulesArgMethod(*impl , arg);
312 arg = info[0]; 312 }
313 if (!arg.prepare()) 313
314 return; 314 void partialVoidTestEnumModulesArgMethodMethodCallback(const v8::FunctionCallbac kInfo<v8::Value>& info) {
315 const char* validArgValues[] = { 315 TestInterfaceImplementationPartialV8Internal::partialVoidTestEnumModulesArgMet hodMethod(info);
316 "EnumModulesValue1", 316 }
317 "EnumModulesValue2", 317
318 }; 318 static void partial2StaticVoidMethod2Method(const v8::FunctionCallbackInfo<v8::V alue>& info) {
319 if (!isValidEnum(arg, validArgValues, WTF_ARRAY_LENGTH(validArgValues), "Tes tEnumModules", exceptionState)) { 319 V8StringResource<> value;
320 return; 320 value = info[0];
321 } 321 if (!value.prepare())
322 322 return;
323 TestInterfacePartial3Implementation::partialVoidTestEnumModulesArgMethod(*im pl, arg); 323
324 } 324 TestInterfacePartial3Implementation::partial2StaticVoidMethod(value);
325 325 }
326 void partialVoidTestEnumModulesArgMethodMethodCallback(const v8::FunctionCallbac kInfo<v8::Value>& info) 326
327 { 327 static void partial2StaticVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Va lue>& info) {
328 TestInterfaceImplementationPartialV8Internal::partialVoidTestEnumModulesArgM ethodMethod(info); 328 bool isArityError = false;
329 } 329 switch (std::min(1, info.Length())) {
330 330 case 0:
331 static void partial2StaticVoidMethod2Method(const v8::FunctionCallbackInfo<v8::V alue>& info) 331 break;
332 { 332 case 1:
333 V8StringResource<> value; 333 if (true) {
334 value = info[0]; 334 partial2StaticVoidMethod2Method(info);
335 if (!value.prepare()) 335 return;
336 return; 336 }
337 337 break;
338 TestInterfacePartial3Implementation::partial2StaticVoidMethod(value); 338 default:
339 } 339 isArityError = true;
340 340 }
341 static void partial2StaticVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Va lue>& info) 341
342 { 342 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCont ext, "TestInterface", "partial2StaticVoidMethod");
343 bool isArityError = false; 343
344 switch (std::min(1, info.Length())) { 344 if (isArityError) {
345 case 0: 345 }
346 break; 346 exceptionState.throwTypeError("No function was found that matched the signatur e provided.");
347 case 1: 347 }
348 if (true) { 348
349 partial2StaticVoidMethod2Method(info); 349 static void unscopableVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value> & info) {
350 return; 350 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder());
351 } 351
352 break; 352 TestInterfacePartial3Implementation::unscopableVoidMethod(*impl);
353 default: 353 }
354 isArityError = true; 354
355 } 355 void unscopableVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value >& info) {
356 356 TestInterfaceImplementationPartialV8Internal::unscopableVoidMethodMethod(info) ;
357 ExceptionState exceptionState(info.GetIsolate(), ExceptionState::ExecutionCo ntext, "TestInterface", "partial2StaticVoidMethod"); 357 }
358 358
359 if (isArityError) { 359 static void partial4VoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
360 } 360 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder());
361 exceptionState.throwTypeError("No function was found that matched the signat ure provided."); 361
362 } 362 TestInterfacePartial4::partial4VoidMethod(*impl);
363 363 }
364 static void unscopableVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value> & info) 364
365 { 365 void partial4VoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
366 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); 366 TestInterfaceImplementationPartialV8Internal::partial4VoidMethodMethod(info);
367 367 }
368 TestInterfacePartial3Implementation::unscopableVoidMethod(*impl); 368
369 } 369 static void partial4StaticVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Va lue>& info) {
370 370 TestInterfacePartial4::partial4StaticVoidMethod();
371 void unscopableVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value >& info) 371 }
372 { 372
373 TestInterfaceImplementationPartialV8Internal::unscopableVoidMethodMethod(inf o); 373 void partial4StaticVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) {
374 } 374 TestInterfaceImplementationPartialV8Internal::partial4StaticVoidMethodMethod(i nfo);
375
376 static void partial4VoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
377 {
378 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder());
379
380 TestInterfacePartial4::partial4VoidMethod(*impl);
381 }
382
383 void partial4VoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
384 {
385 TestInterfaceImplementationPartialV8Internal::partial4VoidMethodMethod(info) ;
386 }
387
388 static void partial4StaticVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Va lue>& info)
389 {
390 TestInterfacePartial4::partial4StaticVoidMethod();
391 }
392
393 void partial4StaticVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info)
394 {
395 TestInterfaceImplementationPartialV8Internal::partial4StaticVoidMethodMethod (info);
396 } 375 }
397 376
398 } // namespace TestInterfaceImplementationPartialV8Internal 377 } // namespace TestInterfaceImplementationPartialV8Internal
399 378
400 const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] = { 379 const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] = {
401 {"partialVoidTestEnumModulesArgMethod", TestInterfaceImplementationPartialV8 Internal::partialVoidTestEnumModulesArgMethodMethodCallback, 0, 1, v8::None, V8D OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, 380 {"partialVoidTestEnumModulesArgMethod", TestInterfaceImplementationPartialV8 Internal::partialVoidTestEnumModulesArgMethodMethodCallback, 0, 1, v8::None, V8D OMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype},
402 {"unscopableVoidMethod", TestInterfaceImplementationPartialV8Internal::unsco pableVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllS cripts, V8DOMConfiguration::OnPrototype}, 381 {"unscopableVoidMethod", TestInterfaceImplementationPartialV8Internal::unsco pableVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllS cripts, V8DOMConfiguration::OnPrototype},
403 }; 382 };
404 383
405 void V8TestInterfacePartial::installV8TestInterfaceTemplate(v8::Isolate* isolate , const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplat e) { 384 void V8TestInterfacePartial::installV8TestInterfaceTemplate(v8::Isolate* isolate , const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplat e) {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 V8TestInterfacePartial::preparePrototypeAndInterfaceObject); 448 V8TestInterfacePartial::preparePrototypeAndInterfaceObject);
470 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(&T estInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); 449 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(&T estInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod);
471 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInterf ace(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOverlo adMethod); 450 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInterf ace(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOverlo adMethod);
472 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterface (&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMeth od); 451 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterface (&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMeth od);
473 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialInt erface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodPartial OverloadMethod); 452 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialInt erface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodPartial OverloadMethod);
474 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestInte rfaceImplementationPartialV8Internal::partial2VoidMethodMethod); 453 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestInte rfaceImplementationPartialV8Internal::partial2VoidMethodMethod);
475 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&Te stInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); 454 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&Te stInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod);
476 } 455 }
477 456
478 } // namespace blink 457 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698