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

Side by Side Diff: cc/scheduler.h

Issue 11361223: cc: Remove cc::settings, move them to LayerTreeSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix-unittests Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « cc/layer_unittest.cc ('k') | cc/scheduler_state_machine.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_H_ 5 #ifndef CC_SCHEDULER_H_
6 #define CC_SCHEDULER_H_ 6 #define CC_SCHEDULER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time.h" 10 #include "base/time.h"
11 #include "cc/cc_export.h" 11 #include "cc/cc_export.h"
12 #include "cc/frame_rate_controller.h" 12 #include "cc/frame_rate_controller.h"
13 #include "cc/layer_tree_host.h"
13 #include "cc/scheduler_state_machine.h" 14 #include "cc/scheduler_state_machine.h"
14 15
15 namespace cc { 16 namespace cc {
16 17
17 class Thread; 18 class Thread;
18 19
19 struct ScheduledActionDrawAndSwapResult { 20 struct ScheduledActionDrawAndSwapResult {
20 ScheduledActionDrawAndSwapResult() 21 ScheduledActionDrawAndSwapResult()
21 : didDraw(false) 22 : didDraw(false)
22 , didSwap(false) 23 , didSwap(false)
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 scoped_ptr<FrameRateController> m_frameRateController; 101 scoped_ptr<FrameRateController> m_frameRateController;
101 SchedulerStateMachine m_stateMachine; 102 SchedulerStateMachine m_stateMachine;
102 bool m_insideProcessScheduledActions; 103 bool m_insideProcessScheduledActions;
103 104
104 DISALLOW_COPY_AND_ASSIGN(Scheduler); 105 DISALLOW_COPY_AND_ASSIGN(Scheduler);
105 }; 106 };
106 107
107 } // namespace cc 108 } // namespace cc
108 109
109 #endif // CC_SCHEDULER_H_ 110 #endif // CC_SCHEDULER_H_
OLDNEW
« no previous file with comments | « cc/layer_unittest.cc ('k') | cc/scheduler_state_machine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698