forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Top/Bottom toolbars to work with selection mode
- Removed the notion of the public leading/trailing buttons from toolbars as they were hard to track from outside of the toolbars. - Update Top and bottom toolbars to have explicit buttons for each action. - Update Top and Bottom toolbar to be responsible for their own layouts, based on the orientation, page and mode of the tab grid. - Remove the code that keep track of which bar has the closeAll and Done button from TabGridViewController - Updated Done Button to handle getting out of the selection mode. - Added user action for getting out of the selection mode. Note: There are some common code between both toolbars, which should be refactored to a parent class in the near future (crbug.com/1213750). screenshots: 1- Normal mode landscape: https://screenshot.googleplex.com/6wNWAKq7iXohFtV 2- Normal mode portrait: https://screenshot.googleplex.com/BYANs4oY6QNyckc 3- Selection mode landscape: https://screenshot.googleplex.com/4MuhbdMrPVkdG8X 4- Selection mode portrait: https://screenshot.googleplex.com/BXb2fGvTwcTBShW Bug: 1196933 Change-Id: I2e2bdc21adbe283c44f9cf020872fa9a1954d1c8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2904466 Commit-Queue: Mohammad Refaat <mrefaat@chromium.org> Reviewed-by: Yi Gu <yigu@chromium.org> Reviewed-by: edchin <edchin@chromium.org> Cr-Commit-Position: refs/heads/master@{#887054}
- Loading branch information
Showing
11 changed files
with
334 additions
and
123 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
1 change: 1 addition & 0 deletions
1
ios/chrome/app/strings/ios_strings_grd/IDS_IOS_TAB_GRID_SELECTED_TABS_TITLE.png.sha1
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cfc04a6ccdecacb1976603643aafbd4fe9c8d1e9 |
1 change: 1 addition & 0 deletions
1
ios/chrome/app/strings/ios_strings_grd/IDS_IOS_TAB_GRID_SELECT_ALL_BUTTON.png.sha1
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9682657bda4ea813b9b1f3d0533136509234acdb |
1 change: 1 addition & 0 deletions
1
ios/chrome/app/strings/ios_strings_grd/IDS_IOS_TAB_GRID_SELECT_TABS_TITLE.png.sha1
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9682657bda4ea813b9b1f3d0533136509234acdb |
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.