Add a top toolbar to BottomTabGrid

Desktop / Chromium - Ayman Almadhoun [chromium.org] - 27 February 2019 21:28 EST

This change introduces a new UI component (toolbar) that will be displayed in the BottomTabGridSheet.

Bug: 934910 Change-Id: I64294b14dff6366a80025b69d5daccb55732ff8e Reviewed-on: https://chromium-review.googlesource.com/c/1490057

23d9d52539d4 Add a top toolbar to BottomTabGrid.
.../java/res/layout/bottom_tab_grid_toolbar.xml | 44 +++++++++
chrome/android/java/res/values/dimens.xml | 3 +
.../ChromeActivityCommonsModule.java | 6 ++
.../tab_list_ui/BottomTabGridCoordinator.java | 52 +++++++---
.../tasks/tab_list_ui/BottomTabGridMediator.java | 109 +++++++++++++++++++--
.../tab_list_ui/BottomTabGridSheetContent.java | 8 +-
.../BottomTabGridSheetToolbarCoordinator.java | 52 ++++++++++
.../BottomTabGridSheetToolbarProperties.java | 24 +++++
.../tab_list_ui/BottomTabGridSheetToolbarView.java | 48 +++++++++
.../BottomTabGridSheetToolbarViewBinder.java | 34 +++++++
.../java/strings/android_chrome_strings.grd | 11 +++
chrome/android/java_sources.gni | 4 +
12 files changed, 370 insertions(+), 25 deletions(-)

Upstream: git.chromium.org


  • Share