Fix zero suggestion for suggestions.
This CL: https://chromium.googlesource.com/chromium/src/+/e9d6060f509e6a7b3a4f0bd944b1303a783f4a94 fixed an issue where suggestions were triggered on URL de-focus, but it broke zero suggest because we trigger zero suggest on focus before the animation completes. To address this, this introduces a tri-state of allowed suggestion visibility. When focusing, we can request suggestions but they won't be shown until the animation is complete. When de-focusing, we disallow any suggestions being shown. BUG=904367 Change-Id: I0a1b166158bc08bcc1f8d94b4fe15c6f4e663b02 Reviewed-on: https://chromium-review.googlesource.com/c/1331574Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#607326}
Showing
Please register or sign in to comment