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

Unified Diff: chrome/browser/about_flags.cc

Issue 7980047: Add about:flags entry to disable WebGL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 | « chrome/app/generated_resources.grd ('k') | no next file » | 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 4df2c0661edcb7bce7227b30fa6d90042a5cc8ff..37c4b260988feb1b2f36b23902506d7fb331bec0 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -20,6 +20,7 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "content/browser/user_metrics.h"
+#include "content/common/content_switches.h"
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/gl/gl_switches.h"
@@ -413,6 +414,13 @@ const Experiment kExperiments[] = {
kOsMac | kOsWin | kOsLinux,
SINGLE_VALUE_TYPE(switches::kEnableAutologin)
},
+ {
+ "in-process-webgl",
+ IDS_FLAGS_ENABLE_WEBGL_NAME,
+ IDS_FLAGS_ENABLE_WEBGL_DESCRIPTION,
+ kOsAll,
+ SINGLE_VALUE_TYPE(switches::kInProcessWebGL)
vangelis 2011/09/21 21:35:27 This is the wrong flag. The one we need in order
tfarina 2011/09/21 21:42:39 Done.
+ },
};
const Experiment* experiments = kExperiments;
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698