| 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);
|
| };
|
| -
|
|
|