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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 MULTI_VALUE_TYPE(kTouchEventsChoices) | 782 MULTI_VALUE_TYPE(kTouchEventsChoices) |
783 }, | 783 }, |
784 { | 784 { |
785 "touch-optimized-ui", | 785 "touch-optimized-ui", |
786 IDS_FLAGS_TOUCH_OPTIMIZED_UI_NAME, | 786 IDS_FLAGS_TOUCH_OPTIMIZED_UI_NAME, |
787 IDS_FLAGS_TOUCH_OPTIMIZED_UI_DESCRIPTION, | 787 IDS_FLAGS_TOUCH_OPTIMIZED_UI_DESCRIPTION, |
788 kOsWin, | 788 kOsWin, |
789 MULTI_VALUE_TYPE(kTouchOptimizedUIChoices) | 789 MULTI_VALUE_TYPE(kTouchOptimizedUIChoices) |
790 }, | 790 }, |
791 { | 791 { |
| 792 "enable-scaling-in-image-skia-operations", |
| 793 IDS_FLAGS_ENABLE_SCALING_IN_IMAGE_SKIA_OPERATIONS_NAME, |
| 794 IDS_FLAGS_ENABLE_SCALING_IN_IMAGE_SKIA_OPERATIONS_DESCRIPTION, |
| 795 kOsCrOS | kOsWin, |
| 796 SINGLE_VALUE_TYPE(gfx::switches::kEnableScalingInImageSkiaOperations) |
| 797 }, |
| 798 { |
792 "enable-webkit-text-subpixel-positioning", | 799 "enable-webkit-text-subpixel-positioning", |
793 IDS_FLAGS_ENABLE_WEBKIT_TEXT_SUBPIXEL_POSITIONING_NAME, | 800 IDS_FLAGS_ENABLE_WEBKIT_TEXT_SUBPIXEL_POSITIONING_NAME, |
794 IDS_FLAGS_ENABLE_WEBKIT_TEXT_SUBPIXEL_POSITIONING_DESCRIPTION, | 801 IDS_FLAGS_ENABLE_WEBKIT_TEXT_SUBPIXEL_POSITIONING_DESCRIPTION, |
795 kOsCrOS, | 802 kOsCrOS, |
796 SINGLE_VALUE_TYPE(gfx::switches::kEnableWebkitTextSubpixelPositioning) | 803 SINGLE_VALUE_TYPE(gfx::switches::kEnableWebkitTextSubpixelPositioning) |
797 }, | 804 }, |
798 { | 805 { |
799 "disable-touch-adjustment", | 806 "disable-touch-adjustment", |
800 IDS_DISABLE_TOUCH_ADJUSTMENT_NAME, | 807 IDS_DISABLE_TOUCH_ADJUSTMENT_NAME, |
801 IDS_DISABLE_TOUCH_ADJUSTMENT_DESCRIPTION, | 808 IDS_DISABLE_TOUCH_ADJUSTMENT_DESCRIPTION, |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1639 } | 1646 } |
1640 | 1647 |
1641 const Experiment* GetExperiments(size_t* count) { | 1648 const Experiment* GetExperiments(size_t* count) { |
1642 *count = num_experiments; | 1649 *count = num_experiments; |
1643 return experiments; | 1650 return experiments; |
1644 } | 1651 } |
1645 | 1652 |
1646 } // namespace testing | 1653 } // namespace testing |
1647 | 1654 |
1648 } // namespace about_flags | 1655 } // namespace about_flags |
OLD | NEW |