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

Unified Diff: third_party/WebKit/Source/web/tests/sim/SimCompositor.h

Issue 2746223003: Enable control over frame time in SimTests (Closed)
Patch Set: assert Created 3 years, 9 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 | « no previous file | third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/sim/SimCompositor.h
diff --git a/third_party/WebKit/Source/web/tests/sim/SimCompositor.h b/third_party/WebKit/Source/web/tests/sim/SimCompositor.h
index 914fab152f30a91a53a67e8b88ec1ae83529e63d..6a3a5cdc813156409b20da0c15ad4a5262848d09 100644
--- a/third_party/WebKit/Source/web/tests/sim/SimCompositor.h
+++ b/third_party/WebKit/Source/web/tests/sim/SimCompositor.h
@@ -30,7 +30,9 @@ class SimCompositor final : public WebLayerTreeView {
// Execute the BeginMainFrame processing steps, an approximation of what
// cc::ThreadProxy::BeginMainFrame would do.
+ // If time is not specified a 60Hz frame rate time progression is used.
SimDisplayItemList beginFrame();
+ SimDisplayItemList beginFrame(double timeInSeconds);
esprehn 2017/03/14 05:54:12 If we make this: (double timeInSeconds = 0.016)
bool needsBeginFrame() const { return m_needsBeginFrame; }
bool deferCommits() const { return m_deferCommits; }
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698