Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[Empty States] Add empty state illustrations to tab switcher UI"
This reverts commit e108b3c. Reason for revert: Caused issue where illustration would remain on screen on start surface. See https://crbug.com/1448283. Original change's description: > [Empty States] Add empty state illustrations to tab switcher UI > > - Add TabListEmptyCoordinator class to initialize empty state resources and use TabModelObserver and TabModelSelectorObserver to decide when to add /remove empty view. > Add empty state view when: > - a. On closing tab and normal tab count is going to be 0. > - b. On toggle tab model selector to normal tab model and normal tab count is 0. > - c On register tab switcher layout, add empty view when recycler is empty in TabListCoordinator. > Remove empty state view when: > - a. Adding a new tab. > - b. Undo a closed tab. > - c. On toggle tab model selector to go from normal tab model with 0 tab to incognito (We never apply empty view to incognito model). > - d. On unregister tab switcher layout. > > - Apply phone_tab_switcher_empty_state_illustration.xml to icon image view when form factor is phone. > - Apply tablet_tab_switcher_empty_state_illustration.xml to icon image view when form factor is tablet. > > Phone demo: https://drive.google.com/file/d/17deVSRomQUQ1wj5Ml04FTM3tJ0ZXXKZo/view?usp=sharing > Tablet demo: https://drive.google.com/file/d/1012QQcwxmBoqx7TUjOun7BlO6z2sP4o6/view?usp=sharing > > Change-Id: I43b89866ae612a05912b0256790cd538b38417f5 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4531843 > Reviewed-by: Theresa Sullivan <twellington@chromium.org> > Commit-Queue: Theresa Sullivan <twellington@chromium.org> > Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com> > Cr-Commit-Position: refs/heads/main@{#1147331} (cherry picked from commit 900bddc) Change-Id: I3e7f2bdbd89951c7e5b849fc41dd36d3b122ef30 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4557147 Commit-Queue: Neil Coronado <nemco@google.com> Quick-Run: Neil Coronado <nemco@google.com> Reviewed-by: Theresa Sullivan <twellington@chromium.org> Commit-Queue: Theresa Sullivan <twellington@chromium.org> Auto-Submit: Neil Coronado <nemco@google.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Original-Commit-Position: refs/heads/main@{#1148134} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4571340 Commit-Queue: Krishna Govind <govind@chromium.org> Cr-Commit-Position: refs/branch-heads/5790@{#79} Cr-Branched-From: 1d71a33-refs/heads/main@{#1148114}
- Loading branch information
Neil Coronado
authored and
Chromium LUCI CQ
committed
May 26, 2023
1 parent
6d4d6a3
commit 26a3a02
Showing
21 changed files
with
9 additions
and
242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 0 additions & 50 deletions
50
...android/features/tab_ui/java/res/drawable/phone_tab_switcher_empty_state_illustration.xml
This file was deleted.
Oops, something went wrong.
70 changes: 0 additions & 70 deletions
70
...ndroid/features/tab_ui/java/res/drawable/tablet_tab_switcher_empty_state_illustration.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 0 additions & 80 deletions
80
...ui/java/src/org/chromium/chrome/browser/tasks/tab_management/TabListEmptyCoordinator.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.