Dismiss the keyboard even when having no suggestions.
This is useful when you only have the shortcuts, but no results, and you can't see them all (in landscape). Bug: 931210, 906054 Test: 1. Enable Shortcuts flag. Navigate to any URL. Scroll the popup area. Keyboard should be dismissed. 2. Same steps, but clear the text field (see issue 906054) before scrolling. The omnibox should be empty, the Cancel button should be visible, the keyboard should be dismissed. Change-Id: Ibd1637d17536e13352ec0a3b1f872b6df8aed714 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1491272 Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org> Auto-Submit: Stepan Khapugin <stkhapugin@chromium.org> Reviewed-by:Gauthier Ambard <gambard@chromium.org> Cr-Commit-Position: refs/heads/master@{#638200}
Showing
Please register or sign in to comment