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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 SINGLE_VALUE_TYPE(switches::kForceCompositingMode) | 141 SINGLE_VALUE_TYPE(switches::kForceCompositingMode) |
142 }, | 142 }, |
143 { | 143 { |
144 "composited-layer-borders", | 144 "composited-layer-borders", |
145 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, | 145 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, |
146 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, | 146 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, |
147 kOsAll, | 147 kOsAll, |
148 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders) | 148 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders) |
149 }, | 149 }, |
150 { | 150 { |
| 151 "accelerated-drawing", |
| 152 IDS_FLAGS_ACCELERATED_DRAWING_NAME, |
| 153 IDS_FLAGS_ACCELERATED_DRAWING_DESCRIPTION, |
| 154 kOsWin | kOsLinux | kOsCrOS, // Not available on Mac until it uses Skia. |
| 155 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedDrawing) |
| 156 }, |
| 157 { |
151 "show-fps-counter", | 158 "show-fps-counter", |
152 IDS_FLAGS_SHOW_FPS_COUNTER, | 159 IDS_FLAGS_SHOW_FPS_COUNTER, |
153 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, | 160 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, |
154 kOsAll, | 161 kOsAll, |
155 SINGLE_VALUE_TYPE(switches::kShowFPSCounter) | 162 SINGLE_VALUE_TYPE(switches::kShowFPSCounter) |
156 }, | 163 }, |
157 { | 164 { |
158 "disable-gpu-vsync", | 165 "disable-gpu-vsync", |
159 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME, | 166 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME, |
160 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION, | 167 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION, |
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 } | 788 } |
782 | 789 |
783 const Experiment* GetExperiments(size_t* count) { | 790 const Experiment* GetExperiments(size_t* count) { |
784 *count = num_experiments; | 791 *count = num_experiments; |
785 return experiments; | 792 return experiments; |
786 } | 793 } |
787 | 794 |
788 } // namespace testing | 795 } // namespace testing |
789 | 796 |
790 } // namespace about_flags | 797 } // namespace about_flags |
OLD | NEW |