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

Side by Side Diff: Source/bindings/tests/idls/core/TestObject.idl

Issue 723013003: IDL: Improve overload resolution for methods with variadic arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: the fix Created 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 void overloadedMethodG(long longArg); 443 void overloadedMethodG(long longArg);
444 void overloadedMethodG(optional TestInterfaceEmpty? testInterfaceEmptyOrNull Arg = null); 444 void overloadedMethodG(optional TestInterfaceEmpty? testInterfaceEmptyOrNull Arg = null);
445 void overloadedMethodH(TestInterface testInterfaceArg); 445 void overloadedMethodH(TestInterface testInterfaceArg);
446 void overloadedMethodH(TestInterfaceEmpty testInterfaceEmptyArg); 446 void overloadedMethodH(TestInterfaceEmpty testInterfaceEmptyArg);
447 void overloadedMethodI(DOMString stringArg); 447 void overloadedMethodI(DOMString stringArg);
448 void overloadedMethodI(double doubleArg); 448 void overloadedMethodI(double doubleArg);
449 void overloadedMethodJ(DOMString stringArg); 449 void overloadedMethodJ(DOMString stringArg);
450 void overloadedMethodJ(TestDictionary testDictionaryArg); 450 void overloadedMethodJ(TestDictionary testDictionaryArg);
451 void overloadedMethodK(Function functionArg); 451 void overloadedMethodK(Function functionArg);
452 void overloadedMethodK(DOMString stringArg); 452 void overloadedMethodK(DOMString stringArg);
453 void overloadedMethodL(long longArg, any... restArgs);
454 void overloadedMethodL(DOMString stringArg, any... restArgs);
453 455
454 Promise promiseOverloadMethod(); 456 Promise promiseOverloadMethod();
455 Promise promiseOverloadMethod(Window arg1, double arg2); 457 Promise promiseOverloadMethod(Window arg1, double arg2);
456 Promise promiseOverloadMethod(Document arg1, double arg2); 458 Promise promiseOverloadMethod(Document arg1, double arg2);
457 459
458 [PerWorldBindings] void overloadedPerWorldBindingsMethod(); 460 [PerWorldBindings] void overloadedPerWorldBindingsMethod();
459 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg); 461 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg);
460 462
461 static void overloadedStaticMethod(long longArg); 463 static void overloadedStaticMethod(long longArg);
462 static void overloadedStaticMethod(long longArg1, long longArg2); 464 static void overloadedStaticMethod(long longArg1, long longArg2);
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ; 569 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute ;
568 [ImplementedInPrivateScript] attribute short shortAttribute; 570 [ImplementedInPrivateScript] attribute short shortAttribute;
569 [ImplementedInPrivateScript] attribute DOMString stringAttribute; 571 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
570 [ImplementedInPrivateScript] attribute Node nodeAttribute; 572 [ImplementedInPrivateScript] attribute Node nodeAttribute;
571 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2); 573 [OnlyExposedToPrivateScript] short methodImplementedInCPPForPrivateScriptOnl y(short value1, short value2);
572 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly; 574 [OnlyExposedToPrivateScript] attribute DOMString attributeImplementedInCPPFo rPrivateScriptOnly;
573 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2); 575 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short methodForPriv ateScriptOnly(short value1, short value2);
574 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly; 576 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString attributeForPrivateScriptOnly;
575 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript; 577 [ImplementedInPrivateScript] attribute TestEnum enumForPrivateScript;
576 }; 578 };
OLDNEW
« no previous file with comments | « Source/bindings/scripts/v8_methods.py ('k') | Source/bindings/tests/results/core/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698