| 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/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 #include "cc/base/cc_export.h" | 13 #include "cc/base/cc_export.h" |
| 14 #include "cc/output/begin_frame_args.h" | 14 #include "cc/output/begin_frame_args.h" |
| 15 #include "cc/scheduler/draw_result.h" | 15 #include "cc/scheduler/draw_result.h" |
| 16 #include "cc/scheduler/scheduler_settings.h" | 16 #include "cc/scheduler/scheduler_settings.h" |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 namespace debug { | 19 namespace debug { |
| 20 class ConvertableToTraceForamt; | 20 class ConvertableToTraceFormat; |
| 21 class TracedValue; | 21 class TracedValue; |
| 22 } | 22 } |
| 23 class Value; | 23 class Value; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace cc { | 26 namespace cc { |
| 27 | 27 |
| 28 // The SchedulerStateMachine decides how to coordinate main thread activites | 28 // The SchedulerStateMachine decides how to coordinate main thread activites |
| 29 // like painting/running javascript with rendering and input activities on the | 29 // like painting/running javascript with rendering and input activities on the |
| 30 // impl thread. | 30 // impl thread. |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 bool skip_begin_main_frame_to_reduce_latency_; | 313 bool skip_begin_main_frame_to_reduce_latency_; |
| 314 bool continuous_painting_; | 314 bool continuous_painting_; |
| 315 | 315 |
| 316 private: | 316 private: |
| 317 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine); | 317 DISALLOW_COPY_AND_ASSIGN(SchedulerStateMachine); |
| 318 }; | 318 }; |
| 319 | 319 |
| 320 } // namespace cc | 320 } // namespace cc |
| 321 | 321 |
| 322 #endif // CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_ | 322 #endif // CC_SCHEDULER_SCHEDULER_STATE_MACHINE_H_ |
| OLD | NEW |