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

Unified Diff: content/shell/renderer/test_runner/WebTestProxy.cpp

Issue 159493002: Add test plumbing so that layout tests can query whether a compositor frame was requested (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 10 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 | « content/shell/renderer/test_runner/WebTestProxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/WebTestProxy.cpp
diff --git a/content/shell/renderer/test_runner/WebTestProxy.cpp b/content/shell/renderer/test_runner/WebTestProxy.cpp
index 70bb6b7c95a3cb49db04dc7d3f48f33985064b17..e803c6eea8561b515bde26d449d9a3726c238280 100644
--- a/content/shell/renderer/test_runner/WebTestProxy.cpp
+++ b/content/shell/renderer/test_runner/WebTestProxy.cpp
@@ -738,6 +738,11 @@ void WebTestProxyBase::animateNow()
}
}
+bool WebTestProxyBase::isCompositorFramePending() const
+{
+ return m_animateScheduled;
jamesr 2014/02/11 01:47:42 i think it'd be worth returning true if m_paintRec
shawnsingh 2014/02/11 02:02:06 Done.
+}
+
void WebTestProxyBase::show(WebNavigationPolicy)
{
invalidateAll();
« no previous file with comments | « content/shell/renderer/test_runner/WebTestProxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698