[Home] Allow bookmarks, downloads, and history menu items to open sheet
This change adds a finch flag "ChromeHomeMenuItemsExpandSheet" that
allows the bookmarks, downloads, and history menu items to be shown
despite Chrome Home being enabled. Selecting these items expands the
bottom sheet to half height with the selected content being shown.
The tap count will be reset if either Chrome Home or the feature is
disabled. Tap count can be configured via finch with the "max_taps"
parameter.
BUG=792573
Change-Id: Ibc66e59aa773a69c474f08e2fc7fa9c708d33468
Reviewed-on: https://chromium-review.googlesource.com/806257
Commit-Queue: Matthew Jones <[email protected]>
Reviewed-by: Theresa <[email protected]>
Reviewed-by: Ted Choc <[email protected]>
Cr-Commit-Position: refs/heads/master@{#525049}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index d96cef4..7f64263 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1902,6 +1902,10 @@
flag_descriptions::kChromeHomeInactivitySheetExpansionDescription,
kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kChromeHomeInactivitySheetExpansion)},
+ {"enable-chrome-home-menu-items",
+ flag_descriptions::kChromeHomeMenuItemsName,
+ flag_descriptions::kChromeHomeMenuItemsDescription, kOsAndroid,
+ FEATURE_VALUE_TYPE(chrome::android::kChromeHomeMenuItemsExpandSheet)},
{"enable-chrome-home-opt-out-snackbar",
flag_descriptions::kChromeHomeOptOutSnackbarName,
flag_descriptions::kChromeHomeOptOutSnackbarDescription, kOsAndroid,