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

Unified Diff: Source/core/frame/RemoteDOMWindow.h

Issue 1119683003: Implement requestIdleCallback API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address Elliott's 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/frame/RemoteDOMWindow.h
diff --git a/Source/core/frame/RemoteDOMWindow.h b/Source/core/frame/RemoteDOMWindow.h
index 62a8af94eae215d589a157543da3b30554324c6c..45c98918fbbced07fa8f4fa8e5c06457313442fb 100644
--- a/Source/core/frame/RemoteDOMWindow.h
+++ b/Source/core/frame/RemoteDOMWindow.h
@@ -77,6 +77,8 @@ public:
int requestAnimationFrame(FrameRequestCallback*) override;
int webkitRequestAnimationFrame(FrameRequestCallback*) override;
void cancelAnimationFrame(int id) override;
+ int requestIdleCallback(IdleRequestCallback*, double timeoutMillis) override;
+ void cancelIdleCallback(int id) override;
private:
explicit RemoteDOMWindow(RemoteFrame&);

Powered by Google App Engine
This is Rietveld 408576698