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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintProxy) | 141 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintProxy) |
142 }, | 142 }, |
143 { | 143 { |
144 "crxless-web-apps", | 144 "crxless-web-apps", |
145 IDS_FLAGS_CRXLESS_WEB_APPS_NAME, | 145 IDS_FLAGS_CRXLESS_WEB_APPS_NAME, |
146 IDS_FLAGS_CRXLESS_WEB_APPS_DESCRIPTION, | 146 IDS_FLAGS_CRXLESS_WEB_APPS_DESCRIPTION, |
147 kOsAll, | 147 kOsAll, |
148 SINGLE_VALUE_TYPE(switches::kEnableCrxlessWebApps) | 148 SINGLE_VALUE_TYPE(switches::kEnableCrxlessWebApps) |
149 }, | 149 }, |
150 { | 150 { |
151 "gpu-compositing", | |
152 IDS_FLAGS_ACCELERATED_COMPOSITING_NAME, | |
153 IDS_FLAGS_ACCELERATED_COMPOSITING_DESCRIPTION, | |
154 kOsAll, | |
155 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedLayers) | |
156 }, | |
157 { | |
158 "composited-layer-borders", | 151 "composited-layer-borders", |
159 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, | 152 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, |
160 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, | 153 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, |
161 kOsAll, | 154 kOsAll, |
162 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders) | 155 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders) |
163 }, | 156 }, |
164 { | 157 { |
165 "gpu-canvas-2d", // FLAGS:RECORD_UMA | 158 "gpu-canvas-2d", // FLAGS:RECORD_UMA |
166 IDS_FLAGS_ACCELERATED_CANVAS_2D_NAME, | 159 IDS_FLAGS_ACCELERATED_CANVAS_2D_NAME, |
167 IDS_FLAGS_ACCELERATED_CANVAS_2D_DESCRIPTION, | 160 IDS_FLAGS_ACCELERATED_CANVAS_2D_DESCRIPTION, |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 } | 678 } |
686 | 679 |
687 const Experiment* GetExperiments(size_t* count) { | 680 const Experiment* GetExperiments(size_t* count) { |
688 *count = num_experiments; | 681 *count = num_experiments; |
689 return experiments; | 682 return experiments; |
690 } | 683 } |
691 | 684 |
692 } // namespace testing | 685 } // namespace testing |
693 | 686 |
694 } // namespace about_flags | 687 } // namespace about_flags |
OLD | NEW |