Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PCCT-SideSheet] Introduce the onActivityLayout callback
Communicate to embedders each time the Custom Tab Activity changes its layout on the screen, including the first time it is rendered. The left-top and right-bottom coordinates will be passed. As part of this the state of the Custom Tab will be shared as well, meaning if the Custom Tab Activity is displayed as full-screen or as bottom-sheet/side-sheet in their minimized/maximized states. Low-Coverage-Reason: only added a new parameter to the constructor and its functionality is well tested within the class. Bug: 1406107 Change-Id: Iea6632801949370be5d59d6a17620649ca79ce9d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4343036 Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Theresa Sullivan <twellington@chromium.org> Commit-Queue: Kevin Grosu <kgrosu@google.com> Cr-Commit-Position: refs/heads/main@{#1120316}
- Loading branch information
Showing
16 changed files
with
539 additions
and
60 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
Oops, something went wrong.