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

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: Rebased 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
« no previous file with comments | « cc/switches.h ('k') | cc/top_controls_manager.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/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 27 matching lines...) Expand all
73 79
74 // Schedule rasterization jobs according to their estimated processing cost. 80 // Schedule rasterization jobs according to their estimated processing cost.
75 const char kUseCheapnessEstimator[] = "use-cheapness-estimator"; 81 const char kUseCheapnessEstimator[] = "use-cheapness-estimator";
76 82
77 // The scale factor for low resolution tile contents. 83 // The scale factor for low resolution tile contents.
78 const char kLowResolutionContentsScaleFactor[] = 84 const char kLowResolutionContentsScaleFactor[] =
79 "low-resolution-contents-scale-factor"; 85 "low-resolution-contents-scale-factor";
80 86
81 } // namespace switches 87 } // namespace switches
82 } // namespace cc 88 } // namespace cc
OLDNEW
« no previous file with comments | « cc/switches.h ('k') | cc/top_controls_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698