| 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 #include "cc/scheduler/scheduler_settings.h" | 5 #include "cc/scheduler/scheduler_settings.h" |
| 6 | 6 |
| 7 #include "base/debug/trace_event_argument.h" | 7 #include "base/trace_event/trace_event_argument.h" |
| 8 #include "cc/trees/layer_tree_settings.h" | 8 #include "cc/trees/layer_tree_settings.h" |
| 9 | 9 |
| 10 namespace cc { | 10 namespace cc { |
| 11 | 11 |
| 12 SchedulerSettings::SchedulerSettings() | 12 SchedulerSettings::SchedulerSettings() |
| 13 : use_external_begin_frame_source(false), | 13 : use_external_begin_frame_source(false), |
| 14 forward_begin_frames_to_children(false), | 14 forward_begin_frames_to_children(false), |
| 15 main_frame_before_activation_enabled(false), | 15 main_frame_before_activation_enabled(false), |
| 16 impl_side_painting(false), | 16 impl_side_painting(false), |
| 17 timeout_and_draw_when_animation_checkerboards(true), | 17 timeout_and_draw_when_animation_checkerboards(true), |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 state->SetBoolean("disable_hi_res_timer_tasks_on_battery", | 67 state->SetBoolean("disable_hi_res_timer_tasks_on_battery", |
| 68 disable_hi_res_timer_tasks_on_battery); | 68 disable_hi_res_timer_tasks_on_battery); |
| 69 state->SetBoolean("main_thread_should_always_be_low_latency", | 69 state->SetBoolean("main_thread_should_always_be_low_latency", |
| 70 main_thread_should_always_be_low_latency); | 70 main_thread_should_always_be_low_latency); |
| 71 state->SetInteger("background_frame_interval", | 71 state->SetInteger("background_frame_interval", |
| 72 background_frame_interval.InMicroseconds()); | 72 background_frame_interval.InMicroseconds()); |
| 73 return state; | 73 return state; |
| 74 } | 74 } |
| 75 | 75 |
| 76 } // namespace cc | 76 } // namespace cc |
| OLD | NEW |