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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedPainting) | 191 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedPainting) |
192 }, | 192 }, |
193 { | 193 { |
194 "show-fps-counter", | 194 "show-fps-counter", |
195 IDS_FLAGS_SHOW_FPS_COUNTER, | 195 IDS_FLAGS_SHOW_FPS_COUNTER, |
196 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, | 196 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, |
197 kOsAll, | 197 kOsAll, |
198 SINGLE_VALUE_TYPE(switches::kShowFPSCounter) | 198 SINGLE_VALUE_TYPE(switches::kShowFPSCounter) |
199 }, | 199 }, |
200 { | 200 { |
| 201 "accelerated-filters", |
| 202 IDS_FLAGS_ACCELERATED_FILTERS, |
| 203 IDS_FLAGS_ACCELERATED_FILTERS_DESCRIPTION, |
| 204 kOsAll, |
| 205 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedFilters) |
| 206 }, |
| 207 { |
201 "disable-gpu-vsync", | 208 "disable-gpu-vsync", |
202 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME, | 209 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME, |
203 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION, | 210 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION, |
204 kOsAll, | 211 kOsAll, |
205 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync) | 212 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync) |
206 }, | 213 }, |
207 { | 214 { |
208 "disable-webgl", | 215 "disable-webgl", |
209 IDS_FLAGS_DISABLE_WEBGL_NAME, | 216 IDS_FLAGS_DISABLE_WEBGL_NAME, |
210 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, | 217 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, |
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
927 } | 934 } |
928 | 935 |
929 const Experiment* GetExperiments(size_t* count) { | 936 const Experiment* GetExperiments(size_t* count) { |
930 *count = num_experiments; | 937 *count = num_experiments; |
931 return experiments; | 938 return experiments; |
932 } | 939 } |
933 | 940 |
934 } // namespace testing | 941 } // namespace testing |
935 | 942 |
936 } // namespace about_flags | 943 } // namespace about_flags |
OLD | NEW |