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

Unified Diff: Source/core/dom/IdleRequestCallback.idl

Issue 1119683003: Implement requestIdleCallback API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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
Index: Source/core/dom/IdleRequestCallback.idl
diff --git a/Source/modules/app_banner/BeforeInstallPromptEventInit.idl b/Source/core/dom/IdleRequestCallback.idl
similarity index 61%
copy from Source/modules/app_banner/BeforeInstallPromptEventInit.idl
copy to Source/core/dom/IdleRequestCallback.idl
index 5fac0385bbc7f9eb5d4ec14dee29c984c248d400..8b0be37ce3117443d9742206372205759962b8f7 100644
--- a/Source/modules/app_banner/BeforeInstallPromptEventInit.idl
+++ b/Source/core/dom/IdleRequestCallback.idl
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-dictionary BeforeInstallPromptEventInit : EventInit {
- DOMString platform = "web";
+callback interface IdleRequestCallback {
+ void handleEvent(double highResTime, double deadlineTime);
};

Powered by Google App Engine
This is Rietveld 408576698