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

Unified Diff: trunk/src/cc/test/scheduler_test_common.cc

Issue 17204002: Revert 206020 "cc: Emulate BeginFrame in OutputSurfaces that don..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 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 | « trunk/src/cc/test/scheduler_test_common.h ('k') | trunk/src/cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/cc/test/scheduler_test_common.cc
===================================================================
--- trunk/src/cc/test/scheduler_test_common.cc (revision 206654)
+++ trunk/src/cc/test/scheduler_test_common.cc (working copy)
@@ -35,6 +35,16 @@
bool FakeThread::BelongsToCurrentThread() const { return true; }
+void FakeTimeSource::SetClient(TimeSourceClient* client) { client_ = client; }
+
+void FakeTimeSource::SetActive(bool b) { active_ = b; }
+
+bool FakeTimeSource::Active() const { return active_; }
+
+base::TimeTicks FakeTimeSource::LastTickTime() { return base::TimeTicks(); }
+
+base::TimeTicks FakeTimeSource::NextTickTime() { return base::TimeTicks(); }
+
base::TimeTicks FakeDelayBasedTimeSource::Now() const { return now_; }
} // namespace cc
« no previous file with comments | « trunk/src/cc/test/scheduler_test_common.h ('k') | trunk/src/cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698