OLD | NEW |
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/base/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/layer_tree_host.h" |
14 #include "cc/scheduler_settings.h" | 14 #include "cc/scheduler_settings.h" |
15 #include "cc/scheduler_state_machine.h" | 15 #include "cc/scheduler_state_machine.h" |
16 | 16 |
17 namespace cc { | 17 namespace cc { |
18 | 18 |
19 class Thread; | 19 class Thread; |
20 | 20 |
21 struct ScheduledActionDrawAndSwapResult { | 21 struct ScheduledActionDrawAndSwapResult { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 scoped_ptr<FrameRateController> m_frameRateController; | 113 scoped_ptr<FrameRateController> m_frameRateController; |
114 SchedulerStateMachine m_stateMachine; | 114 SchedulerStateMachine m_stateMachine; |
115 bool m_insideProcessScheduledActions; | 115 bool m_insideProcessScheduledActions; |
116 | 116 |
117 DISALLOW_COPY_AND_ASSIGN(Scheduler); | 117 DISALLOW_COPY_AND_ASSIGN(Scheduler); |
118 }; | 118 }; |
119 | 119 |
120 } // namespace cc | 120 } // namespace cc |
121 | 121 |
122 #endif // CC_SCHEDULER_H_ | 122 #endif // CC_SCHEDULER_H_ |
OLD | NEW |