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 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 SINGLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer) | 756 SINGLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer) |
757 }, | 757 }, |
758 { | 758 { |
759 "enable-gpu-rasterization", | 759 "enable-gpu-rasterization", |
760 IDS_FLAGS_ENABLE_GPU_RASTERIZATION_NAME, | 760 IDS_FLAGS_ENABLE_GPU_RASTERIZATION_NAME, |
761 IDS_FLAGS_ENABLE_GPU_RASTERIZATION_DESCRIPTION, | 761 IDS_FLAGS_ENABLE_GPU_RASTERIZATION_DESCRIPTION, |
762 kOsAll, | 762 kOsAll, |
763 MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices) | 763 MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices) |
764 }, | 764 }, |
765 { | 765 { |
766 "enable-threaded-gpu-rasterization", | |
767 IDS_FLAGS_ENABLE_THREADED_GPU_RASTERIZATION_NAME, | |
768 IDS_FLAGS_ENABLE_THREADED_GPU_RASTERIZATION_DESCRIPTION, | |
769 kOsAll, | |
770 ENABLE_DISABLE_VALUE_TYPE( | |
771 switches::kEnableThreadedGpuRasterization, | |
772 switches::kDisableThreadedGpuRasterization) | |
773 }, | |
774 { | |
775 "enable-slimming-paint", | 766 "enable-slimming-paint", |
776 IDS_FLAGS_ENABLE_SLIMMING_PAINT_NAME, | 767 IDS_FLAGS_ENABLE_SLIMMING_PAINT_NAME, |
777 IDS_FLAGS_ENABLE_SLIMMING_PAINT_DESCRIPTION, | 768 IDS_FLAGS_ENABLE_SLIMMING_PAINT_DESCRIPTION, |
778 kOsAll, | 769 kOsAll, |
779 SINGLE_VALUE_TYPE(switches::kEnableSlimmingPaint) | 770 SINGLE_VALUE_TYPE(switches::kEnableSlimmingPaint) |
780 }, | 771 }, |
781 { | 772 { |
782 "enable-experimental-web-platform-features", | 773 "enable-experimental-web-platform-features", |
783 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_NAME, | 774 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_NAME, |
784 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_DESCRIPTION, | 775 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_DESCRIPTION, |
(...skipping 2102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2887 } | 2878 } |
2888 | 2879 |
2889 const Experiment* GetExperiments(size_t* count) { | 2880 const Experiment* GetExperiments(size_t* count) { |
2890 *count = num_experiments; | 2881 *count = num_experiments; |
2891 return experiments; | 2882 return experiments; |
2892 } | 2883 } |
2893 | 2884 |
2894 } // namespace testing | 2885 } // namespace testing |
2895 | 2886 |
2896 } // namespace about_flags | 2887 } // namespace about_flags |
OLD | NEW |