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

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

Issue 7461131: Revert 95426 - Removed the option to enable accelerated drawing from about:flags. Accelerated dra... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 months 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 | « chrome/app/generated_resources.grd ('k') | 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698