OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/about_flags.h" | 5 #include "chrome/browser/about_flags.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 SINGLE_VALUE_TYPE(switches::kForceCompositingMode) | 148 SINGLE_VALUE_TYPE(switches::kForceCompositingMode) |
149 }, | 149 }, |
150 { | 150 { |
151 "composited-layer-borders", | 151 "composited-layer-borders", |
152 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, | 152 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, |
153 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, | 153 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, |
154 kOsAll, | 154 kOsAll, |
155 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders) | 155 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders) |
156 }, | 156 }, |
157 { | 157 { |
158 "accelerated-drawing", | |
159 IDS_FLAGS_ACCELERATED_DRAWING_NAME, | |
160 IDS_FLAGS_ACCELERATED_DRAWING_DESCRIPTION, | |
161 kOsWin | kOsLinux | kOsCrOS, // Not available on Mac until it uses Skia. | |
162 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedDrawing) | |
163 }, | |
164 { | |
165 "show-fps-counter", | 158 "show-fps-counter", |
166 IDS_FLAGS_SHOW_FPS_COUNTER, | 159 IDS_FLAGS_SHOW_FPS_COUNTER, |
167 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, | 160 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, |
168 kOsAll, | 161 kOsAll, |
169 SINGLE_VALUE_TYPE(switches::kShowFPSCounter) | 162 SINGLE_VALUE_TYPE(switches::kShowFPSCounter) |
170 }, | 163 }, |
171 { | 164 { |
172 "disable-gpu-vsync", | 165 "disable-gpu-vsync", |
173 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME, | 166 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME, |
174 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION, | 167 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION, |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 } | 777 } |
785 | 778 |
786 const Experiment* GetExperiments(size_t* count) { | 779 const Experiment* GetExperiments(size_t* count) { |
787 *count = num_experiments; | 780 *count = num_experiments; |
788 return experiments; | 781 return experiments; |
789 } | 782 } |
790 | 783 |
791 } // namespace testing | 784 } // namespace testing |
792 | 785 |
793 } // namespace about_flags | 786 } // namespace about_flags |
OLD | NEW |