| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 kOsAll, | 169 kOsAll, |
| 170 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync) | 170 SINGLE_VALUE_TYPE(switches::kDisableGpuVsync) |
| 171 }, | 171 }, |
| 172 { | 172 { |
| 173 "disable-webgl", | 173 "disable-webgl", |
| 174 IDS_FLAGS_DISABLE_WEBGL_NAME, | 174 IDS_FLAGS_DISABLE_WEBGL_NAME, |
| 175 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, | 175 IDS_FLAGS_DISABLE_WEBGL_DESCRIPTION, |
| 176 kOsAll, | 176 kOsAll, |
| 177 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) | 177 SINGLE_VALUE_TYPE(switches::kDisableExperimentalWebGL) |
| 178 }, | 178 }, |
| 179 { |
| 180 "gpu-canvas-2d", // FLAGS:RECORD_UMA |
| 181 IDS_FLAGS_ACCELERATED_CANVAS_2D_NAME, |
| 182 IDS_FLAGS_ACCELERATED_CANVAS_2D_DESCRIPTION, |
| 183 kOsWin | kOsLinux | kOsCrOS, |
| 184 SINGLE_VALUE_TYPE(switches::kEnableAccelerated2dCanvas) |
| 185 }, |
| 179 // Exposed on all platforms until there is a workaround for easy access to | 186 // Exposed on all platforms until there is a workaround for easy access to |
| 180 // the native print dialog for users that need it. Once that's done, revert | 187 // the native print dialog for users that need it. Once that's done, revert |
| 181 // back to: | 188 // back to: |
| 182 // Only expose this for Chromium builds where users may not have the PDF | 189 // Only expose this for Chromium builds where users may not have the PDF |
| 183 // plugin. Do not give Google Chrome users the option to disable it here. | 190 // plugin. Do not give Google Chrome users the option to disable it here. |
| 184 // Also expose it for Chrome OS where print preview is still experimental. | 191 // Also expose it for Chrome OS where print preview is still experimental. |
| 185 { | 192 { |
| 186 "print-preview", // FLAGS:RECORD_UMA | 193 "print-preview", // FLAGS:RECORD_UMA |
| 187 IDS_FLAGS_PRINT_PREVIEW_NAME, | 194 IDS_FLAGS_PRINT_PREVIEW_NAME, |
| 188 IDS_FLAGS_PRINT_PREVIEW_DESCRIPTION, | 195 IDS_FLAGS_PRINT_PREVIEW_DESCRIPTION, |
| (...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 824 } | 831 } |
| 825 | 832 |
| 826 const Experiment* GetExperiments(size_t* count) { | 833 const Experiment* GetExperiments(size_t* count) { |
| 827 *count = num_experiments; | 834 *count = num_experiments; |
| 828 return experiments; | 835 return experiments; |
| 829 } | 836 } |
| 830 | 837 |
| 831 } // namespace testing | 838 } // namespace testing |
| 832 | 839 |
| 833 } // namespace about_flags | 840 } // namespace about_flags |
| OLD | NEW |