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

Unified Diff: extensions/common/switches.cc

Issue 376033002: Adding MimeHandlerView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pending-zork-patch2
Patch Set: add switch to control feature, remove a DCHECK from extension_message_filter Created 6 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
Index: extensions/common/switches.cc
diff --git a/extensions/common/switches.cc b/extensions/common/switches.cc
index afa05b18da0c121e5cb51609520717e406a338bc..a6f8cffa6d7f80dadd93587d0451f757fec2cfcb 100644
--- a/extensions/common/switches.cc
+++ b/extensions/common/switches.cc
@@ -46,6 +46,10 @@ const char kEnableExperimentalExtensionApis[] =
const char kEnableExtensionActionRedesign[] =
"enable-extension-action-redesign";
+// Hack so that feature switch can work with about_flags. See
+// kEnableScriptsRequireAction.
+const char kEnableMimeHandlerView[] = "enable-mime-handler-view";
+
// Enables extensions to hide bookmarks UI elements.
const char kEnableOverrideBookmarksUI[] = "enable-override-bookmarks-ui";
@@ -75,6 +79,9 @@ const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls";
// Whether to force developer mode extensions highlighting.
const char kForceDevModeHighlighting[] = "force-dev-mode-highlighting";
+// Whether or not mime handler view guests are enabled.
+const char kMimeHandlerView[] = "mime-handler-view";
+
// Notify the user and require consent for extensions running scripts.
// Appending --scripts-require-action=1 has the same effect as
// --enable-scripts-require-action (see below).

Powered by Google App Engine
This is Rietveld 408576698