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

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

Issue 1119683003: Implement requestIdleCallback API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address Review Comments 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
Index: Source/core/dom/IdleRequestCallback.idl
diff --git a/Source/core/input/InputDeviceInit.idl b/Source/core/dom/IdleRequestCallback.idl
similarity index 52%
copy from Source/core/input/InputDeviceInit.idl
copy to Source/core/dom/IdleRequestCallback.idl
index cad1069a92f780de0da7dc4200c699fd61beca74..4fcaa8e043d7b13991fa6f06e63e37c47581068c 100644
--- a/Source/core/input/InputDeviceInit.idl
+++ b/Source/core/dom/IdleRequestCallback.idl
@@ -3,7 +3,8 @@
// found in the LICENSE file.
[
- RuntimeEnabled=InputDevice,
-] dictionary InputDeviceInit {
- boolean firesTouchEvents = false;
+ GarbageCollected,
+ RuntimeEnabled=RequestIdleCallback,
+] callback interface IdleRequestCallback {
+ void handleEvent(IdleCallbackDeadline deadline);
};

Powered by Google App Engine
This is Rietveld 408576698