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