[ios clean] Add TabGridContainer

Desktop / Chromium - Gauthier Ambard [chromium.org] - 11 September 2017 10:57 EDT

This CL adds a TabGridContainer, a coordinator and its ViewController. This container contains only one TabGrid for now. In the future it will contain two TabGrids, one for each mode (normal/incognito).

This CL does not add any functionality to the current code, it only splits the TabGrid in two.

Bug: 762578 Change-Id: Ic5b851b80c02f3ac2fa3f2ea006f687eebf8317c Reviewed-on: https://chromium-review.googlesource.com/654660

c4f2ff0 [ios clean] Add TabGridContainer
ios/clean/chrome/browser/ui/actions/BUILD.gn | 1 -
.../chrome/browser/ui/actions/settings_actions.h | 22 ----
.../chrome/browser/ui/root/root_coordinator.mm | 7 +-
ios/clean/chrome/browser/ui/tab_grid/BUILD.gn | 10 +-
.../ui/tab_grid/tab_grid_container_coordinator.h | 18 +++
.../ui/tab_grid/tab_grid_container_coordinator.mm | 142 +++++++++++++++++++++
.../tab_grid_container_coordinator_unittest.mm | 45 +++++++
.../tab_grid/tab_grid_container_view_controller.h | 27 ++++
.../tab_grid/tab_grid_container_view_controller.mm | 100 +++++++++++++++
.../browser/ui/tab_grid/tab_grid_coordinator.mm | 86 +------------
.../chrome/browser/ui/tab_grid/tab_grid_toolbar.h | 5 +
.../chrome/browser/ui/tab_grid/tab_grid_toolbar.mm | 38 +++++-
.../ui/tab_grid/tab_grid_toolbar_commands.h | 21 +++
.../browser/ui/tab_grid/tab_grid_view_controller.h | 6 +-
.../ui/tab_grid/tab_grid_view_controller.mm | 60 +--------
.../browser/ui/tab_grid/ui_button+cr_tab_grid.mm | 4 -
.../ui/tab_grid/ui_stack_view+cr_tab_grid.h | 18 ---
.../ui/tab_grid/ui_stack_view+cr_tab_grid.mm | 37 ------
18 files changed, 417 insertions(+), 230 deletions(-)

Upstream: git.chromium.org


  • Share