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

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

Issue 201603002: Simplify EventTarget bindings generation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Don't change web behavior Created 6 years, 9 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
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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 void overloadedMethodG([StrictTypeChecking] DOMString strictTypeCheckingStri ngArg); 380 void overloadedMethodG([StrictTypeChecking] DOMString strictTypeCheckingStri ngArg);
381 void overloadedMethodH(); 381 void overloadedMethodH();
382 void overloadedMethodH(TestCallbackInterface testCallbackInterfaceArg); 382 void overloadedMethodH(TestCallbackInterface testCallbackInterfaceArg);
383 383
384 [PerWorldBindings] void overloadedPerWorldBindingsMethod(); 384 [PerWorldBindings] void overloadedPerWorldBindingsMethod();
385 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg); 385 [PerWorldBindings] void overloadedPerWorldBindingsMethod(long longArg);
386 386
387 static void overloadedStaticMethod(long longArg); 387 static void overloadedStaticMethod(long longArg);
388 static void overloadedStaticMethod(long longArg1, long longArg2); 388 static void overloadedStaticMethod(long longArg1, long longArg2);
389 389
390 // Exceptional methods for EventListener
391 void addEventListener(DOMString type,
392 EventListener listener,
393 optional boolean useCapture);
394 void removeEventListener(DOMString type,
395 EventListener listener,
396 optional boolean useCapture);
397 [RaisesException] boolean dispatchEvent(Event event);
398
399 // Extended attributes for arguments 390 // Extended attributes for arguments
400 // [Clamp] 391 // [Clamp]
401 void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedSho rtArg); 392 void voidMethodClampUnsignedShortArg([Clamp] unsigned short clampUnsignedSho rtArg);
402 void voidMethodClampUnsignedLongArg([Clamp] unsigned long clampUnsignedLongA rg); 393 void voidMethodClampUnsignedLongArg([Clamp] unsigned long clampUnsignedLongA rg);
403 // [Default] 394 // [Default]
404 void voidMethodDefaultUndefinedTestInterfaceEmptyArg([Default=Undefined] opt ional TestInterfaceEmpty defaultUndefinedTestInterfaceEmptyArg); 395 void voidMethodDefaultUndefinedTestInterfaceEmptyArg([Default=Undefined] opt ional TestInterfaceEmpty defaultUndefinedTestInterfaceEmptyArg);
405 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def aultUndefinedLongArg); 396 void voidMethodDefaultUndefinedLongArg([Default=Undefined] optional long def aultUndefinedLongArg);
406 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr ing defaultUndefinedStringArg); 397 void voidMethodDefaultUndefinedStringArg([Default=Undefined] optional DOMStr ing defaultUndefinedStringArg);
407 void voidMethodDefaultNullStringStringArg([Default=NullString] optional DOMS tring defaultNullStringStringArg); 398 void voidMethodDefaultNullStringStringArg([Default=NullString] optional DOMS tring defaultNullStringStringArg);
408 // [EnforceRange] 399 // [EnforceRange]
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 // [WillBeGarbageCollected] 447 // [WillBeGarbageCollected]
457 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg); 448 void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(sequence<TestI nterfaceWillBeGarbageCollected> testInterfaceWillBeGarbageCollectedSequenceArg);
458 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg); 449 void voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(TestInterfaceWill BeGarbageCollected[] testInterfaceWillBeGarbageCollectedArrayArg);
459 450
460 // Extended attributes on referenced interfaces 451 // Extended attributes on referenced interfaces
461 // (not self; self-reference tests at interface themselves) 452 // (not self; self-reference tests at interface themselves)
462 attribute TestInterfacePython testInterfacePythonAttribute; // [ImplementedA s] 453 attribute TestInterfacePython testInterfacePythonAttribute; // [ImplementedA s]
463 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected] 454 attribute TestInterfaceWillBeGarbageCollected testInterfaceWillBeGarbageColl ectedAttribute; // [WillBeGarbageCollected]
464 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected] 455 attribute TestInterfaceWillBeGarbageCollected? testInterfaceWillBeGarbageCol lectedOrNullAttribute; // [WillBeGarbageCollected]
465 }; 456 };
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/TestObject.idl ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698