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

Side by Side Diff: cc/base/switches.cc

Issue 986433004: Revert of Always create top controls manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/base/switches.h ('k') | cc/input/top_controls_manager.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/base/switches.h" 5 #include "cc/base/switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace cc { 9 namespace cc {
10 namespace switches { 10 namespace switches {
11 11
12 const char kDisableThreadedAnimation[] = "disable-threaded-animation"; 12 const char kDisableThreadedAnimation[] = "disable-threaded-animation";
13 13
14 // Disables layer-edge anti-aliasing in the compositor. 14 // Disables layer-edge anti-aliasing in the compositor.
15 const char kDisableCompositedAntialiasing[] = 15 const char kDisableCompositedAntialiasing[] =
16 "disable-composited-antialiasing"; 16 "disable-composited-antialiasing";
17 17
18 // Disables sending the next BeginMainFrame before the previous commit 18 // Disables sending the next BeginMainFrame before the previous commit
19 // activates. Overrides the kEnableMainFrameBeforeActivation flag. 19 // activates. Overrides the kEnableMainFrameBeforeActivation flag.
20 const char kDisableMainFrameBeforeActivation[] = 20 const char kDisableMainFrameBeforeActivation[] =
21 "disable-main-frame-before-activation"; 21 "disable-main-frame-before-activation";
22 22
23 // Enables sending the next BeginMainFrame before the previous commit activates. 23 // Enables sending the next BeginMainFrame before the previous commit activates.
24 const char kEnableMainFrameBeforeActivation[] = 24 const char kEnableMainFrameBeforeActivation[] =
25 "enable-main-frame-before-activation"; 25 "enable-main-frame-before-activation";
26 26
27 const char kEnableTopControlsPositionCalculation[] =
28 "enable-top-controls-position-calculation";
29
27 // Percentage of the top controls need to be hidden before they will auto hide. 30 // Percentage of the top controls need to be hidden before they will auto hide.
28 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold"; 31 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold";
29 32
30 // Percentage of the top controls need to be shown before they will auto show. 33 // Percentage of the top controls need to be shown before they will auto show.
31 const char kTopControlsShowThreshold[] = "top-controls-show-threshold"; 34 const char kTopControlsShowThreshold[] = "top-controls-show-threshold";
32 35
33 // Re-rasters everything multiple times to simulate a much slower machine. 36 // Re-rasters everything multiple times to simulate a much slower machine.
34 // Give a scale factor to cause raster to take that many times longer to 37 // Give a scale factor to cause raster to take that many times longer to
35 // complete, such as --slow-down-raster-scale-factor=25. 38 // complete, such as --slow-down-raster-scale-factor=25.
36 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; 39 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor";
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 "ui-show-replica-screenspace-rects"; 105 "ui-show-replica-screenspace-rects";
103 106
104 // Prevents the layer tree unit tests from timing out. 107 // Prevents the layer tree unit tests from timing out.
105 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; 108 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout";
106 109
107 // Makes pixel tests write their output instead of read it. 110 // Makes pixel tests write their output instead of read it.
108 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; 111 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests";
109 112
110 } // namespace switches 113 } // namespace switches
111 } // namespace cc 114 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | cc/input/top_controls_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698