Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 // How much of the top controls need to be hidden before they will auto hide. | |
|
Ted C
2013/02/07 00:40:26
Maybe specify that this is a percentage? Same for
David Trainor- moved to gerrit
2013/02/11 19:38:28
Done.
| |
| 37 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold"; | |
| 38 | |
| 39 // How much 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 Loading... | |
| 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 |
| OLD | NEW |