OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SETTINGS_H_ | 5 #ifndef CC_SCHEDULER_SCHEDULER_SETTINGS_H_ |
6 #define CC_SCHEDULER_SCHEDULER_SETTINGS_H_ | 6 #define CC_SCHEDULER_SCHEDULER_SETTINGS_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "base/values.h" | 12 #include "base/values.h" |
13 #include "cc/base/cc_export.h" | 13 #include "cc/cc_export.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 namespace trace_event { | 16 namespace trace_event { |
17 class ConvertableToTraceFormat; | 17 class ConvertableToTraceFormat; |
18 } | 18 } |
19 } | 19 } |
20 | 20 |
21 namespace cc { | 21 namespace cc { |
22 | 22 |
23 class CC_EXPORT SchedulerSettings { | 23 class CC_EXPORT SchedulerSettings { |
(...skipping 12 matching lines...) Expand all Loading... |
36 | 36 |
37 int maximum_number_of_failed_draws_before_draw_is_forced = 3; | 37 int maximum_number_of_failed_draws_before_draw_is_forced = 3; |
38 base::TimeDelta background_frame_interval = base::TimeDelta::FromSeconds(1); | 38 base::TimeDelta background_frame_interval = base::TimeDelta::FromSeconds(1); |
39 | 39 |
40 std::unique_ptr<base::trace_event::ConvertableToTraceFormat> AsValue() const; | 40 std::unique_ptr<base::trace_event::ConvertableToTraceFormat> AsValue() const; |
41 }; | 41 }; |
42 | 42 |
43 } // namespace cc | 43 } // namespace cc |
44 | 44 |
45 #endif // CC_SCHEDULER_SCHEDULER_SETTINGS_H_ | 45 #endif // CC_SCHEDULER_SCHEDULER_SETTINGS_H_ |
OLD | NEW |