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 "CCFrameRateController.h" |
9 #include "CCSchedulerStateMachine.h" | 9 #include "CCSchedulerStateMachine.h" |
10 | 10 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 void updateResourcesComplete(); | 92 void updateResourcesComplete(); |
93 | 93 |
94 private: | 94 private: |
95 CCScheduler(CCSchedulerClient*, PassOwnPtr<CCFrameRateController>); | 95 CCScheduler(CCSchedulerClient*, PassOwnPtr<CCFrameRateController>); |
96 | 96 |
97 void processScheduledActions(); | 97 void processScheduledActions(); |
98 | 98 |
99 CCSchedulerClient* m_client; | 99 CCSchedulerClient* m_client; |
100 OwnPtr<CCFrameRateController> m_frameRateController; | 100 OwnPtr<CCFrameRateController> m_frameRateController; |
101 CCSchedulerStateMachine m_stateMachine; | 101 CCSchedulerStateMachine m_stateMachine; |
102 bool m_hasMoreResourceUpdates; | 102 bool m_updateResourcesCompletePending; |
103 bool m_updateMoreResourcesPending; | |
104 }; | 103 }; |
105 | 104 |
106 } | 105 } |
107 | 106 |
108 #endif // CCScheduler_h | 107 #endif // CCScheduler_h |
OLD | NEW |