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

Unified Diff: content/public/common/content_switches.cc

Issue 1355613002: Add FeatureList instance to renderers and propgate enable/disable flags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove kDisableFeatures from chrome_switches.h. Created 5 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 | « content/public/common/content_switches.h ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index b227056e5c5a702efa60e6a2e248f2c12fbafe98..1ce0a4c47506749d262c969c091db51488e600f0 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -104,6 +104,9 @@ const char kDisableDomainBlockingFor3DAPIs[] =
// Disable experimental WebGL support.
const char kDisableExperimentalWebGL[] = "disable-webgl";
+// Comma-separated list of feature names to disable. See also kEnableFeatures.
+const char kDisableFeatures[] = "disable-features";
+
// Disable FileSystem API.
const char kDisableFileSystem[] = "disable-file-system";
@@ -344,6 +347,9 @@ const char kEnableExperimentalCanvasFeatures[] =
const char kEnableExperimentalWebPlatformFeatures[] =
"enable-experimental-web-platform-features";
+// Comma-separated list of feature names to enable. See also kDisableFeatures.
+const char kEnableFeatures[] = "enable-features";
+
// Enable Web Bluetooth.
const char kEnableWebBluetooth[] = "enable-web-bluetooth";
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698