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 "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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 MULTI_VALUE_TYPE(kThreadedCompositingModeChoices) | 236 MULTI_VALUE_TYPE(kThreadedCompositingModeChoices) |
237 }, | 237 }, |
238 { | 238 { |
239 "disable-accelerated-2d-canvas", | 239 "disable-accelerated-2d-canvas", |
240 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_NAME, | 240 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_NAME, |
241 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_DESCRIPTION, | 241 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_DESCRIPTION, |
242 kOsAll, | 242 kOsAll, |
243 SINGLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas) | 243 SINGLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas) |
244 }, | 244 }, |
245 { | 245 { |
246 "disable-deferred-2d-canvas", | |
247 IDS_FLAGS_DISABLE_DEFERRED_2D_CANVAS_NAME, | |
248 IDS_FLAGS_DISABLE_DEFERRED_2D_CANVAS_DESCRIPTION, | |
249 kOsAll, | |
250 SINGLE_VALUE_TYPE(switches::kDisableDeferred2dCanvas) | |
251 }, | |
252 { | |
253 "disable-threaded-animation", | 246 "disable-threaded-animation", |
254 IDS_FLAGS_DISABLE_THREADED_ANIMATION_NAME, | 247 IDS_FLAGS_DISABLE_THREADED_ANIMATION_NAME, |
255 IDS_FLAGS_DISABLE_THREADED_ANIMATION_DESCRIPTION, | 248 IDS_FLAGS_DISABLE_THREADED_ANIMATION_DESCRIPTION, |
256 kOsAll, | 249 kOsAll, |
257 SINGLE_VALUE_TYPE(switches::kDisableThreadedAnimation) | 250 SINGLE_VALUE_TYPE(switches::kDisableThreadedAnimation) |
258 }, | 251 }, |
259 { | 252 { |
260 "composited-layer-borders", | 253 "composited-layer-borders", |
261 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, | 254 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, |
262 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, | 255 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, |
(...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1268 } | 1261 } |
1269 | 1262 |
1270 const Experiment* GetExperiments(size_t* count) { | 1263 const Experiment* GetExperiments(size_t* count) { |
1271 *count = num_experiments; | 1264 *count = num_experiments; |
1272 return experiments; | 1265 return experiments; |
1273 } | 1266 } |
1274 | 1267 |
1275 } // namespace testing | 1268 } // namespace testing |
1276 | 1269 |
1277 } // namespace about_flags | 1270 } // namespace about_flags |
OLD | NEW |