| 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 CCScheduler_h | 5 #ifndef CCScheduler_h |
| 6 #define CCScheduler_h | 6 #define CCScheduler_h |
| 7 | 7 |
| 8 #include "CCFrameRateController.h" |
| 8 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/time.h" | 11 #include "base/time.h" |
| 11 #include "CCFrameRateController.h" | 12 #include "cc/scheduler_state_machine.h" |
| 12 #include "CCSchedulerStateMachine.h" | |
| 13 | 13 |
| 14 namespace cc { | 14 namespace cc { |
| 15 | 15 |
| 16 class CCThread; | 16 class CCThread; |
| 17 | 17 |
| 18 struct CCScheduledActionDrawAndSwapResult { | 18 struct CCScheduledActionDrawAndSwapResult { |
| 19 CCScheduledActionDrawAndSwapResult() | 19 CCScheduledActionDrawAndSwapResult() |
| 20 : didDraw(false) | 20 : didDraw(false) |
| 21 , didSwap(false) | 21 , didSwap(false) |
| 22 { | 22 { |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 scoped_ptr<CCFrameRateController> m_frameRateController; | 99 scoped_ptr<CCFrameRateController> m_frameRateController; |
| 100 CCSchedulerStateMachine m_stateMachine; | 100 CCSchedulerStateMachine m_stateMachine; |
| 101 bool m_insideProcessScheduledActions; | 101 bool m_insideProcessScheduledActions; |
| 102 | 102 |
| 103 DISALLOW_COPY_AND_ASSIGN(CCScheduler); | 103 DISALLOW_COPY_AND_ASSIGN(CCScheduler); |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 } // namespace cc | 106 } // namespace cc |
| 107 | 107 |
| 108 #endif // CCScheduler_h | 108 #endif // CCScheduler_h |
| OLD | NEW |