| 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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 static void overloadedStaticMethod(long longArg); | 368 static void overloadedStaticMethod(long longArg); |
| 369 static void overloadedStaticMethod(long longArg1, long longArg2); | 369 static void overloadedStaticMethod(long longArg1, long longArg2); |
| 370 | 370 |
| 371 // Exceptional methods for EventListener | 371 // Exceptional methods for EventListener |
| 372 void addEventListener(DOMString type, | 372 void addEventListener(DOMString type, |
| 373 EventListener listener, | 373 EventListener listener, |
| 374 optional boolean useCapture); | 374 optional boolean useCapture); |
| 375 void removeEventListener(DOMString type, | 375 void removeEventListener(DOMString type, |
| 376 EventListener listener, | 376 EventListener listener, |
| 377 optional boolean useCapture); | 377 optional boolean useCapture); |
| 378 [RaisesException] boolean dispatchEvent(Event event); |
| 378 | 379 |
| 379 // Extended attributes for arguments | 380 // Extended attributes for arguments |
| 380 // [Clamp] | 381 // [Clamp] |
| 381 void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedSho
rtArg); | 382 void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedSho
rtArg); |
| 382 void voidMethodClampUnsignedLongArg([Clamp] unsigned long clampUnsignedLongA
rg); | 383 void voidMethodClampUnsignedLongArg([Clamp] unsigned long clampUnsignedLongA
rg); |
| 383 // [Default] | 384 // [Default] |
| 384 void voidMethodDefaultUndefinedTestInterfaceEmptyArg([Default=Undefined] opt
ional TestInterfaceEmpty defaultUndefinedTestInterfaceEmptyArg); | 385 void voidMethodDefaultUndefinedTestInterfaceEmptyArg([Default=Undefined] opt
ional TestInterfaceEmpty defaultUndefinedTestInterfaceEmptyArg); |
| 385 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def
aultUndefinedLongArg); | 386 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def
aultUndefinedLongArg); |
| 386 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr
ing defaultUndefinedStringArg); | 387 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr
ing defaultUndefinedStringArg); |
| 387 void voidMethodDefaultNullStringStringArg([Default=NullString] optional DOMS
tring defaultNullStringStringArg); | 388 void voidMethodDefaultNullStringStringArg([Default=NullString] optional DOMS
tring defaultNullStringStringArg); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 [StrictTypeChecking] void strictTypeCheckingVoidMethodNullableTestInterfaceE
mptyArg(TestInterfaceEmpty? testInterfaceEmptyArg); | 433 [StrictTypeChecking] void strictTypeCheckingVoidMethodNullableTestInterfaceE
mptyArg(TestInterfaceEmpty? testInterfaceEmptyArg); |
| 433 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri
ngMethod(); | 434 [TreatReturnedNullStringAs=Null] DOMString treatReturnedNullStringAsNullStri
ngMethod(); |
| 434 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd
efinedStringMethod(); | 435 [TreatReturnedNullStringAs=Undefined] DOMString treatReturnedNullStringAsUnd
efinedStringMethod(); |
| 435 [Unforgeable] void unforgeableVoidMethod(); | 436 [Unforgeable] void unforgeableVoidMethod(); |
| 436 | 437 |
| 437 // Extended attributes on referenced interfaces | 438 // Extended attributes on referenced interfaces |
| 438 // (not self; self-reference tests at interface themselves) | 439 // (not self; self-reference tests at interface themselves) |
| 439 attribute TestInterfacePython testInterfacePythonAttribute; // [ImplementedA
s] | 440 attribute TestInterfacePython testInterfacePythonAttribute; // [ImplementedA
s] |
| 440 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedAttribute; // [WillBeGarbageCollected] | 441 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedAttribute; // [WillBeGarbageCollected] |
| 441 }; | 442 }; |
| OLD | NEW |