Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[side search] Implements clobbering+ logic for RHS side panels
This CL introduces an improved clobbering experience for RHS browser side panels. The current clobbering experience is whenever a RHS side panel is shown all other open side panels for that window are immediately closed. This naive clobbering logic results in UX issues where a user may not expect their global panel to be dismissed when they open a tab specific side search instance. The improved logic covered by this CL implements the following policy: 1. Only one RHS panel is present in a window at a time. 2. If a contextual panel (side search) is opened it will open over the top of any open global panels. 3. If the user switches away from the tab with the contextual panel the previously open global panel will be restored (if it was open preciously). Bug: 1309679 Change-Id: Ide39a8e562b3d2879b0f31712c11cd6979ab1c62 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3547558 Reviewed-by: Dana Fried <dfried@chromium.org> Commit-Queue: Thomas Lukaszewicz <tluk@chromium.org> Cr-Commit-Position: refs/heads/main@{#985128}
- Loading branch information
Tom Lukaszewicz
authored and
Chromium LUCI CQ
committed
Mar 25, 2022
1 parent
be6ba58
commit b119af9
Showing
11 changed files
with
420 additions
and
21 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
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.