| Index: Source/bindings/tests/idls/TestObjectPython.idl
|
| diff --git a/Source/bindings/tests/idls/TestCallback.idl b/Source/bindings/tests/idls/TestObjectPython.idl
|
| similarity index 66%
|
| copy from Source/bindings/tests/idls/TestCallback.idl
|
| copy to Source/bindings/tests/idls/TestObjectPython.idl
|
| index f274b51bfc089250df96502f1c0b8dd89e469525..8a3df74a0e712858579bccd604606ec3fad37fe3 100644
|
| --- a/Source/bindings/tests/idls/TestCallback.idl
|
| +++ b/Source/bindings/tests/idls/TestObjectPython.idl
|
| @@ -1,5 +1,6 @@
|
| /*
|
| * Copyright (C) 2009 Google Inc. All rights reserved.
|
| + * Copyright (C) 2010 Apple Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary formstrArg, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -26,16 +27,17 @@
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -// This IDL file is for testing the bindings code generator with a callback
|
| -// interface for tracking changes in its ouput.
|
| -callback interface TestCallback {
|
| - boolean callbackWithNoParam();
|
| - boolean callbackWithTestObjectParam(TestObject class1Param);
|
| - boolean callbackWithTestObjectParam(TestObject class2Param, DOMString strArg);
|
| - [Custom] long customCallback(TestObject testObjParam, TestObject testObjParam);
|
| - boolean callbackWithStringList(DOMStringList listParam);
|
| - boolean callbackWithBoolean(boolean boolParam);
|
| - boolean callbackWithSequence(sequence<TestObject> sequenceParam);
|
| - boolean callbackWithFloat(float floatParam);
|
| - [CallWith=ThisValue] boolean callbackWithThisArg(long param);
|
| +interface TestObjectPython {
|
| + readonly attribute Date readOnlyDateAttribute;
|
| + readonly attribute boolean readOnlyBooleanAttribute;
|
| + readonly attribute byte readOnlyByteAttribute;
|
| + readonly attribute double readOnlyDoubleAttribute;
|
| + readonly attribute float readOnlyFloatAttribute;
|
| + readonly attribute long readOnlyLongAttribute;
|
| + readonly attribute long long readOnlyLongLongAttribute;
|
| + readonly attribute octet readOnlyOctetAttribute;
|
| + readonly attribute short readOnlyShortAttribute;
|
| + readonly attribute unsigned long readOnlyUnsignedLongAttribute;
|
| + readonly attribute unsigned long long readOnlyUnsignedLongLongAttribute;
|
| + readonly attribute unsigned short readOnlyUnsignedShortAttribute;
|
| };
|
|
|