Index: Source/bindings/tests/idls/TestEventTarget.idl |
diff --git a/Source/platform/ColorChooser.h b/Source/bindings/tests/idls/TestEventTarget.idl |
similarity index 81% |
copy from Source/platform/ColorChooser.h |
copy to Source/bindings/tests/idls/TestEventTarget.idl |
index 8a1dc5e21848f31f2ee4a26746a46302e79432ec..4d048653ec24c64872c2cd5f24fd0f4cbc28e5f0 100644 |
--- a/Source/platform/ColorChooser.h |
+++ b/Source/bindings/tests/idls/TestEventTarget.idl |
@@ -24,26 +24,14 @@ |
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
- * |
*/ |
-#ifndef ColorChooser_h |
-#define ColorChooser_h |
- |
-#include "platform/PlatformExport.h" |
- |
-namespace WebCore { |
- |
-class Color; |
+interface TestEventTarget : EventTarget { |
+ getter Node item(unsigned long index); |
+ [StrictTypeChecking] setter Node (unsigned long index, Node? node); |
+ [RaisesException] deleter boolean (unsigned long index); |
-class PLATFORM_EXPORT ColorChooser { |
-public: |
- virtual ~ColorChooser(); |
- |
- virtual void setSelectedColor(const Color&) { } |
- virtual void endChooser() { } |
+ getter Node namedItem(DOMString name); |
+ setter Node (DOMString name, DOMString value); |
+ deleter boolean (DOMString name); |
}; |
- |
-} // namespace WebCore |
- |
-#endif // ColorChooser_h |