gesture-nav: Introduce a 'simple' option for the gesture-nav UI.
BUG=344573
[email protected]
Review URL: https://codereview.chromium.org/171133002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251847 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 65e8c500..014c564 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -174,6 +174,18 @@
switches::kTouchOptimizedUIDisabled }
};
+#if defined(USE_AURA)
+const Experiment::Choice kOverscrollHistoryNavigationChoices[] = {
+ { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED, "", "" },
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
+ switches::kOverscrollHistoryNavigation,
+ "0" },
+ { IDS_OVERSCROLL_HISTORY_NAVIGATION_SIMPLE_UI,
+ switches::kOverscrollHistoryNavigation,
+ "2" }
+};
+#endif
+
const Experiment::Choice kNaClDebugMaskChoices[] = {
{ IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
// Secure shell can be used on ChromeOS for forwarding the TCP port opened by
@@ -1340,9 +1352,7 @@
IDS_FLAGS_OVERSCROLL_HISTORY_NAVIGATION_NAME,
IDS_FLAGS_OVERSCROLL_HISTORY_NAVIGATION_DESCRIPTION,
kOsAll,
- ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
- switches::kOverscrollHistoryNavigation, "1",
- switches::kOverscrollHistoryNavigation, "0")
+ MULTI_VALUE_TYPE(kOverscrollHistoryNavigationChoices)
},
#endif
{