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

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

Issue 1119683003: Implement requestIdleCallback API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 4 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/dom/IdleRequestCallback.h ('k') | Source/core/dom/ScriptedIdleTaskController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/IdleRequestCallback.idl
diff --git a/Source/core/input/InputDeviceCapabilitiesInit.idl b/Source/core/dom/IdleRequestCallback.idl
similarity index 52%
copy from Source/core/input/InputDeviceCapabilitiesInit.idl
copy to Source/core/dom/IdleRequestCallback.idl
index e7ae86debbf39f39be3b5ece4134d3d4289be0a2..4fcaa8e043d7b13991fa6f06e63e37c47581068c 100644
--- a/Source/core/input/InputDeviceCapabilitiesInit.idl
+++ b/Source/core/dom/IdleRequestCallback.idl
@@ -3,7 +3,8 @@
// found in the LICENSE file.
[
- RuntimeEnabled=InputDeviceCapabilities,
-] dictionary InputDeviceCapabilitiesInit {
- boolean firesTouchEvents = false;
+ GarbageCollected,
+ RuntimeEnabled=RequestIdleCallback,
+] callback interface IdleRequestCallback {
+ void handleEvent(IdleCallbackDeadline deadline);
};
« no previous file with comments | « Source/core/dom/IdleRequestCallback.h ('k') | Source/core/dom/ScriptedIdleTaskController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698