Show cancel button when the omnibox is focused
This CL shows the cancel button when the omnibox is focused on portrait. The omnibox can be focused and not the first responder when the user taps the omnibox, display some suggestions, scroll the suggestions. The correct check to know if the omnibox is focused is if it is showing the popup or if it is first responder. Bug: 836814 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I2d021154f033c81ddde731163c813eb850a973bd Reviewed-on: https://chromium-review.googlesource.com/1064113Reviewed-by:Stepan Khapugin <stkhapugin@chromium.org> Commit-Queue: Gauthier Ambard <gambard@chromium.org> Cr-Commit-Position: refs/heads/master@{#559536}
Showing
Please register or sign in to comment