Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: chrome/browser/about_flags.cc

Issue 8733008: Added option to enable accelerated drawing to about:flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 SINGLE_VALUE_TYPE(switches::kForceCompositingMode) 145 SINGLE_VALUE_TYPE(switches::kForceCompositingMode)
146 }, 146 },
147 { 147 {
148 "composited-layer-borders", 148 "composited-layer-borders",
149 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, 149 IDS_FLAGS_COMPOSITED_LAYER_BORDERS,
150 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, 150 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION,
151 kOsAll, 151 kOsAll,
152 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders) 152 SINGLE_VALUE_TYPE(switches::kShowCompositedLayerBorders)
153 }, 153 },
154 { 154 {
155 "accelerated-drawing",
156 IDS_FLAGS_ACCELERATED_DRAWING_NAME,
157 IDS_FLAGS_ACCELERATED_DRAWING_DESCRIPTION,
158 kOsWin | kOsLinux | kOsCrOS, // Not available on Mac until it uses Skia.
vangelis 2011/12/01 06:06:25 Can kOsMac be added within the guard that controls
159 SINGLE_VALUE_TYPE(switches::kEnableAcceleratedDrawing)
160 },
161 {
155 "show-fps-counter", 162 "show-fps-counter",
156 IDS_FLAGS_SHOW_FPS_COUNTER, 163 IDS_FLAGS_SHOW_FPS_COUNTER,
157 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION, 164 IDS_FLAGS_SHOW_FPS_COUNTER_DESCRIPTION,
158 kOsAll, 165 kOsAll,
159 SINGLE_VALUE_TYPE(switches::kShowFPSCounter) 166 SINGLE_VALUE_TYPE(switches::kShowFPSCounter)
160 }, 167 },
161 { 168 {
162 "disable-gpu-vsync", 169 "disable-gpu-vsync",
163 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME, 170 IDS_FLAGS_DISABLE_GPU_VSYNC_NAME,
164 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION, 171 IDS_FLAGS_DISABLE_GPU_VSYNC_DESCRIPTION,
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 } 870 }
864 871
865 const Experiment* GetExperiments(size_t* count) { 872 const Experiment* GetExperiments(size_t* count) {
866 *count = num_experiments; 873 *count = num_experiments;
867 return experiments; 874 return experiments;
868 } 875 }
869 876
870 } // namespace testing 877 } // namespace testing
871 878
872 } // namespace about_flags 879 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698