Replace extra NTP sections with buttons
Replace the NTP sections for bookmarks and downloads with buttons. Also
enables scroll-to-load when the sections are hidden.
Hidden behind a feature flag, UX polish to follow.
BUG=818463
Change-Id: I439aabfc75c9857476be9f6f90557f1d000044b3
Reviewed-on: https://chromium-review.googlesource.com/956494
Commit-Queue: Theresa <[email protected]>
Reviewed-by: Bernhard Bauer <[email protected]>
Cr-Commit-Position: refs/heads/master@{#542138}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 30f5820..c6c6b32 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2579,12 +2579,15 @@
{"ntp-modern-layout", flag_descriptions::kNtpModernLayoutName,
flag_descriptions::kNtpModernLayoutDescription, kOsAndroid,
FEATURE_VALUE_TYPE(chrome::android::kNTPModernLayoutFeature)},
+ {"ntp-shortcuts", flag_descriptions::kNtpShortcutsName,
+ flag_descriptions::kNtpShortcutsDescription, kOsAndroid,
+ FEATURE_VALUE_TYPE(chrome::android::kNTPShortcuts)},
{"enable-site-exploration-ui", flag_descriptions::kSiteExplorationUiName,
flag_descriptions::kSiteExplorationUiDescription, kOsAndroid,
FEATURE_VALUE_TYPE(ntp_tiles::kSiteExplorationUiFeature)},
{"ntp-google-g-in-omnibox", flag_descriptions::kNtpGoogleGInOmniboxName,
flag_descriptions::kNtpGoogleGInOmniboxDescription, kOsAndroid,
- FEATURE_VALUE_TYPE(chrome::android::NTPShowGoogleGInOmniboxFeature)},
+ FEATURE_VALUE_TYPE(chrome::android::kNTPShowGoogleGInOmniboxFeature)},
#endif // OS_ANDROID
{"user-activation-v2", flag_descriptions::kUserActivationV2Name,
flag_descriptions::kUserActivationV2Description, kOsAll,