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

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

Issue 14643005: Add the "experimental canvas features" flag, and plumb it through to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 switches::kDisableAcceleratedOverflowScroll) 353 switches::kDisableAcceleratedOverflowScroll)
354 }, 354 },
355 { 355 {
356 "present-with-GDI", 356 "present-with-GDI",
357 IDS_FLAGS_PRESENT_WITH_GDI_NAME, 357 IDS_FLAGS_PRESENT_WITH_GDI_NAME,
358 IDS_FLAGS_PRESENT_WITH_GDI_DESCRIPTION, 358 IDS_FLAGS_PRESENT_WITH_GDI_DESCRIPTION,
359 kOsWin, 359 kOsWin,
360 MULTI_VALUE_TYPE(kGDIPresentChoices) 360 MULTI_VALUE_TYPE(kGDIPresentChoices)
361 }, 361 },
362 { 362 {
363 "enable-experimental-canvas-features",
364 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME,
365 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION,
366 kOsAll,
367 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures)
368 },
369 {
363 "disable-accelerated-2d-canvas", 370 "disable-accelerated-2d-canvas",
364 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_NAME, 371 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_NAME,
365 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_DESCRIPTION, 372 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_DESCRIPTION,
366 kOsAll, 373 kOsAll,
367 SINGLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas) 374 SINGLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)
368 }, 375 },
369 { 376 {
370 "disable-threaded-animation", 377 "disable-threaded-animation",
371 IDS_FLAGS_DISABLE_THREADED_ANIMATION_NAME, 378 IDS_FLAGS_DISABLE_THREADED_ANIMATION_NAME,
372 IDS_FLAGS_DISABLE_THREADED_ANIMATION_DESCRIPTION, 379 IDS_FLAGS_DISABLE_THREADED_ANIMATION_DESCRIPTION,
(...skipping 1561 matching lines...) Expand 10 before | Expand all | Expand 10 after
1934 } 1941 }
1935 1942
1936 const Experiment* GetExperiments(size_t* count) { 1943 const Experiment* GetExperiments(size_t* count) {
1937 *count = num_experiments; 1944 *count = num_experiments;
1938 return experiments; 1945 return experiments;
1939 } 1946 }
1940 1947
1941 } // namespace testing 1948 } // namespace testing
1942 1949
1943 } // namespace about_flags 1950 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698