-
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.
[Omnibox] Hide url actions when their width is needed to show UrlBar
The url action container's width detracts from the width of the url bar when the url bar is focused. In the case of very narrow windows on tablets (and potentially elsewhere) this leaves no width for the url bar itself. Since a 0-width view can't be focused, this prevents omnibox focus entirely. This CL hides/shows the action container when it detects a transition to/away this state. (cherry picked from commit 029155a) Bug: 1383224, 1428914 Change-Id: I6bca4b4a4ad70b9cd867d1f9ce9c0c880c357ee6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4650854 Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Theresa Sullivan <twellington@chromium.org> Commit-Queue: Patrick Noland <pnoland@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1164758} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4664534 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/5845@{#310} Cr-Branched-From: 5a5dff6-refs/heads/main@{#1160321}
- Loading branch information
Patrick Noland
authored and
Chromium LUCI CQ
committed
Jul 5, 2023
1 parent
71e578b
commit 3331589
Showing
2 changed files
with
70 additions
and
32 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