| 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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices) | 806 MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices) |
| 807 }, | 807 }, |
| 808 { | 808 { |
| 809 "gpu-rasterization-msaa-sample-count", | 809 "gpu-rasterization-msaa-sample-count", |
| 810 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_NAME, | 810 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_NAME, |
| 811 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_DESCRIPTION, | 811 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_DESCRIPTION, |
| 812 kOsAll, | 812 kOsAll, |
| 813 MULTI_VALUE_TYPE(kGpuRasterizationMSAASampleCountChoices) | 813 MULTI_VALUE_TYPE(kGpuRasterizationMSAASampleCountChoices) |
| 814 }, | 814 }, |
| 815 { | 815 { |
| 816 "disable-slimming-paint", |
| 817 IDS_FLAGS_DISABLE_SLIMMING_PAINT_NAME, |
| 818 IDS_FLAGS_DISABLE_SLIMMING_PAINT_DESCRIPTION, |
| 819 kOsAll, |
| 820 SINGLE_VALUE_TYPE(switches::kDisableSlimmingPaint) |
| 821 }, |
| 822 { |
| 816 "enable-slimming-paint", | 823 "enable-slimming-paint", |
| 817 IDS_FLAGS_ENABLE_SLIMMING_PAINT_NAME, | 824 IDS_FLAGS_ENABLE_SLIMMING_PAINT_NAME, |
| 818 IDS_FLAGS_ENABLE_SLIMMING_PAINT_DESCRIPTION, | 825 IDS_FLAGS_ENABLE_SLIMMING_PAINT_DESCRIPTION, |
| 819 kOsAll, | 826 kOsAll, |
| 820 SINGLE_VALUE_TYPE(switches::kEnableSlimmingPaint) | 827 SINGLE_VALUE_TYPE(switches::kEnableSlimmingPaint) |
| 821 }, | 828 }, |
| 822 { | 829 { |
| 823 "enable-experimental-web-platform-features", | 830 "enable-experimental-web-platform-features", |
| 824 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_NAME, | 831 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_NAME, |
| 825 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_DESCRIPTION, | 832 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_DESCRIPTION, |
| (...skipping 2202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3028 } | 3035 } |
| 3029 | 3036 |
| 3030 const Experiment* GetExperiments(size_t* count) { | 3037 const Experiment* GetExperiments(size_t* count) { |
| 3031 *count = num_experiments; | 3038 *count = num_experiments; |
| 3032 return experiments; | 3039 return experiments; |
| 3033 } | 3040 } |
| 3034 | 3041 |
| 3035 } // namespace testing | 3042 } // namespace testing |
| 3036 | 3043 |
| 3037 } // namespace about_flags | 3044 } // namespace about_flags |
| OLD | NEW |