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

Side by Side Diff: cc/scheduler/scheduler.h

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « cc/scheduler/delay_based_time_source.cc ('k') | cc/scheduler/scheduler.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_SCHEDULER_SCHEDULER_H_ 5 #ifndef CC_SCHEDULER_SCHEDULER_H_
6 #define CC_SCHEDULER_SCHEDULER_H_ 6 #define CC_SCHEDULER_SCHEDULER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 10
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 bool BeginImplFrameDeadlinePending() const { 155 bool BeginImplFrameDeadlinePending() const {
156 return !begin_impl_frame_deadline_task_.IsCancelled(); 156 return !begin_impl_frame_deadline_task_.IsCancelled();
157 } 157 }
158 158
159 base::TimeTicks AnticipatedDrawTime() const; 159 base::TimeTicks AnticipatedDrawTime() const;
160 160
161 void NotifyBeginMainFrameStarted(); 161 void NotifyBeginMainFrameStarted();
162 162
163 base::TimeTicks LastBeginImplFrameTime(); 163 base::TimeTicks LastBeginImplFrameTime();
164 164
165 void SetDeferCommits(bool defer_commits);
166
165 scoped_refptr<base::debug::ConvertableToTraceFormat> AsValue() const; 167 scoped_refptr<base::debug::ConvertableToTraceFormat> AsValue() const;
166 void AsValueInto(base::debug::TracedValue* value) const override; 168 void AsValueInto(base::debug::TracedValue* value) const override;
167 169
168 void SetContinuousPainting(bool continuous_painting) { 170 void SetContinuousPainting(bool continuous_painting) {
169 state_machine_.SetContinuousPainting(continuous_painting); 171 state_machine_.SetContinuousPainting(continuous_painting);
170 } 172 }
171 173
172 void SetChildrenNeedBeginFrames(bool children_need_begin_frames); 174 void SetChildrenNeedBeginFrames(bool children_need_begin_frames);
173 175
174 protected: 176 protected:
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 258
257 friend class SchedulerFrameSourcesConstructor; 259 friend class SchedulerFrameSourcesConstructor;
258 friend class TestSchedulerFrameSourcesConstructor; 260 friend class TestSchedulerFrameSourcesConstructor;
259 261
260 DISALLOW_COPY_AND_ASSIGN(Scheduler); 262 DISALLOW_COPY_AND_ASSIGN(Scheduler);
261 }; 263 };
262 264
263 } // namespace cc 265 } // namespace cc
264 266
265 #endif // CC_SCHEDULER_SCHEDULER_H_ 267 #endif // CC_SCHEDULER_SCHEDULER_H_
OLDNEW
« no previous file with comments | « cc/scheduler/delay_based_time_source.cc ('k') | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698