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

Unified Diff: extensions/common/switches.cc

Issue 512543002: Model <webview> and <appview> script injection after <extensionoptions> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add permission dependency to whitelist Created 6 years, 4 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 | « extensions/common/switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/switches.cc
diff --git a/extensions/common/switches.cc b/extensions/common/switches.cc
index d82fb1778a5d63d6a372facef2729c0c1281daaa..afa05b18da0c121e5cb51609520717e406a338bc 100644
--- a/extensions/common/switches.cc
+++ b/extensions/common/switches.cc
@@ -16,6 +16,9 @@ const char kAllowHTTPBackgroundPage[] = "allow-http-background-page";
const char kAllowLegacyExtensionManifests[] =
"allow-legacy-extension-manifests";
+// Enables the <appview> tag in platform apps.
+const char kAppView[] = "app-view";
+
// Enables extension options to be embedded in chrome://extensions rather than
// a new tab.
const char kEmbeddedExtensionOptions[] = "embedded-extension-options";
@@ -25,7 +28,8 @@ const char kEmbeddedExtensionOptions[] = "embedded-extension-options";
// insignificant for apps that load most of their resources asynchronously.
const char kEnableAppsShowOnFirstPaint[] = "enable-apps-show-on-first-paint";
-// Enables the <appview> tag in platform apps.
+// Hack so that feature switch can work with about_flags. See
+// kEnableScriptsRequireAction.
const char kEnableAppView[] = "enable-app-view";
// Hack so that feature switch can work with about_flags. See
« no previous file with comments | « extensions/common/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698