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

Unified Diff: extensions/common/switches.cc

Issue 47923018: Move FeatureSwitch to top-level extensions/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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') | extensions/extensions.gyp » ('j') | 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 674bb03e4e4edbd7bfc1203a96384c549c3e2f18..451cbc092b79939266c62fac398cf45301de8b77 100644
--- a/extensions/common/switches.cc
+++ b/extensions/common/switches.cc
@@ -16,7 +16,12 @@ const char kAllowLegacyExtensionManifests[] =
// Allows injecting extensions and user scripts on the extensions gallery
// site. Normally prevented for security reasons, but can be useful for
// automation testing of the gallery.
-const char kAllowScriptingGallery[] = "allow-scripting-gallery";
+const char kAllowScriptingGallery[] = "allow-scripting-gallery";
+
+// Enables extensions to be easily installed from sites other than the web
+// store. Without this flag, they can still be installed, but must be manually
+// dragged onto chrome://extensions/.
+const char kEasyOffStoreExtensionInstall[] = "easy-off-store-extension-install";
// Enables extension APIs that are in development.
const char kEnableExperimentalExtensionApis[] =
@@ -37,7 +42,21 @@ const char kEventPageSuspendingTime[] = "event-page-unloading-time";
// Enables extensions running scripts on chrome:// URLs.
// Extensions still need to explicitly request access to chrome:// URLs in the
// manifest.
-const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls";
+const char kExtensionsOnChromeURLs[] = "extensions-on-chrome-urls";
+
+// Enables setting global commands through the Extensions Commands API.
+const char kGlobalCommands[] = "global-commands";
+
+// Should we prompt the user before allowing external extensions to install?
+// Default is yes.
+const char kPromptForExternalExtensions[] = "prompt-for-external-extensions";
+
+// Enables or disables extension scripts badges in the location bar.
+const char kScriptBadges[] = "script-badges";
+
+// Enable or diable the "script bubble" icon in the URL bar that tells you how
+// many extensions are running scripts on a page.
+const char kScriptBubble[] = "script-bubble";
// Makes component extensions appear in chrome://settings/extensions.
const char kShowComponentExtensionOptions[] =
« no previous file with comments | « extensions/common/switches.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698