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

Unified Diff: extensions/common/feature_switch.cc

Issue 324393002: Extension Toolbar redesign, part 1 (overflow) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing gypi change 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
« no previous file with comments | « extensions/common/feature_switch.h ('k') | extensions/common/manifest_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/feature_switch.cc
diff --git a/extensions/common/feature_switch.cc b/extensions/common/feature_switch.cc
index 121dceb25ce89b7efb04f8e5cdde4e4dd52a1ada..eaee4a7fb1d152860ed78313cb3543acdfa8b811 100644
--- a/extensions/common/feature_switch.cc
+++ b/extensions/common/feature_switch.cc
@@ -43,6 +43,9 @@ class CommonSwitches {
enable_override_bookmarks_ui(
switches::kEnableOverrideBookmarksUI,
FeatureSwitch::DEFAULT_DISABLED),
+ extension_action_redesign(
+ switches::kExtensionActionRedesign,
+ FeatureSwitch::DEFAULT_DISABLED),
scripts_require_action(switches::kScriptsRequireAction,
FeatureSwitch::DEFAULT_DISABLED) {}
@@ -59,6 +62,7 @@ class CommonSwitches {
FeatureSwitch error_console;
FeatureSwitch enable_override_bookmarks_ui;
+ FeatureSwitch extension_action_redesign;
FeatureSwitch scripts_require_action;
};
@@ -85,7 +89,9 @@ FeatureSwitch* FeatureSwitch::error_console() {
FeatureSwitch* FeatureSwitch::enable_override_bookmarks_ui() {
return &g_common_switches.Get().enable_override_bookmarks_ui;
}
-
+FeatureSwitch* FeatureSwitch::extension_action_redesign() {
+ return &g_common_switches.Get().extension_action_redesign;
+}
FeatureSwitch* FeatureSwitch::scripts_require_action() {
return &g_common_switches.Get().scripts_require_action;
}
« no previous file with comments | « extensions/common/feature_switch.h ('k') | extensions/common/manifest_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698