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

Unified Diff: webkit/tools/test_shell/test_webview_delegate.cc

Issue 6136005: Chromium support for window.webkitRequestAnimationFrame() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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: webkit/tools/test_shell/test_webview_delegate.cc
diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc
index fccf8e7d78f0bd03f2cd05c8a382449081aef1be..4f391373da8d212a5b4176acc0dbacd8594c22cc 100644
--- a/webkit/tools/test_shell/test_webview_delegate.cc
+++ b/webkit/tools/test_shell/test_webview_delegate.cc
@@ -683,6 +683,11 @@ void TestWebViewDelegate::scheduleComposite() {
host->ScheduleComposite();
}
+void TestWebViewDelegate::scheduleAnimation() {
+ MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod(
darin (slow to review) 2011/01/11 22:02:30 nit: indentation Piggy backing on scheduleComposi
jamesr 2011/01/12 00:02:43 It's a pain to do deferred work in WebWidgetHost s
+ this, &TestWebViewDelegate::scheduleComposite));
+}
+
void TestWebViewDelegate::didFocus() {
if (WebWidgetHost* host = GetWidgetHost())
shell_->SetFocus(host, true);

Powered by Google App Engine
This is Rietveld 408576698