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

Unified Diff: cc/test/scheduler_test_common.h

Issue 839143002: Roll Chrome into Mojo. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 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
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/test/scheduler_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/scheduler_test_common.h
diff --git a/cc/test/scheduler_test_common.h b/cc/test/scheduler_test_common.h
index d1e599d20f74c8337bed04f0ae7edd4f0055ae88..93cff9b47b8a0fe4de8ab89a5d5331965808cd8e 100644
--- a/cc/test/scheduler_test_common.h
+++ b/cc/test/scheduler_test_common.h
@@ -143,6 +143,8 @@ class TestSchedulerFrameSourcesConstructor
BeginFrameSource* ConstructPrimaryFrameSource(Scheduler* scheduler) override;
BeginFrameSource* ConstructBackgroundFrameSource(
Scheduler* scheduler) override;
+ BeginFrameSource* ConstructUnthrottledFrameSource(
+ Scheduler* scheduler) override;
OrderedSimpleTaskRunner* test_task_runner_;
TestNowSource* now_src_;
@@ -185,6 +187,7 @@ class TestScheduler : public Scheduler {
bool CanStart() const { return state_machine_.CanStartForTesting(); }
BeginFrameSource& frame_source() { return *frame_source_; }
+ bool FrameProductionThrottled() { return throttle_frame_production_; }
~TestScheduler() override;
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/test/scheduler_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698