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

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

Issue 628443002: replace OVERRIDE and FINAL with override and final in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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.h ('k') | cc/scheduler/scheduler_unittest.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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 bool WillDrawIfNeeded() const; 144 bool WillDrawIfNeeded() const;
145 145
146 base::TimeTicks AnticipatedDrawTime() const; 146 base::TimeTicks AnticipatedDrawTime() const;
147 147
148 void NotifyBeginMainFrameStarted(); 148 void NotifyBeginMainFrameStarted();
149 149
150 base::TimeTicks LastBeginImplFrameTime(); 150 base::TimeTicks LastBeginImplFrameTime();
151 151
152 scoped_refptr<base::debug::ConvertableToTraceFormat> AsValue() const; 152 scoped_refptr<base::debug::ConvertableToTraceFormat> AsValue() const;
153 virtual void AsValueInto(base::debug::TracedValue* value) const OVERRIDE; 153 virtual void AsValueInto(base::debug::TracedValue* value) const override;
154 154
155 void SetContinuousPainting(bool continuous_painting) { 155 void SetContinuousPainting(bool continuous_painting) {
156 state_machine_.SetContinuousPainting(continuous_painting); 156 state_machine_.SetContinuousPainting(continuous_painting);
157 } 157 }
158 158
159 // BeginFrameObserverMixin 159 // BeginFrameObserverMixin
160 virtual bool OnBeginFrameMixInDelegate(const BeginFrameArgs& args) OVERRIDE; 160 virtual bool OnBeginFrameMixInDelegate(const BeginFrameArgs& args) override;
161 161
162 protected: 162 protected:
163 Scheduler(SchedulerClient* client, 163 Scheduler(SchedulerClient* client,
164 const SchedulerSettings& scheduler_settings, 164 const SchedulerSettings& scheduler_settings,
165 int layer_tree_host_id, 165 int layer_tree_host_id,
166 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, 166 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
167 SchedulerFrameSourcesConstructor* frame_sources_constructor); 167 SchedulerFrameSourcesConstructor* frame_sources_constructor);
168 168
169 // virtual for testing - Don't call these in the constructor or 169 // virtual for testing - Don't call these in the constructor or
170 // destructor! 170 // destructor!
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 236
237 friend class SchedulerFrameSourcesConstructor; 237 friend class SchedulerFrameSourcesConstructor;
238 friend class TestSchedulerFrameSourcesConstructor; 238 friend class TestSchedulerFrameSourcesConstructor;
239 239
240 DISALLOW_COPY_AND_ASSIGN(Scheduler); 240 DISALLOW_COPY_AND_ASSIGN(Scheduler);
241 }; 241 };
242 242
243 } // namespace cc 243 } // namespace cc
244 244
245 #endif // CC_SCHEDULER_SCHEDULER_H_ 245 #endif // CC_SCHEDULER_SCHEDULER_H_
OLDNEW
« no previous file with comments | « cc/scheduler/delay_based_time_source.h ('k') | cc/scheduler/scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698