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

Unified Diff: chrome/browser/about_flags.cc

Issue 171133002: gesture-nav: Introduce a 'simple' option for the gesture-nav UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 65e8c500d5e893fb1ec2fc08dc7d09d063af616f..014c5641574bffda83143665ff7256028db959ef 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -174,6 +174,18 @@ const Experiment::Choice kTouchOptimizedUIChoices[] = {
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 @@ const Experiment kExperiments[] = {
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
{
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698