Index: Source/core/page/WindowTimers.idl |
diff --git a/Source/modules/indexeddb/WindowIndexedDatabase.idl b/Source/core/page/WindowTimers.idl |
similarity index 77% |
copy from Source/modules/indexeddb/WindowIndexedDatabase.idl |
copy to Source/core/page/WindowTimers.idl |
index 3823e4f2a5e7402f845bb82fcbbbaa30ce0a95e6..97d5d42dec57abea44f2f68f632ef334cc8f2b4f 100644 |
--- a/Source/modules/indexeddb/WindowIndexedDatabase.idl |
+++ b/Source/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 |
@@ -25,9 +26,11 @@ |
*/ |
[ |
- ImplementedAs=DOMWindowIndexedDatabase |
-] partial interface Window { |
- [ImplementedAs=indexedDB,MeasureAs=PrefixedIndexedDB] readonly attribute IDBFactory webkitIndexedDB; |
- |
- [MeasureAs=UnprefixedIndexedDB] readonly attribute IDBFactory indexedDB; |
+ 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); |
}; |
+ |