Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(593)

Unified Diff: Source/core/page/WindowTimers.idl

Issue 17577009: Introduce WindowTimers IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/Window.idl ('k') | Source/core/workers/WorkerContext.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
+
« no previous file with comments | « Source/core/page/Window.idl ('k') | Source/core/workers/WorkerContext.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698