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

Side by Side Diff: blimp/client/compositor/blimp_layer_tree_settings.cc

Issue 1420883006: Move blimp_layer_tree_settings.h/cc to client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweaked a comment. Created 5 years, 1 month 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 | « blimp/client/compositor/blimp_layer_tree_settings.h ('k') | blimp/common/BUILD.gn » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "blimp/common/compositor/blimp_layer_tree_settings.h" 5 #include "blimp/client/compositor/blimp_layer_tree_settings.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/string_split.h" 11 #include "base/strings/string_split.h"
12 #include "base/sys_info.h" 12 #include "base/sys_info.h"
13 #include "cc/base/switches.h" 13 #include "cc/base/switches.h"
14 #include "cc/trees/layer_tree_settings.h" 14 #include "cc/trees/layer_tree_settings.h"
15 #include "content/public/common/content_switches.h" 15 #include "content/public/common/content_switches.h"
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 261
262 if (cmd.HasSwitch(switches::kEnableLowResTiling)) 262 if (cmd.HasSwitch(switches::kEnableLowResTiling))
263 settings->create_low_res_tiling = true; 263 settings->create_low_res_tiling = true;
264 if (cmd.HasSwitch(switches::kDisableLowResTiling)) 264 if (cmd.HasSwitch(switches::kDisableLowResTiling))
265 settings->create_low_res_tiling = false; 265 settings->create_low_res_tiling = false;
266 if (cmd.HasSwitch(cc::switches::kEnableBeginFrameScheduling)) 266 if (cmd.HasSwitch(cc::switches::kEnableBeginFrameScheduling))
267 settings->use_external_begin_frame_source = true; 267 settings->use_external_begin_frame_source = true;
268 } 268 }
269 269
270 } // namespace blimp 270 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/compositor/blimp_layer_tree_settings.h ('k') | blimp/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698