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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 }, | 390 }, |
391 { | 391 { |
392 "force-accelerated-composited-scrolling", | 392 "force-accelerated-composited-scrolling", |
393 IDS_FLAGS_FORCE_ACCELERATED_OVERFLOW_SCROLL_MODE_NAME, | 393 IDS_FLAGS_FORCE_ACCELERATED_OVERFLOW_SCROLL_MODE_NAME, |
394 IDS_FLAGS_FORCE_ACCELERATED_OVERFLOW_SCROLL_MODE_DESCRIPTION, | 394 IDS_FLAGS_FORCE_ACCELERATED_OVERFLOW_SCROLL_MODE_DESCRIPTION, |
395 kOsAll, | 395 kOsAll, |
396 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAcceleratedOverflowScroll, | 396 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAcceleratedOverflowScroll, |
397 switches::kDisableAcceleratedOverflowScroll) | 397 switches::kDisableAcceleratedOverflowScroll) |
398 }, | 398 }, |
399 { | 399 { |
400 "force-universal-accelerated-composited-scrolling", | |
401 IDS_FLAGS_FORCE_UNIVERSAL_ACCELERATED_OVERFLOW_SCROLL_MODE_NAME, | |
402 IDS_FLAGS_FORCE_UNIVERSAL_ACCELERATED_OVERFLOW_SCROLL_MODE_DESCRIPTION, | |
403 kOsAll, | |
404 ENABLE_DISABLE_VALUE_TYPE( | |
405 switches::kEnableUniversalAcceleratedOverflowScroll, | |
406 switches::kDisableUniversalAcceleratedOverflowScroll) | |
407 }, | |
408 { | |
409 "present-with-GDI", | 400 "present-with-GDI", |
410 IDS_FLAGS_PRESENT_WITH_GDI_NAME, | 401 IDS_FLAGS_PRESENT_WITH_GDI_NAME, |
411 IDS_FLAGS_PRESENT_WITH_GDI_DESCRIPTION, | 402 IDS_FLAGS_PRESENT_WITH_GDI_DESCRIPTION, |
412 kOsWin, | 403 kOsWin, |
413 MULTI_VALUE_TYPE(kGDIPresentChoices) | 404 MULTI_VALUE_TYPE(kGDIPresentChoices) |
414 }, | 405 }, |
415 { | 406 { |
416 "enable-experimental-canvas-features", | 407 "enable-experimental-canvas-features", |
417 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME, | 408 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME, |
418 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION, | 409 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION, |
(...skipping 1847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2266 } | 2257 } |
2267 | 2258 |
2268 const Experiment* GetExperiments(size_t* count) { | 2259 const Experiment* GetExperiments(size_t* count) { |
2269 *count = num_experiments; | 2260 *count = num_experiments; |
2270 return experiments; | 2261 return experiments; |
2271 } | 2262 } |
2272 | 2263 |
2273 } // namespace testing | 2264 } // namespace testing |
2274 | 2265 |
2275 } // namespace about_flags | 2266 } // namespace about_flags |
OLD | NEW |