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

Unified Diff: Source/bindings/tests/idls/TestCallbackInterface.idl

Issue 112383002: IDL compiler: sync Python to r163665 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: New test results Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/tests/idls/TestCallback.idl ('k') | Source/bindings/tests/idls/TestObject.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/TestCallbackInterface.idl
diff --git a/Source/bindings/tests/idls/TestEventTarget.idl b/Source/bindings/tests/idls/TestCallbackInterface.idl
similarity index 69%
copy from Source/bindings/tests/idls/TestEventTarget.idl
copy to Source/bindings/tests/idls/TestCallbackInterface.idl
index 448c4d928525708febe7970415e67534a6d9196f..cbf60ad14d9bd8cda44807e780d5e6b995d91411 100644
--- a/Source/bindings/tests/idls/TestEventTarget.idl
+++ b/Source/bindings/tests/idls/TestCallbackInterface.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011 Google Inc. All rights reserved.
+ * Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary formstrArg, with or without
* modification, are permitted provided that the following conditions
@@ -26,12 +26,14 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-interface TestEventTarget : EventTarget {
- getter Node item(unsigned long index);
- [ImplementedAs=anonymousIndexedSetter] setter Node (unsigned long index, Node node);
- getter Node namedItem(DOMString name);
- [ImplementedAs=anonymousNamedSetter] setter Node(DOMString name, [TreatUndefinedAs=anonymousNamedSetterUndefined] DOMString value);
- [ImplementedAs=anonymousIndexedDeleter, RaisesException] deleter boolean(unsigned long index);
- [ImplementedAs=anonymousNamedDeleter] deleter boolean(DOMString name);
+callback interface TestCallbackInterface {
+ void voidMethod();
+ boolean booleanMethod();
+ void voidMethodBooleanArg(boolean boolArg);
+ void voidMethodSequenceArg(sequence<TestInterfaceEmpty> sequenceArg);
+ void voidMethodFloatArg(float floatArg);
+ void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyArg);
+ void voidMethodTestInterfaceEmptyStringArg(TestInterfaceEmpty testInterfaceEmptyArg, DOMString stringArg);
+ [CallWith=ThisValue] void callbackWithThisValueVoidMethodStringArg(DOMString stringArg);
+ [Custom] void customVoidMethodTestInterfaceEmptyArg(TestInterfaceEmpty testInterfaceEmptyArg);
};
-
« no previous file with comments | « Source/bindings/tests/idls/TestCallback.idl ('k') | Source/bindings/tests/idls/TestObject.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698