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 <iterator> | 7 #include <iterator> |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 }, | 516 }, |
517 { | 517 { |
518 "force-accelerated-composited-scrolling", | 518 "force-accelerated-composited-scrolling", |
519 IDS_FLAGS_FORCE_ACCELERATED_OVERFLOW_SCROLL_MODE_NAME, | 519 IDS_FLAGS_FORCE_ACCELERATED_OVERFLOW_SCROLL_MODE_NAME, |
520 IDS_FLAGS_FORCE_ACCELERATED_OVERFLOW_SCROLL_MODE_DESCRIPTION, | 520 IDS_FLAGS_FORCE_ACCELERATED_OVERFLOW_SCROLL_MODE_DESCRIPTION, |
521 kOsAll, | 521 kOsAll, |
522 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAcceleratedOverflowScroll, | 522 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAcceleratedOverflowScroll, |
523 switches::kDisableAcceleratedOverflowScroll) | 523 switches::kDisableAcceleratedOverflowScroll) |
524 }, | 524 }, |
525 { | 525 { |
526 "force-universal-accelerated-composited-scrolling", | |
527 IDS_FLAGS_FORCE_UNIVERSAL_ACCELERATED_OVERFLOW_SCROLL_MODE_NAME, | |
528 IDS_FLAGS_FORCE_UNIVERSAL_ACCELERATED_OVERFLOW_SCROLL_MODE_DESCRIPTION, | |
529 kOsAll, | |
530 ENABLE_DISABLE_VALUE_TYPE( | |
531 switches::kEnableUniversalAcceleratedOverflowScroll, | |
532 switches::kDisableUniversalAcceleratedOverflowScroll) | |
533 }, | |
534 { | |
535 "disable_layer_squashing", | 526 "disable_layer_squashing", |
536 IDS_FLAGS_DISABLE_LAYER_SQUASHING_NAME, | 527 IDS_FLAGS_DISABLE_LAYER_SQUASHING_NAME, |
537 IDS_FLAGS_DISABLE_LAYER_SQUASHING_DESCRIPTION, | 528 IDS_FLAGS_DISABLE_LAYER_SQUASHING_DESCRIPTION, |
538 kOsAll, | 529 kOsAll, |
539 SINGLE_VALUE_TYPE(switches::kDisableLayerSquashing) | 530 SINGLE_VALUE_TYPE(switches::kDisableLayerSquashing) |
540 }, | 531 }, |
541 #if defined(OS_WIN) | 532 #if defined(OS_WIN) |
542 { | 533 { |
543 "disable-direct-write", | 534 "disable-direct-write", |
544 IDS_FLAGS_DISABLE_DIRECT_WRITE_NAME, | 535 IDS_FLAGS_DISABLE_DIRECT_WRITE_NAME, |
(...skipping 1914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2459 } | 2450 } |
2460 | 2451 |
2461 const Experiment* GetExperiments(size_t* count) { | 2452 const Experiment* GetExperiments(size_t* count) { |
2462 *count = num_experiments; | 2453 *count = num_experiments; |
2463 return experiments; | 2454 return experiments; |
2464 } | 2455 } |
2465 | 2456 |
2466 } // namespace testing | 2457 } // namespace testing |
2467 | 2458 |
2468 } // namespace about_flags | 2459 } // namespace about_flags |
OLD | NEW |