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

Unified Diff: extensions/common/feature_switch.cc

Issue 350943003: Support global keyboard commands on Chrome OS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address various comments. Created 6 years, 6 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/feature_switch.cc
diff --git a/extensions/common/feature_switch.cc b/extensions/common/feature_switch.cc
index 121dceb25ce89b7efb04f8e5cdde4e4dd52a1ada..8280894ae4379fce7c3d8b1a7797a542c0c02c18 100644
--- a/extensions/common/feature_switch.cc
+++ b/extensions/common/feature_switch.cc
@@ -23,13 +23,6 @@ class CommonSwitches {
force_dev_mode_highlighting(
switches::kForceDevModeHighlighting,
FeatureSwitch::DEFAULT_DISABLED),
- global_commands(
- switches::kGlobalCommands,
-#if defined(OS_CHROMEOS)
- FeatureSwitch::DEFAULT_DISABLED),
-#else
- FeatureSwitch::DEFAULT_ENABLED),
-#endif
prompt_for_external_extensions(
NULL,
#if defined(OS_WIN)
@@ -51,7 +44,6 @@ class CommonSwitches {
FeatureSwitch easy_off_store_install;
FeatureSwitch force_dev_mode_highlighting;
- FeatureSwitch global_commands;
// Should we prompt the user before allowing external extensions to install?
// Default is yes.
@@ -73,9 +65,6 @@ FeatureSwitch* FeatureSwitch::force_dev_mode_highlighting() {
FeatureSwitch* FeatureSwitch::easy_off_store_install() {
return &g_common_switches.Get().easy_off_store_install;
}
-FeatureSwitch* FeatureSwitch::global_commands() {
- return &g_common_switches.Get().global_commands;
-}
FeatureSwitch* FeatureSwitch::prompt_for_external_extensions() {
return &g_common_switches.Get().prompt_for_external_extensions;
}

Powered by Google App Engine
This is Rietveld 408576698