commit | b29e9a0d2765f9098e57cbbde2ee39d498ac9a59 | [log] [tgz] |
---|---|---|
author | manuk <manukh@chromium.org> | Tue Jul 30 22:22:17 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 30 22:22:17 2019 |
tree | 337bcb81bb3b12a88b703278999de21752b9245f | |
parent | 7200ff261ae4ea3ea7d6e7dc34761cdbf787ebd3 [diff] |
[omnibox] Display last characters of user input when omnibox overflows. Currently, when autocomplete text is longer than the omnibox width, the user input is cropped completely. With this CL, the last 5 characters of the user input will be displayed. E.g., for omnibox width 10, user input "google.com/01", and suggestion text "google.com/0123456789abcdef", the omnibox displays: Previously: [23456789ab] With this CL: om/01[23456] This change is behind a flag. Bug: 988569 Change-Id: I66b4f45bad30d0d77524080c42f73e79c4ee9eac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1723017 Commit-Queue: manuk hovanesian <manukh@chromium.org> Reviewed-by: Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/master@{#682486}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .