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

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

Issue 4111008: Disable accelerated 2d canvas flag and about:flags entry on 552... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/552/src/
Patch Set: Created 10 years, 1 month 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/tab_contents/render_view_host_delegate_helper.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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 switches::kEnableMatchPreview 136 switches::kEnableMatchPreview
137 }, 137 },
138 { 138 {
139 "gpu-compositing", // Do not change; see above 139 "gpu-compositing", // Do not change; see above
140 IDS_FLAGS_ACCELERATED_COMPOSITING_NAME, 140 IDS_FLAGS_ACCELERATED_COMPOSITING_NAME,
141 IDS_FLAGS_ACCELERATED_COMPOSITING_DESCRIPTION, 141 IDS_FLAGS_ACCELERATED_COMPOSITING_DESCRIPTION,
142 kOsAll, 142 kOsAll,
143 switches::kEnableAcceleratedCompositing 143 switches::kEnableAcceleratedCompositing
144 }, 144 },
145 { 145 {
146 "gpu-canvas-2d", // Do not change; see above
147 IDS_FLAGS_ACCELERATED_CANVAS_2D_NAME,
148 IDS_FLAGS_ACCELERATED_CANVAS_2D_DESCRIPTION,
149 kOsWin | kOsLinux | kOsCrOS,
150 switches::kEnableAccelerated2dCanvas
151 },
152 {
153 "webgl", // Do not change; see above 146 "webgl", // Do not change; see above
154 IDS_FLAGS_WEBGL_NAME, 147 IDS_FLAGS_WEBGL_NAME,
155 IDS_FLAGS_WEBGL_DESCRIPTION, 148 IDS_FLAGS_WEBGL_DESCRIPTION,
156 kOsAll, 149 kOsAll,
157 switches::kEnableExperimentalWebGL 150 switches::kEnableExperimentalWebGL
158 } 151 }
159 //{ 152 //{
160 // "print-preview", // Do not change; see above 153 // "print-preview", // Do not change; see above
161 // IDS_FLAGS_PRINT_PREVIEW_NAME, 154 // IDS_FLAGS_PRINT_PREVIEW_NAME,
162 // IDS_FLAGS_PRINT_PREVIEW_DESCRIPTION, 155 // IDS_FLAGS_PRINT_PREVIEW_DESCRIPTION,
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 376
384 } // namespace 377 } // namespace
385 378
386 namespace testing { 379 namespace testing {
387 void ClearState() { 380 void ClearState() {
388 FlagsState::instance()->reset(); 381 FlagsState::instance()->reset();
389 } 382 }
390 } // namespace testing 383 } // namespace testing
391 384
392 } // namespace about_flags 385 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/tab_contents/render_view_host_delegate_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698