| Index: bindings/tests/idls/TestCallbackInterface.idl
|
| diff --git a/core/clipboard/Clipboard.idl b/bindings/tests/idls/TestCallbackInterface.idl
|
| similarity index 62%
|
| copy from core/clipboard/Clipboard.idl
|
| copy to bindings/tests/idls/TestCallbackInterface.idl
|
| index 695f70d48666d0b6be10e489f134f66b75975dde..cebfa19dfdade4ee48f26953353093d7d34517d3 100644
|
| --- a/core/clipboard/Clipboard.idl
|
| +++ b/bindings/tests/idls/TestCallbackInterface.idl
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2008 Apple Inc. All rights reserved.
|
| + * Copyright (C) 2009 Google Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -26,18 +26,17 @@
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -[
|
| -] interface Clipboard {
|
| - [TreatReturnedNullStringAs=Undefined] attribute DOMString dropEffect;
|
| - [TreatReturnedNullStringAs=Undefined] attribute DOMString effectAllowed;
|
| - readonly attribute DOMString[] types;
|
| - readonly attribute FileList files;
|
| -
|
| - void clearData(optional DOMString type);
|
| - DOMString getData(DOMString type);
|
| - boolean setData(DOMString type, DOMString data);
|
| - [RaisesException] void setDragImage(Element image, long x, long y);
|
| -
|
| - readonly attribute DataTransferItemList items;
|
| +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);
|
| + // [WillBeGarbageCollected]
|
| + void voidMethodWillBeGarbageCollectedSequenceArg(sequence<TestInterfaceWillBeGarbageCollected> sequenceArg);
|
| + void voidMethodWillBeGarbageCollectedArrayArg(TestInterfaceWillBeGarbageCollected[] arrayArg);
|
| };
|
| -
|
|
|