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

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

Issue 10690120: Revert 145925 - Disabling deferred 2d canvas rendering by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | content/browser/web_contents/web_contents_impl.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 MULTI_VALUE_TYPE(kThreadedCompositingModeChoices) 236 MULTI_VALUE_TYPE(kThreadedCompositingModeChoices)
237 }, 237 },
238 { 238 {
239 "disable-accelerated-2d-canvas", 239 "disable-accelerated-2d-canvas",
240 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_NAME, 240 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_NAME,
241 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_DESCRIPTION, 241 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_DESCRIPTION,
242 kOsAll, 242 kOsAll,
243 SINGLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas) 243 SINGLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)
244 }, 244 },
245 { 245 {
246 "disable-deferred-2d-canvas",
247 IDS_FLAGS_DISABLE_DEFERRED_2D_CANVAS_NAME,
248 IDS_FLAGS_DISABLE_DEFERRED_2D_CANVAS_DESCRIPTION,
249 kOsAll,
250 SINGLE_VALUE_TYPE(switches::kDisableDeferred2dCanvas)
251 },
252 {
246 "disable-threaded-animation", 253 "disable-threaded-animation",
247 IDS_FLAGS_DISABLE_THREADED_ANIMATION_NAME, 254 IDS_FLAGS_DISABLE_THREADED_ANIMATION_NAME,
248 IDS_FLAGS_DISABLE_THREADED_ANIMATION_DESCRIPTION, 255 IDS_FLAGS_DISABLE_THREADED_ANIMATION_DESCRIPTION,
249 kOsAll, 256 kOsAll,
250 SINGLE_VALUE_TYPE(switches::kDisableThreadedAnimation) 257 SINGLE_VALUE_TYPE(switches::kDisableThreadedAnimation)
251 }, 258 },
252 { 259 {
253 "composited-layer-borders", 260 "composited-layer-borders",
254 IDS_FLAGS_COMPOSITED_LAYER_BORDERS, 261 IDS_FLAGS_COMPOSITED_LAYER_BORDERS,
255 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION, 262 IDS_FLAGS_COMPOSITED_LAYER_BORDERS_DESCRIPTION,
(...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after
1268 } 1275 }
1269 1276
1270 const Experiment* GetExperiments(size_t* count) { 1277 const Experiment* GetExperiments(size_t* count) {
1271 *count = num_experiments; 1278 *count = num_experiments;
1272 return experiments; 1279 return experiments;
1273 } 1280 }
1274 1281
1275 } // namespace testing 1282 } // namespace testing
1276 1283
1277 } // namespace about_flags 1284 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698