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 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 SINGLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer) | 772 SINGLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer) |
773 }, | 773 }, |
774 { | 774 { |
775 "enable-gpu-rasterization", | 775 "enable-gpu-rasterization", |
776 IDS_FLAGS_ENABLE_GPU_RASTERIZATION_NAME, | 776 IDS_FLAGS_ENABLE_GPU_RASTERIZATION_NAME, |
777 IDS_FLAGS_ENABLE_GPU_RASTERIZATION_DESCRIPTION, | 777 IDS_FLAGS_ENABLE_GPU_RASTERIZATION_DESCRIPTION, |
778 kOsAll, | 778 kOsAll, |
779 MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices) | 779 MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices) |
780 }, | 780 }, |
781 { | 781 { |
782 "enable-threaded-gpu-rasterization", | |
783 IDS_FLAGS_ENABLE_THREADED_GPU_RASTERIZATION_NAME, | |
784 IDS_FLAGS_ENABLE_THREADED_GPU_RASTERIZATION_DESCRIPTION, | |
785 kOsAll, | |
786 ENABLE_DISABLE_VALUE_TYPE( | |
787 switches::kEnableThreadedGpuRasterization, | |
788 switches::kDisableThreadedGpuRasterization) | |
789 }, | |
790 { | |
791 "gpu-rasterization-msaa-sample-count", | 782 "gpu-rasterization-msaa-sample-count", |
792 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_NAME, | 783 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_NAME, |
793 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_DESCRIPTION, | 784 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_DESCRIPTION, |
794 kOsAll, | 785 kOsAll, |
795 MULTI_VALUE_TYPE(kGpuRasterizationMSAASampleCountChoices) | 786 MULTI_VALUE_TYPE(kGpuRasterizationMSAASampleCountChoices) |
796 }, | 787 }, |
797 { | 788 { |
798 "enable-slimming-paint", | 789 "enable-slimming-paint", |
799 IDS_FLAGS_ENABLE_SLIMMING_PAINT_NAME, | 790 IDS_FLAGS_ENABLE_SLIMMING_PAINT_NAME, |
800 IDS_FLAGS_ENABLE_SLIMMING_PAINT_DESCRIPTION, | 791 IDS_FLAGS_ENABLE_SLIMMING_PAINT_DESCRIPTION, |
(...skipping 2125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2926 } | 2917 } |
2927 | 2918 |
2928 const Experiment* GetExperiments(size_t* count) { | 2919 const Experiment* GetExperiments(size_t* count) { |
2929 *count = num_experiments; | 2920 *count = num_experiments; |
2930 return experiments; | 2921 return experiments; |
2931 } | 2922 } |
2932 | 2923 |
2933 } // namespace testing | 2924 } // namespace testing |
2934 | 2925 |
2935 } // namespace about_flags | 2926 } // namespace about_flags |
OLD | NEW |