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

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

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test Created 4 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 | « cc/base/switches.h ('k') | cc/blimp/layer_tree_host_remote.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 (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 {
(...skipping 12 matching lines...) Expand all
23 23
24 // Disables sending the next BeginMainFrame before the previous commit 24 // Disables sending the next BeginMainFrame before the previous commit
25 // activates. Overrides the kEnableMainFrameBeforeActivation flag. 25 // activates. Overrides the kEnableMainFrameBeforeActivation flag.
26 const char kDisableMainFrameBeforeActivation[] = 26 const char kDisableMainFrameBeforeActivation[] =
27 "disable-main-frame-before-activation"; 27 "disable-main-frame-before-activation";
28 28
29 // Enables sending the next BeginMainFrame before the previous commit activates. 29 // Enables sending the next BeginMainFrame before the previous commit activates.
30 const char kEnableMainFrameBeforeActivation[] = 30 const char kEnableMainFrameBeforeActivation[] =
31 "enable-main-frame-before-activation"; 31 "enable-main-frame-before-activation";
32 32
33 // Percentage of the top controls need to be hidden before they will auto hide. 33 // Percentage of the browser controls need to be hidden before they will auto
34 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold"; 34 // hide.
35 const char kBrowserControlsHideThreshold[] = "top-controls-hide-threshold";
35 36
36 // Percentage of the top controls need to be shown before they will auto show. 37 // Percentage of the browser controls need to be shown before they will auto
37 const char kTopControlsShowThreshold[] = "top-controls-show-threshold"; 38 // show.
39 const char kBrowserControlsShowThreshold[] = "top-controls-show-threshold";
38 40
39 // Re-rasters everything multiple times to simulate a much slower machine. 41 // Re-rasters everything multiple times to simulate a much slower machine.
40 // Give a scale factor to cause raster to take that many times longer to 42 // Give a scale factor to cause raster to take that many times longer to
41 // complete, such as --slow-down-raster-scale-factor=25. 43 // complete, such as --slow-down-raster-scale-factor=25.
42 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; 44 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor";
43 45
44 // Compress tile textures for GPUs supporting it. 46 // Compress tile textures for GPUs supporting it.
45 const char kEnableTileCompression[] = "enable-tile-compression"; 47 const char kEnableTileCompression[] = "enable-tile-compression";
46 48
47 // Enable color space aware rasterization and compositing. 49 // Enable color space aware rasterization and compositing.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; 94 const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout";
93 95
94 // Increases timeout for memory checkers. 96 // Increases timeout for memory checkers.
95 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout"; 97 const char kCCLayerTreeTestLongTimeout[] = "cc-layer-tree-test-long-timeout";
96 98
97 // Makes pixel tests write their output instead of read it. 99 // Makes pixel tests write their output instead of read it.
98 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests"; 100 const char kCCRebaselinePixeltests[] = "cc-rebaseline-pixeltests";
99 101
100 } // namespace switches 102 } // namespace switches
101 } // namespace cc 103 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/switches.h ('k') | cc/blimp/layer_tree_host_remote.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698