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

Unified Diff: chrome/browser/about_flags.cc

Issue 3978002: Disable GPU features AcceleratingCompositing and WebGL by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index fcbabe7c650754506b681221cd7803039790c155..b900631c7dbab75edf39d7dbe5833e632a0ded9d 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -128,15 +128,13 @@ const Experiment kExperiments[] = {
kOsMac,
switches::kEnableMatchPreview
},
- // FIXME(scheib): Add Flags entry for accelerated Compositing,
- // or pull it and the strings in generated_resources.grd by Dec 2010
- // {
- // "gpu-compositing", // Do not change; see above
- // IDS_FLAGS_ACCELERATED_COMPOSITING_NAME,
- // IDS_FLAGS_ACCELERATED_COMPOSITING_DESCRIPTION,
- // kOsAll,
- // switches::kDisableAcceleratedCompositing
- // },
+ {
+ "gpu-compositing", // Do not change; see above
+ IDS_FLAGS_ACCELERATED_COMPOSITING_NAME,
+ IDS_FLAGS_ACCELERATED_COMPOSITING_DESCRIPTION,
+ kOsAll,
+ switches::kEnableAcceleratedCompositing
+ },
{
"gpu-canvas-2d", // Do not change; see above
IDS_FLAGS_ACCELERATED_CANVAS_2D_NAME,
@@ -144,15 +142,13 @@ const Experiment kExperiments[] = {
kOsWin | kOsLinux | kOsCrOS,
switches::kEnableAccelerated2dCanvas
},
- // FIXME(scheib): Add Flags entry for WebGL,
- // or pull it and the strings in generated_resources.grd by Dec 2010
- // {
- // "webgl", // Do not change; see above
- // IDS_FLAGS_WEBGL_NAME,
- // IDS_FLAGS_WEBGL_DESCRIPTION,
- // kOsAll,
- // switches::kDisableExperimentalWebGL
- // }
+ {
+ "webgl", // Do not change; see above
+ IDS_FLAGS_WEBGL_NAME,
+ IDS_FLAGS_WEBGL_DESCRIPTION,
+ kOsAll,
+ switches::kEnableExperimentalWebGL
+ },
{
"print-preview", // Do not change; see above
IDS_FLAGS_PRINT_PREVIEW_NAME,
« 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