Index: core/page/WindowTimers.idl |
diff --git a/modules/webdatabase/DOMWindowWebDatabase.idl b/core/page/WindowTimers.idl |
similarity index 77% |
copy from modules/webdatabase/DOMWindowWebDatabase.idl |
copy to core/page/WindowTimers.idl |
index 0d525e8e863025530c3b903836889ac9bcc13e0d..97d5d42dec57abea44f2f68f632ef334cc8f2b4f 100644 |
--- a/modules/webdatabase/DOMWindowWebDatabase.idl |
+++ b/core/page/WindowTimers.idl |
@@ -1,6 +1,7 @@ |
/* |
* Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
* Copyright (C) 2011 Google 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 |
@@ -24,7 +25,12 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-partial interface DOMWindow { |
- [EnabledAtRuntime=database, MeasureAs=OpenWebDatabase, PerWorldBindings, ActivityLog=AccessForIsolatedWorlds, RaisesException] Database openDatabase(DOMString name, DOMString version, DOMString displayName, unsigned long estimatedSize, optional DatabaseCallback creationCallback); |
+[ |
+ NoInterfaceObject |
+] interface WindowTimers { |
+ [Custom] long setTimeout(any handler, [Default=Undefined] optional long timeout); |
+ void clearTimeout([Default=Undefined] optional long handle); |
+ [Custom] long setInterval(any handler, [Default=Undefined] optional long timeout); |
+ void clearInterval([Default=Undefined] optional long handle); |
}; |