| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 SINGLE_VALUE_TYPE(switches::kForceCompositingMode) | 148 SINGLE_VALUE_TYPE(switches::kForceCompositingMode) |
| 149 }, | 149 }, |
| 150 { | 150 { |
| 151 "composited-layer-borders", | 151 "composited-layer-borders", |
| 152 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, | 152 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, |
| 153 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, | 153 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, |
| 154 kOsAll, | 154 kOsAll, |
| 155 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders) | 155 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders) |
| 156 }, | 156 }, |
| 157 { | 157 { |
| 158 "accelerated-drawing", |
| 159 IDS_FLAGS_ACCELERATED_DRAWING_NAME, |
| 160 IDS_FLAGS_ACCELERATED_DRAWING_DESCRIPTION, |
| 161 kOsWin | kOsLinux | kOsCrOS, // Not available on Mac until it uses Skia. |
| 162 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedDrawing) |
| 163 }, |
| 164 { |
| 158 "show-fps-counter", | 165 "show-fps-counter", |
| 159 IDS_FLAGS_SHOW_FPS_COUNTER, | 166 IDS_FLAGS_SHOW_FPS_COUNTER, |
| 160 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, | 167 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, |
| 161 kOsAll, | 168 kOsAll, |
| 162 SINGLE_VALUE_TYPE(switches::kShowFPSCounter) | 169 SINGLE_VALUE_TYPE(switches::kShowFPSCounter) |
| 163 }, | 170 }, |
| 164 { | 171 { |
| 165 "disable-gpu-vsync", | 172 "disable-gpu-vsync", |
| 166 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME, | 173 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME, |
| 167 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION, | 174 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION, |
| (...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 769 } | 776 } |
| 770 | 777 |
| 771 const Experiment* GetExperiments(size_t* count) { | 778 const Experiment* GetExperiments(size_t* count) { |
| 772 *count = num_experiments; | 779 *count = num_experiments; |
| 773 return experiments; | 780 return experiments; |
| 774 } | 781 } |
| 775 | 782 |
| 776 } // namespace testing | 783 } // namespace testing |
| 777 | 784 |
| 778 } // namespace about_flags | 785 } // namespace about_flags |
| OLD | NEW |