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

Side by Side Diff: cc/switches.cc

Issue 12210050: Expose FS show/hide thresholds to Command Line (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments, added unit tests Created 7 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 | Annotate | Revision Log
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/switches.h" 5 #include "cc/switches.h"
6 6
7 namespace cc { 7 namespace cc {
8 namespace switches { 8 namespace switches {
9 9
10 // On platforms where checkerboards are used, prefer background colors instead 10 // On platforms where checkerboards are used, prefer background colors instead
(...skipping 15 matching lines...) Expand all
26 26
27 // Try to finish display pipeline before vsync tick 27 // Try to finish display pipeline before vsync tick
28 const char kEnableRightAlignedScheduling[] = "enable-right-aligned-scheduling"; 28 const char kEnableRightAlignedScheduling[] = "enable-right-aligned-scheduling";
29 29
30 const char kEnableTopControlsPositionCalculation[] = 30 const char kEnableTopControlsPositionCalculation[] =
31 "enable-top-controls-position-calculation"; 31 "enable-top-controls-position-calculation";
32 32
33 // The height of the movable top controls. 33 // The height of the movable top controls.
34 const char kTopControlsHeight[] = "top-controls-height"; 34 const char kTopControlsHeight[] = "top-controls-height";
35 35
36 // Percentage of the top controls need to be hidden before they will auto hide.
37 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold";
38
39 // Percentage of the top controls need to be shown before they will auto show.
40 const char kTopControlsShowThreshold[] = "top-controls-show-threshold";
41
36 // Number of worker threads used to rasterize content. 42 // Number of worker threads used to rasterize content.
37 const char kNumRasterThreads[] = "num-raster-threads"; 43 const char kNumRasterThreads[] = "num-raster-threads";
38 44
39 // Show rects in the HUD around layers whose properties have changed. 45 // Show rects in the HUD around layers whose properties have changed.
40 const char kShowPropertyChangedRects[] = "show-property-changed-rects"; 46 const char kShowPropertyChangedRects[] = "show-property-changed-rects";
41 47
42 // Show rects in the HUD around damage as it is recorded into each render 48 // Show rects in the HUD around damage as it is recorded into each render
43 // surface. 49 // surface.
44 const char kShowSurfaceDamageRects[] = "show-surface-damage-rects"; 50 const char kShowSurfaceDamageRects[] = "show-surface-damage-rects";
45 51
(...skipping 20 matching lines...) Expand all
66 // Re-rasters everything multiple times to simulate a much slower machine. 72 // Re-rasters everything multiple times to simulate a much slower machine.
67 // Give a scale factor to cause raster to take that many times longer to 73 // Give a scale factor to cause raster to take that many times longer to
68 // complete, such as --slow-down-raster-scale-factor=25. 74 // complete, such as --slow-down-raster-scale-factor=25.
69 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; 75 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor";
70 76
71 // Schedule rasterization jobs according to their estimated processing cost. 77 // Schedule rasterization jobs according to their estimated processing cost.
72 const char kUseCheapnessEstimator[] = "use-cheapness-estimator"; 78 const char kUseCheapnessEstimator[] = "use-cheapness-estimator";
73 79
74 } // namespace switches 80 } // namespace switches
75 } // namespace cc 81 } // namespace cc
OLDNEW
« no previous file with comments | « cc/switches.h ('k') | cc/top_controls_manager.h » ('j') | cc/top_controls_manager_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698