Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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); | 411 void overloadedMethodL(DOMString stringArg); |
| 412 void overloadedMethodL(double doubleArg); | 412 void overloadedMethodL(double doubleArg); |
| 413 [TypeChecking=Interface] void overloadedMethodM(TestInterface testInterfaceA rg1, TestInterface testInterfaceArg2); | |
| 414 [TypeChecking=Interface] void overloadedMethodM(TestInterface testInterfaceA rg, TestInterfaceEmpty testInterfaceEmptyArg); | |
| 415 [TypeChecking=Interface] void overloadedMethodN(double a, TestInterface b); | |
|
Nils Barth (inactive)
2014/05/16 02:15:46
You don't need the double here do you?
...and this
Jens Widell
2014/05/16 05:59:17
Don't think I do, no. Unclear why I thought I did.
Nils Barth (inactive)
2014/05/16 06:05:31
I don't think that's necessary, but thanks for ask
| |
| 416 [TypeChecking=Interface] void overloadedMethodN(double a, TestInterfaceEmpty b, optional TestInterface c); | |
| 417 [TypeChecking=Interface] void overloadedMethodN(double a, TestInterfaceEmpty b, TestInterfaceEmpty c); | |
| 413 | 418 |
| 414 | 419 |
| 415 [PerWorldBindings] void overloadedPerWorldBindingsMethod(); | 420 [PerWorldBindings] void overloadedPerWorldBindingsMethod(); |
| 416 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg); | 421 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg); |
| 417 | 422 |
| 418 static void overloadedStaticMethod(long longArg); | 423 static void overloadedStaticMethod(long longArg); |
| 419 static void overloadedStaticMethod(long longArg1, long longArg2); | 424 static void overloadedStaticMethod(long longArg1, long longArg2); |
| 420 | 425 |
| 421 // Extended attributes for arguments | 426 // Extended attributes for arguments |
| 422 // [Clamp] | 427 // [Clamp] |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 498 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); | 503 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); |
| 499 | 504 |
| 500 // Extended attributes on referenced interfaces | 505 // Extended attributes on referenced interfaces |
| 501 // (not self; self-reference tests at interface themselves) | 506 // (not self; self-reference tests at interface themselves) |
| 502 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] | 507 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] |
| 503 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] | 508 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] |
| 504 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] | 509 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] |
| 505 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] | 510 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] |
| 506 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] | 511 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] |
| 507 }; | 512 }; |
| OLD | NEW |