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

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

Issue 4016003: Merge 63535 - Disable GPU features AcceleratingCompositing and WebGL by defau... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/552/src/
Patch Set: Created 10 years, 2 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 | « no previous file | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 kOsWin, 126 kOsWin,
127 switches::kEnableCloudPrintProxy 127 switches::kEnableCloudPrintProxy
128 }, 128 },
129 { 129 {
130 "match-preview", // Do not change; see above. 130 "match-preview", // Do not change; see above.
131 IDS_FLAGS_INSTANT_NAME, 131 IDS_FLAGS_INSTANT_NAME,
132 IDS_FLAGS_INSTANT_DESCRIPTION, 132 IDS_FLAGS_INSTANT_DESCRIPTION,
133 kOsMac, 133 kOsMac,
134 switches::kEnableMatchPreview 134 switches::kEnableMatchPreview
135 }, 135 },
136 // FIXME(scheib): Add Flags entry for accelerated Compositing, 136 {
137 // or pull it and the strings in generated_resources.grd by Dec 2010 137 "gpu-compositing", // Do not change; see above
138 //{ 138 IDS_FLAGS_ACCELERATED_COMPOSITING_NAME,
139 // "gpu-compositing", // Do not change; see above 139 IDS_FLAGS_ACCELERATED_COMPOSITING_DESCRIPTION,
140 // IDS_FLAGS_ACCELERATED_COMPOSITING_NAME, 140 kOsAll,
141 // IDS_FLAGS_ACCELERATED_COMPOSITING_DESCRIPTION, 141 switches::kEnableAcceleratedCompositing
142 // kOsAll, 142 },
143 // switches::kDisableAcceleratedCompositing
144 //},
145 { 143 {
146 "gpu-canvas-2d", // Do not change; see above 144 "gpu-canvas-2d", // Do not change; see above
147 IDS_FLAGS_ACCELERATED_CANVAS_2D_NAME, 145 IDS_FLAGS_ACCELERATED_CANVAS_2D_NAME,
148 IDS_FLAGS_ACCELERATED_CANVAS_2D_DESCRIPTION, 146 IDS_FLAGS_ACCELERATED_CANVAS_2D_DESCRIPTION,
149 kOsWin | kOsLinux, 147 kOsWin | kOsLinux,
150 switches::kEnableAccelerated2dCanvas 148 switches::kEnableAccelerated2dCanvas
151 }, 149 },
152 // FIXME(scheib): Add Flags entry for WebGL, 150 {
153 // or pull it and the strings in generated_resources.grd by Dec 2010 151 "webgl", // Do not change; see above
154 //{ 152 IDS_FLAGS_WEBGL_NAME,
155 // "webgl", // Do not change; see above 153 IDS_FLAGS_WEBGL_DESCRIPTION,
156 // IDS_FLAGS_WEBGL_NAME, 154 kOsAll,
157 // IDS_FLAGS_WEBGL_DESCRIPTION, 155 switches::kEnableExperimentalWebGL
158 // kOsAll, 156 }
159 // switches::kDisableExperimentalWebGL
160 //}
161 //{ 157 //{
162 // "print-preview", // Do not change; see above 158 // "print-preview", // Do not change; see above
163 // IDS_FLAGS_PRINT_PREVIEW_NAME, 159 // IDS_FLAGS_PRINT_PREVIEW_NAME,
164 // IDS_FLAGS_PRINT_PREVIEW_DESCRIPTION, 160 // IDS_FLAGS_PRINT_PREVIEW_DESCRIPTION,
165 // kOsAll, 161 // kOsAll,
166 // switches::kEnablePrintPreview 162 // switches::kEnablePrintPreview
167 //} 163 //}
168 }; 164 };
169 165
170 // Stores and encapsulates the little state that about:flags has. 166 // Stores and encapsulates the little state that about:flags has.
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 391
396 } // namespace 392 } // namespace
397 393
398 namespace testing { 394 namespace testing {
399 void ClearState() { 395 void ClearState() {
400 FlagsState::instance()->reset(); 396 FlagsState::instance()->reset();
401 } 397 }
402 } // namespace testing 398 } // namespace testing
403 399
404 } // namespace about_flags 400 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698