-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iOS] Add longpress context menu to begin overflow menu customization
The main thing in this CL is the addition of longpress items to OverflowMenuItem, so then the UI can use them to show a context menu containing those items. There are some associated UI changes to make the UI for longpresses appear better. This adds a custom ContentShape for longpresses so only the parts of the view in that shape are highlighted when the user presses. Demo: https://drive.google.com/file/d/1ifsBhfxCY62rA92fJSYD3k6e9THMibrL/view?usp=sharing&resourcekey=0-YQtFK35l_eHefwMGGgWszg Bug: 1463959 Change-Id: Ia6022d851b577f1e65a9f9ff86ed56115cb0dd74 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4794949 Reviewed-by: Gauthier Ambard <gambard@chromium.org> Reviewed-by: Nicolas MacBeth <nicolasmacbeth@google.com> Commit-Queue: Robbie Gibson <rkgibson@google.com> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1188350}
- Loading branch information
Showing
9 changed files
with
461 additions
and
218 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
Oops, something went wrong.