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_SCHEDULER_STATE_MACHINE_H_ | 5 #ifndef CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_ |
6 #define CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_ | 6 #define CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/time.h" | 11 #include "base/time/time.h" |
12 #include "cc/base/cc_export.h" | 12 #include "cc/base/cc_export.h" |
13 #include "cc/output/begin_frame_args.h" | 13 #include "cc/output/begin_frame_args.h" |
14 #include "cc/scheduler/scheduler_settings.h" | 14 #include "cc/scheduler/scheduler_settings.h" |
15 | 15 |
16 namespace cc { | 16 namespace cc { |
17 | 17 |
18 // The SchedulerStateMachine decides how to coordinate main thread activites | 18 // The SchedulerStateMachine decides how to coordinate main thread activites |
19 // like painting/running javascript with rendering and input activities on the | 19 // like painting/running javascript with rendering and input activities on the |
20 // impl thread. | 20 // impl thread. |
21 // | 21 // |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 OutputSurfaceState output_surface_state_; | 199 OutputSurfaceState output_surface_state_; |
200 bool did_create_and_initialize_first_output_surface_; | 200 bool did_create_and_initialize_first_output_surface_; |
201 | 201 |
202 private: | 202 private: |
203 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine); | 203 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine); |
204 }; | 204 }; |
205 | 205 |
206 } // namespace cc | 206 } // namespace cc |
207 | 207 |
208 #endif // CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_ | 208 #endif // CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_ |
OLD | NEW |