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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 373 TestInterfaceEmpty testInterfaceEmptyMethodOptionalLongArg(optional long opt ionalLongArg); | 373 TestInterfaceEmpty testInterfaceEmptyMethodOptionalLongArg(optional long opt ionalLongArg); |
| 374 long longMethodOptionalLongArg(optional long optionalLongArg); | 374 long longMethodOptionalLongArg(optional long optionalLongArg); |
| 375 void voidMethodLongArgOptionalLongArg(long longArg, optional long optionalLo ngArg); | 375 void voidMethodLongArgOptionalLongArg(long longArg, optional long optionalLo ngArg); |
| 376 void voidMethodLongArgOptionalLongArgOptionalLongArg(long longArg, optional long optionalLongArg1, optional long optionalLongArg2); | 376 void voidMethodLongArgOptionalLongArgOptionalLongArg(long longArg, optional long optionalLongArg1, optional long optionalLongArg2); |
| 377 void voidMethodLongArgOptionalTestInterfaceEmptyArg(long longArg, optional T estInterfaceEmpty optionalTestInterfaceEmpty); | 377 void voidMethodLongArgOptionalTestInterfaceEmptyArg(long longArg, optional T estInterfaceEmpty optionalTestInterfaceEmpty); |
| 378 void voidMethodTestInterfaceEmptyArgOptionalLongArg(TestInterfaceEmpty optio nalTestInterfaceEmpty, optional long longArg); | 378 void voidMethodTestInterfaceEmptyArgOptionalLongArg(TestInterfaceEmpty optio nalTestInterfaceEmpty, optional long longArg); |
| 379 // Optional arguments: exceptional case | 379 // Optional arguments: exceptional case |
| 380 void voidMethodOptionalDictionaryArg(optional Dictionary optionalDictionaryA rg); | 380 void voidMethodOptionalDictionaryArg(optional Dictionary optionalDictionaryA rg); |
| 381 | 381 |
| 382 // Optional arguments with defaults | 382 // Optional arguments with defaults |
| 383 void voidMethodDefaultByteStringArg(optional ByteString defaultByteStringArg = "foo"); | |
| 383 void voidMethodDefaultStringArg(optional DOMString defaultStringArg = "foo") ; | 384 void voidMethodDefaultStringArg(optional DOMString defaultStringArg = "foo") ; |
| 384 void voidMethodDefaultNullStringArg(optional DOMString defaultStringArg = nu ll); | |
| 385 void voidMethodDefaultLongArg(optional long defaultLongArg = 10); | 385 void voidMethodDefaultLongArg(optional long defaultLongArg = 10); |
| 386 void voidMethodDefaultDoubleArg(optional double defaultDoubleArg = 0.5); | 386 void voidMethodDefaultDoubleArg(optional double defaultDoubleArg = 0.5); |
| 387 void voidMethodDefaultTrueBooleanArg(optional boolean defaultBooleanArg = tr ue); | 387 void voidMethodDefaultTrueBooleanArg(optional boolean defaultBooleanArg = tr ue); |
| 388 void voidMethodDefaultFalseBooleanArg(optional boolean defaultBooleanArg = f alse); | 388 void voidMethodDefaultFalseBooleanArg(optional boolean defaultBooleanArg = f alse); |
| 389 void voidMethodDefaultNullableByteStringArg(optional ByteString? defaultStri ngArg = null); | |
|
Nils Barth (inactive)
2014/06/17 03:40:32
default*Byte*StringArg
| |
| 389 void voidMethodDefaultNullableStringArg(optional DOMString? defaultStringArg = null); | 390 void voidMethodDefaultNullableStringArg(optional DOMString? defaultStringArg = null); |
| 390 void voidMethodDefaultNullableTestInterfaceArg(optional TestInterface? defau ltTestInterfaceArg = null); | 391 void voidMethodDefaultNullableTestInterfaceArg(optional TestInterface? defau ltTestInterfaceArg = null); |
| 391 | 392 |
| 392 // Variadic operations | 393 // Variadic operations |
| 393 void voidMethodVariadicStringArg(DOMString... variadicStringArgs); | 394 void voidMethodVariadicStringArg(DOMString... variadicStringArgs); |
| 394 void voidMethodStringArgVariadicStringArg(DOMString stringArg, DOMString... variadicStringArgs); | 395 void voidMethodStringArgVariadicStringArg(DOMString stringArg, DOMString... variadicStringArgs); |
| 395 void voidMethodVariadicTestInterfaceEmptyArg(TestInterfaceEmpty... variadicT estInterfaceEmptyArgs); | 396 void voidMethodVariadicTestInterfaceEmptyArg(TestInterfaceEmpty... variadicT estInterfaceEmptyArgs); |
| 396 void voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg(TestInterf aceEmpty testInterfaceEmptyArg, TestInterfaceEmpty... variadicTestInterfaceEmpty Args); | 397 void voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg(TestInterf aceEmpty testInterfaceEmptyArg, TestInterfaceEmpty... variadicTestInterfaceEmpty Args); |
| 397 void voidMethodVariadicTestInterfaceGarbageCollectedArg(TestInterfaceGarbage Collected... variadicTestInterfaceGarbageCollectedArg); | 398 void voidMethodVariadicTestInterfaceGarbageCollectedArg(TestInterfaceGarbage Collected... variadicTestInterfaceGarbageCollectedArg); |
| 398 void voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg(TestInterfaceW illBeGarbageCollected... variadicTestInterfaceWillBeGarbageCollectedArg); | 399 void voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg(TestInterfaceW illBeGarbageCollected... variadicTestInterfaceWillBeGarbageCollectedArg); |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 508 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); | 509 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); |
| 509 | 510 |
| 510 // Extended attributes on referenced interfaces | 511 // Extended attributes on referenced interfaces |
| 511 // (not self; self-reference tests at interface themselves) | 512 // (not self; self-reference tests at interface themselves) |
| 512 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] | 513 attribute TestInterface testInterfaceAttribute; // [ImplementedAs] |
| 513 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] | 514 attribute TestInterfaceGarbageCollected testInterfaceGarbageCollectedAttribu te; // [GarbageCollected] |
| 514 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] | 515 attribute TestInterfaceGarbageCollected? testInterfaceGarbageCollectedOrNull Attribute; // [GarbageCollected] |
| 515 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] | 516 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] |
| 516 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] | 517 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] |
| 517 }; | 518 }; |
| OLD | NEW |