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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 // [Clamp] | 391 // [Clamp] |
392 void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedSho
rtArg); | 392 void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedSho
rtArg); |
393 void voidMethodClampUnsignedLongArg([Clamp] unsigned long clampUnsignedLongA
rg); | 393 void voidMethodClampUnsignedLongArg([Clamp] unsigned long clampUnsignedLongA
rg); |
394 // [Default] | 394 // [Default] |
395 void voidMethodDefaultUndefinedTestInterfaceEmptyArg([Default=Undefined] opt
ional TestInterfaceEmpty defaultUndefinedTestInterfaceEmptyArg); | 395 void voidMethodDefaultUndefinedTestInterfaceEmptyArg([Default=Undefined] opt
ional TestInterfaceEmpty defaultUndefinedTestInterfaceEmptyArg); |
396 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def
aultUndefinedLongArg); | 396 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def
aultUndefinedLongArg); |
397 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr
ing defaultUndefinedStringArg); | 397 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr
ing defaultUndefinedStringArg); |
398 void voidMethodDefaultNullStringStringArg([Default=NullString] optional DOMS
tring defaultNullStringStringArg); | 398 void voidMethodDefaultNullStringStringArg([Default=NullString] optional DOMS
tring defaultNullStringStringArg); |
399 // [EnforceRange] | 399 // [EnforceRange] |
400 void voidMethodEnforceRangeLongArg([EnforceRange] long enforceRangeLongArg); | 400 void voidMethodEnforceRangeLongArg([EnforceRange] long enforceRangeLongArg); |
| 401 // [ToNativeArg] |
| 402 void voidMethodToNativeArgEventListenerArg([ToNativeArg=ListenerFindOrCreate
] EventListener listener); |
401 // [TreatNullAs], [TreatUndefinedAs] | 403 // [TreatNullAs], [TreatUndefinedAs] |
402 void voidMethodTreatNullAsNullStringStringArg([TreatNullAs=NullString] DOMSt
ring treatNullAsNullStringStringArg); | 404 void voidMethodTreatNullAsNullStringStringArg([TreatNullAs=NullString] DOMSt
ring treatNullAsNullStringStringArg); |
403 void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg([Tre
atNullAs=NullString, TreatUndefinedAs=NullString] DOMString treatNullAsNullStrin
gStringArg); | 405 void voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg([Tre
atNullAs=NullString, TreatUndefinedAs=NullString] DOMString treatNullAsNullStrin
gStringArg); |
404 | 406 |
405 // Extended attributes for methods | 407 // Extended attributes for methods |
406 [ActivityLogging=ForAllWorlds] void activityLoggingAccessForAllWorldsMethod(
); | 408 [ActivityLogging=ForAllWorlds] void activityLoggingAccessForAllWorldsMethod(
); |
407 [CallWith=ScriptState] void callWithScriptStateVoidMethod(); | 409 [CallWith=ScriptState] void callWithScriptStateVoidMethod(); |
408 [CallWith=ScriptState] long callWithScriptStateLongMethod(); | 410 [CallWith=ScriptState] long callWithScriptStateLongMethod(); |
409 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod(); | 411 [CallWith=ExecutionContext] void callWithExecutionContextVoidMethod(); |
410 [CallWith=ScriptState&ExecutionContext] void callWithScriptStateExecutionCon
textVoidMethod(); | 412 [CallWith=ScriptState&ExecutionContext] void callWithScriptStateExecutionCon
textVoidMethod(); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 // [WillBeGarbageCollected] | 449 // [WillBeGarbageCollected] |
448 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI
nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); | 450 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI
nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); |
449 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); | 451 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill
BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); |
450 | 452 |
451 // Extended attributes on referenced interfaces | 453 // Extended attributes on referenced interfaces |
452 // (not self; self-reference tests at interface themselves) | 454 // (not self; self-reference tests at interface themselves) |
453 attribute TestInterfacePython testInterfacePythonAttribute; // [ImplementedA
s] | 455 attribute TestInterfacePython testInterfacePythonAttribute; // [ImplementedA
s] |
454 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] | 456 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl
ectedAttribute; // [WillBeGarbageCollected] |
455 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] | 457 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol
lectedOrNullAttribute; // [WillBeGarbageCollected] |
456 }; | 458 }; |
OLD | NEW |