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

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

Issue 282873004: IDL: overload resolution for string and enumeration arguments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline tests Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/bindings/scripts/v8_interface.py ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 void overloadedMethodH(); 401 void overloadedMethodH();
402 void overloadedMethodH(TestCallbackInterface testCallbackInterfaceArg); 402 void overloadedMethodH(TestCallbackInterface testCallbackInterfaceArg);
403 // FIXME: Should be in order double, Dictionary, but Blink implementation of 403 // FIXME: Should be in order double, Dictionary, but Blink implementation of
404 // overload resolution can't handle this. http://crbug.com/293561 404 // overload resolution can't handle this. http://crbug.com/293561
405 void overloadedMethodI(Dictionary dictionaryArg); // Non-wrapper type 405 void overloadedMethodI(Dictionary dictionaryArg); // Non-wrapper type
406 void overloadedMethodI(double doubleArg); 406 void overloadedMethodI(double doubleArg);
407 void overloadedMethodJ(long longArg); 407 void overloadedMethodJ(long longArg);
408 void overloadedMethodJ([Default=Null] TestInterfaceEmpty? testInterfaceEmpty OrNullArg); 408 void overloadedMethodJ([Default=Null] TestInterfaceEmpty? testInterfaceEmpty OrNullArg);
409 void overloadedMethodK(TestInterface testInterfaceArg); 409 void overloadedMethodK(TestInterface testInterfaceArg);
410 void overloadedMethodK(TestInterfaceEmpty testInterfaceEmptyArg); 410 void overloadedMethodK(TestInterfaceEmpty testInterfaceEmptyArg);
411 void overloadedMethodL(DOMString stringArg);
412 void overloadedMethodL(double doubleArg);
411 413
412 414
413 [PerWorldBindings] void overloadedPerWorldBindingsMethod(); 415 [PerWorldBindings] void overloadedPerWorldBindingsMethod();
414 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg); 416 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg);
415 417
416 static void overloadedStaticMethod(long longArg); 418 static void overloadedStaticMethod(long longArg);
417 static void overloadedStaticMethod(long longArg1, long longArg2); 419 static void overloadedStaticMethod(long longArg1, long longArg2);
418 420
419 // Extended attributes for arguments 421 // Extended attributes for arguments
420 // [Clamp] 422 // [Clamp]
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); 498 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg);
497 499
498 // Extended attributes on referenced interfaces 500 // Extended attributes on referenced interfaces
499 // (not self; self-reference tests at interface themselves) 501 // (not self; self-reference tests at interface themselves)
500 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] 502 attribute TestInterface testInterfaceAttribute; // [ImplementedAs]
501 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] 503 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected]
502 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] 504 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected]
503 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] 505 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected]
504 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] 506 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected]
505 }; 507 };
OLDNEW
« no previous file with comments | « Source/bindings/scripts/v8_interface.py ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698