Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Side by Side Diff: cc/scheduler/scheduler_settings.cc

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/scheduler/scheduler.cc ('k') | cc/scheduler/scheduler_state_machine.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « cc/scheduler/scheduler.cc ('k') | cc/scheduler/scheduler_state_machine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698