Index: bindings/tests/idls/TestImplements.idl |
diff --git a/core/clipboard/Clipboard.idl b/bindings/tests/idls/TestImplements.idl |
similarity index 57% |
copy from core/clipboard/Clipboard.idl |
copy to bindings/tests/idls/TestImplements.idl |
index 695f70d48666d0b6be10e489f134f66b75975dde..e6e55dbf43888e16dc7b672db791ea591f120b04 100644 |
--- a/core/clipboard/Clipboard.idl |
+++ b/bindings/tests/idls/TestImplements.idl |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2008 Apple Inc. All rights reserved. |
+ * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
@@ -27,17 +27,23 @@ |
*/ |
[ |
-] interface Clipboard { |
- [TreatReturnedNullStringAs=Undefined] attribute DOMString dropEffect; |
- [TreatReturnedNullStringAs=Undefined] attribute DOMString effectAllowed; |
- readonly attribute DOMString[] types; |
- readonly attribute FileList files; |
+ NoInterfaceObject, // Always used on target of 'implements' |
+] interface TestImplements { |
+ static readonly attribute long implementsStaticReadOnlyLongAttribute; |
+ static attribute DOMString implementsStaticStringAttribute; |
+ readonly attribute DOMString implementsReadonlyStringAttribute; |
+ attribute DOMString implementsStringAttribute; |
+ attribute Node implementsNodeAttribute; |
+ attribute EventHandler implementsEventHandlerAttribute; |
- void clearData(optional DOMString type); |
- DOMString getData(DOMString type); |
- boolean setData(DOMString type, DOMString data); |
- [RaisesException] void setDragImage(Element image, long x, long y); |
+ void implementsVoidMethod(); |
+ [CallWith=ExecutionContext, RaisesException] TestInterfaceEmpty implementsComplexMethod(DOMString strArg, TestInterfaceEmpty testInterfaceEmptyArg); |
+ [Custom] void implementsCustomVoidMethod(); |
+ static void implementsStaticVoidMethod(); |
- readonly attribute DataTransferItemList items; |
-}; |
+ const unsigned short IMPLEMENTS_CONSTANT_1 = 1; |
+ [Reflect=IMPLEMENTS_REFLECT_CONSTANT] const unsigned short IMPLEMENTS_CONSTANT_2 = 2; |
+ [RuntimeEnabled=ImplementsFeatureName] attribute Node implementsRuntimeEnabledNodeAttribute; |
+ [PerContextEnabled=ImplementsContextName] attribute Node implementsPerContextEnabledNodeAttribute; |
+}; |