OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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::kEnableCrxlessWebApps) | 148 SINGLE_VALUE_TYPE(switches::kEnableCrxlessWebApps) |
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 "show-fps-counter", |
| 159 IDS_FLAGS_SHOW_FPS_COUNTER, |
| 160 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, |
| 161 kOsAll, |
| 162 SINGLE_VALUE_TYPE(switches::kShowFPSCounter) |
| 163 }, |
| 164 { |
158 "gpu-canvas-2d", // FLAGS:RECORD_UMA | 165 "gpu-canvas-2d", // FLAGS:RECORD_UMA |
159 IDS_FLAGS_ACCELERATED_CANVAS_2D_NAME, | 166 IDS_FLAGS_ACCELERATED_CANVAS_2D_NAME, |
160 IDS_FLAGS_ACCELERATED_CANVAS_2D_DESCRIPTION, | 167 IDS_FLAGS_ACCELERATED_CANVAS_2D_DESCRIPTION, |
161 kOsWin | kOsLinux | kOsCrOS, | 168 kOsWin | kOsLinux | kOsCrOS, |
162 SINGLE_VALUE_TYPE(switches::kEnableAccelerated2dCanvas) | 169 SINGLE_VALUE_TYPE(switches::kEnableAccelerated2dCanvas) |
163 }, | 170 }, |
164 // FIXME(scheib): Add Flags entry for WebGL, | 171 // FIXME(scheib): Add Flags entry for WebGL, |
165 // or pull it and the strings in generated_resources.grd by Dec 2010 | 172 // or pull it and the strings in generated_resources.grd by Dec 2010 |
166 // { | 173 // { |
167 // "webgl", | 174 // "webgl", |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 } | 685 } |
679 | 686 |
680 const Experiment* GetExperiments(size_t* count) { | 687 const Experiment* GetExperiments(size_t* count) { |
681 *count = num_experiments; | 688 *count = num_experiments; |
682 return experiments; | 689 return experiments; |
683 } | 690 } |
684 | 691 |
685 } // namespace testing | 692 } // namespace testing |
686 | 693 |
687 } // namespace about_flags | 694 } // namespace about_flags |
OLD | NEW |