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

Unified Diff: core/dom/IdleDeadline.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 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 | « core/dom/GlobalEventHandlers.idl ('k') | core/dom/IdleRequestCallback.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/dom/IdleDeadline.idl
diff --git a/modules/background_sync/SyncRegistrationOptions.idl b/core/dom/IdleDeadline.idl
similarity index 52%
copy from modules/background_sync/SyncRegistrationOptions.idl
copy to core/dom/IdleDeadline.idl
index 6e1abbcb4db81dfa3d24b171962b870c4c0b7f68..15507891599e93c1da8f147f856824fe352b4e39 100644
--- a/modules/background_sync/SyncRegistrationOptions.idl
+++ b/core/dom/IdleDeadline.idl
@@ -3,7 +3,9 @@
// found in the LICENSE file.
[
- RuntimeEnabled=BackgroundSyncV2,
-] dictionary SyncRegistrationOptions {
- DOMString tag;
+ GarbageCollected,
+ RuntimeEnabled=RequestIdleCallback,
+] interface IdleDeadline {
+ double timeRemaining();
+ readonly attribute boolean didTimeout;
};
« no previous file with comments | « core/dom/GlobalEventHandlers.idl ('k') | core/dom/IdleRequestCallback.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698