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 12 matching lines...) Expand all Loading... |
23 const char kEnablePartialSwap[] = "enable-partial-swap"; | 23 const char kEnablePartialSwap[] = "enable-partial-swap"; |
24 | 24 |
25 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; | 25 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; |
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 // Enable solid tile color prediction metrics |
| 34 const char kEnableSolidColorBenchmarking[] = "enable-solid-color-benchmarking"; |
| 35 |
33 // The height of the movable top controls. | 36 // The height of the movable top controls. |
34 const char kTopControlsHeight[] = "top-controls-height"; | 37 const char kTopControlsHeight[] = "top-controls-height"; |
35 | 38 |
36 // Percentage of the top controls need to be hidden before they will auto hide. | 39 // Percentage of the top controls need to be hidden before they will auto hide. |
37 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold"; | 40 const char kTopControlsHideThreshold[] = "top-controls-hide-threshold"; |
38 | 41 |
39 // Percentage of the top controls need to be shown before they will auto show. | 42 // Percentage of the top controls need to be shown before they will auto show. |
40 const char kTopControlsShowThreshold[] = "top-controls-show-threshold"; | 43 const char kTopControlsShowThreshold[] = "top-controls-show-threshold"; |
41 | 44 |
42 // Number of worker threads used to rasterize content. | 45 // Number of worker threads used to rasterize content. |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 82 |
80 // Schedule rasterization jobs according to their estimated processing cost. | 83 // Schedule rasterization jobs according to their estimated processing cost. |
81 const char kUseCheapnessEstimator[] = "use-cheapness-estimator"; | 84 const char kUseCheapnessEstimator[] = "use-cheapness-estimator"; |
82 | 85 |
83 // The scale factor for low resolution tile contents. | 86 // The scale factor for low resolution tile contents. |
84 const char kLowResolutionContentsScaleFactor[] = | 87 const char kLowResolutionContentsScaleFactor[] = |
85 "low-resolution-contents-scale-factor"; | 88 "low-resolution-contents-scale-factor"; |
86 | 89 |
87 } // namespace switches | 90 } // namespace switches |
88 } // namespace cc | 91 } // namespace cc |
OLD | NEW |