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

Side by Side Diff: cc/test/scheduler_test_common.h

Issue 1050833002: cc: Remove background ticking from LTHI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase onto master. Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « cc/scheduler/scheduler_unittest.cc ('k') | cc/test/scheduler_test_common.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TEST_SCHEDULER_TEST_COMMON_H_ 5 #ifndef CC_TEST_SCHEDULER_TEST_COMMON_H_
6 #define CC_TEST_SCHEDULER_TEST_COMMON_H_ 6 #define CC_TEST_SCHEDULER_TEST_COMMON_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 }; 134 };
135 135
136 class TestScheduler; 136 class TestScheduler;
137 class TestSchedulerFrameSourcesConstructor 137 class TestSchedulerFrameSourcesConstructor
138 : public SchedulerFrameSourcesConstructor { 138 : public SchedulerFrameSourcesConstructor {
139 public: 139 public:
140 ~TestSchedulerFrameSourcesConstructor() override; 140 ~TestSchedulerFrameSourcesConstructor() override;
141 141
142 protected: 142 protected:
143 BeginFrameSource* ConstructPrimaryFrameSource(Scheduler* scheduler) override; 143 BeginFrameSource* ConstructPrimaryFrameSource(Scheduler* scheduler) override;
144 BeginFrameSource* ConstructBackgroundFrameSource(
145 Scheduler* scheduler) override;
146 BeginFrameSource* ConstructUnthrottledFrameSource( 144 BeginFrameSource* ConstructUnthrottledFrameSource(
147 Scheduler* scheduler) override; 145 Scheduler* scheduler) override;
148 146
149 OrderedSimpleTaskRunner* test_task_runner_; 147 OrderedSimpleTaskRunner* test_task_runner_;
150 TestNowSource* now_src_; 148 TestNowSource* now_src_;
151 149
152 protected: 150 protected:
153 explicit TestSchedulerFrameSourcesConstructor( 151 explicit TestSchedulerFrameSourcesConstructor(
154 OrderedSimpleTaskRunner* test_task_runner, 152 OrderedSimpleTaskRunner* test_task_runner,
155 TestNowSource* now_src); 153 TestNowSource* now_src);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 const scoped_refptr<OrderedSimpleTaskRunner>& test_task_runner, 208 const scoped_refptr<OrderedSimpleTaskRunner>& test_task_runner,
211 TestSchedulerFrameSourcesConstructor* frame_sources_constructor, 209 TestSchedulerFrameSourcesConstructor* frame_sources_constructor,
212 scoped_ptr<BeginFrameSource> external_begin_frame_source); 210 scoped_ptr<BeginFrameSource> external_begin_frame_source);
213 211
214 scoped_refptr<TestNowSource> now_src_; 212 scoped_refptr<TestNowSource> now_src_;
215 }; 213 };
216 214
217 } // namespace cc 215 } // namespace cc
218 216
219 #endif // CC_TEST_SCHEDULER_TEST_COMMON_H_ 217 #endif // CC_TEST_SCHEDULER_TEST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/scheduler/scheduler_unittest.cc ('k') | cc/test/scheduler_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698