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

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

Issue 2645813003: [Bindings] Make exported functions visible from other components (Closed)
Patch Set: . Created 3 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
« 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. 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/partial_interface.cpp.tmpl 9 // third_party/WebKit/Source/bindings/templates/partial_interface.cpp.tmpl
10 10
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 "EnumModulesValue1", 303 "EnumModulesValue1",
304 "EnumModulesValue2", 304 "EnumModulesValue2",
305 }; 305 };
306 if (!isValidEnum(arg, validArgValues, WTF_ARRAY_LENGTH(validArgValues), "TestE numModules", exceptionState)) { 306 if (!isValidEnum(arg, validArgValues, WTF_ARRAY_LENGTH(validArgValues), "TestE numModules", exceptionState)) {
307 return; 307 return;
308 } 308 }
309 309
310 TestInterfacePartial3Implementation::partialVoidTestEnumModulesArgMethod(*impl , arg); 310 TestInterfacePartial3Implementation::partialVoidTestEnumModulesArgMethod(*impl , arg);
311 } 311 }
312 312
313 void partialVoidTestEnumModulesArgMethodMethodCallback(const v8::FunctionCallbac kInfo<v8::Value>& info) { 313 void partialVoidTestEnumModulesArgMethodMethodCallback(const v8::FunctionCallba ckInfo<v8::Value>& info) {
314 TestInterfaceImplementationPartialV8Internal::partialVoidTestEnumModulesArgMet hodMethod(info); 314 TestInterfaceImplementationPartialV8Internal::partialVoidTestEnumModulesArgMet hodMethod(info);
315 } 315 }
316 316
317 static void partial2StaticVoidMethod2Method(const v8::FunctionCallbackInfo<v8::V alue>& info) { 317 static void partial2StaticVoidMethod2Method(const v8::FunctionCallbackInfo<v8::V alue>& info) {
318 V8StringResource<> value; 318 V8StringResource<> value;
319 value = info[0]; 319 value = info[0];
320 if (!value.prepare()) 320 if (!value.prepare())
321 return; 321 return;
322 322
323 TestInterfacePartial3Implementation::partial2StaticVoidMethod(value); 323 TestInterfacePartial3Implementation::partial2StaticVoidMethod(value);
(...skipping 20 matching lines...) Expand all
344 } 344 }
345 exceptionState.throwTypeError("No function was found that matched the signatur e provided."); 345 exceptionState.throwTypeError("No function was found that matched the signatur e provided.");
346 } 346 }
347 347
348 static void unscopableVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value> & info) { 348 static void unscopableVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value> & info) {
349 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); 349 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder());
350 350
351 TestInterfacePartial3Implementation::unscopableVoidMethod(*impl); 351 TestInterfacePartial3Implementation::unscopableVoidMethod(*impl);
352 } 352 }
353 353
354 void unscopableVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value >& info) { 354 void unscopableVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Valu e>& info) {
355 TestInterfaceImplementationPartialV8Internal::unscopableVoidMethodMethod(info) ; 355 TestInterfaceImplementationPartialV8Internal::unscopableVoidMethodMethod(info) ;
356 } 356 }
357 357
358 static void partial4VoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) { 358 static void partial4VoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
359 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); 359 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder());
360 360
361 TestInterfacePartial4::partial4VoidMethod(*impl); 361 TestInterfacePartial4::partial4VoidMethod(*impl);
362 } 362 }
363 363
364 void partial4VoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { 364 void partial4VoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value> & info) {
365 TestInterfaceImplementationPartialV8Internal::partial4VoidMethodMethod(info); 365 TestInterfaceImplementationPartialV8Internal::partial4VoidMethodMethod(info);
366 } 366 }
367 367
368 static void partial4StaticVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Va lue>& info) { 368 static void partial4StaticVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Va lue>& info) {
369 TestInterfacePartial4::partial4StaticVoidMethod(); 369 TestInterfacePartial4::partial4StaticVoidMethod();
370 } 370 }
371 371
372 void partial4StaticVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::V alue>& info) { 372 void partial4StaticVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8:: Value>& info) {
373 TestInterfaceImplementationPartialV8Internal::partial4StaticVoidMethodMethod(i nfo); 373 TestInterfaceImplementationPartialV8Internal::partial4StaticVoidMethodMethod(i nfo);
374 } 374 }
375 375
376 } // namespace TestInterfaceImplementationPartialV8Internal 376 } // namespace TestInterfaceImplementationPartialV8Internal
377 377
378 const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] = { 378 const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] = {
379 {"partialVoidTestEnumModulesArgMethod", TestInterfaceImplementationPartialV8 Internal::partialVoidTestEnumModulesArgMethodMethodCallback, 0, 1, v8::None, V8D OMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, 379 {"partialVoidTestEnumModulesArgMethod", TestInterfaceImplementationPartialV8 Internal::partialVoidTestEnumModulesArgMethodMethodCallback, 0, 1, v8::None, V8D OMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
380 {"unscopableVoidMethod", TestInterfaceImplementationPartialV8Internal::unsco pableVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, 380 {"unscopableVoidMethod", TestInterfaceImplementationPartialV8Internal::unsco pableVoidMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
381 }; 381 };
382 382
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 V8TestInterfacePartial::preparePrototypeAndInterfaceObject); 451 V8TestInterfacePartial::preparePrototypeAndInterfaceObject);
452 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(&T estInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod); 452 V8TestInterface::registerVoidMethodPartialOverloadMethodForPartialInterface(&T estInterfaceImplementationPartialV8Internal::voidMethodPartialOverloadMethod);
453 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInterf ace(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOverlo adMethod); 453 V8TestInterface::registerStaticVoidMethodPartialOverloadMethodForPartialInterf ace(&TestInterfaceImplementationPartialV8Internal::staticVoidMethodPartialOverlo adMethod);
454 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterface (&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMeth od); 454 V8TestInterface::registerPromiseMethodPartialOverloadMethodForPartialInterface (&TestInterfaceImplementationPartialV8Internal::promiseMethodPartialOverloadMeth od);
455 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialInt erface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodPartial OverloadMethod); 455 V8TestInterface::registerStaticPromiseMethodPartialOverloadMethodForPartialInt erface(&TestInterfaceImplementationPartialV8Internal::staticPromiseMethodPartial OverloadMethod);
456 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestInte rfaceImplementationPartialV8Internal::partial2VoidMethodMethod); 456 V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(&TestInte rfaceImplementationPartialV8Internal::partial2VoidMethodMethod);
457 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&Te stInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod); 457 V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(&Te stInterfaceImplementationPartialV8Internal::partial2StaticVoidMethodMethod);
458 } 458 }
459 459
460 } // namespace blink 460 } // 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