-
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.
[m116][omnibox][cr23] Update layout with hover fill enabled.
m116 merge. crrev.com/c/4611098 implemented hover fill. This CL updates the layout. https://screenshot.googleplex.com/64fGjkafz9dy8Dw This required redoing the view hierarchy, otherwise, 1 of the following requirements would break: - The remove suggestion 'x' should be vertically centered and 16px from the right edge of the hover fill. - The buttons should be clipped and not painted outside the hover fill when the browser window is too narrow to show the buttons completely. Out-of-bounds buttons are still keyboard focusable. - The button focus ring should not be clipped by the suggestion view above them. - The selection indicator should remain 40px high and top-aligned with the hover fill. - The 4px wide selection indicator should not indent suggestions. - The remove suggestion 'x' mouse target should remain equal to its hover circle (24x24px), rather than stretched to its parent view. Also increases the left margin of the omnibox and dropdown texts by 1px, from 55px to 56px. (cherry picked from commit e9057dc) Low-Coverage-Reason: a) existing code, b) need to merge this to m116 Bug: 1431337 Change-Id: Idc267defb72a589f2711c8cc1041893c760fd130 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4647453 Reviewed-by: Khalid Peer <khalidpeer@chromium.org> Commit-Queue: manuk hovanesian <manukh@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1162660} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4652877 Cr-Commit-Position: refs/branch-heads/5845@{#194} Cr-Branched-From: 5a5dff6-refs/heads/main@{#1160321}
- Loading branch information
manukh
authored and
Chromium LUCI CQ
committed
Jun 28, 2023
1 parent
a945c9a
commit 531297b
Showing
6 changed files
with
183 additions
and
84 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