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

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

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/frame/RemoteDOMWindow.h ('k') | Source/core/frame/Window.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/RemoteDOMWindow.cpp
diff --git a/Source/core/frame/RemoteDOMWindow.cpp b/Source/core/frame/RemoteDOMWindow.cpp
index 6286d7cd4d2bbd9767621fe5e7f17a14e0ad2a27..29f8953940faa645e982cf07dc9a7daa591f14d4 100644
--- a/Source/core/frame/RemoteDOMWindow.cpp
+++ b/Source/core/frame/RemoteDOMWindow.cpp
@@ -328,6 +328,17 @@ void RemoteDOMWindow::cancelAnimationFrame(int id)
ASSERT_NOT_REACHED();
}
+int RemoteDOMWindow::requestIdleCallback(IdleRequestCallback*, double timeoutMillis)
+{
+ ASSERT_NOT_REACHED();
+ return 0;
+}
+
+void RemoteDOMWindow::cancelIdleCallback(int id)
+{
+ ASSERT_NOT_REACHED();
+}
+
RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame)
: m_frame(&frame)
{
« no previous file with comments | « Source/core/frame/RemoteDOMWindow.h ('k') | Source/core/frame/Window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698