commit | e53c9ee5b3fce6d95aa91b33ff1af4b7fb1a939d | [log] [tgz] |
---|---|---|
author | Olivier Robin <olivierrobin@chromium.org> | Mon May 14 11:25:54 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 14 11:25:54 2018 |
tree | 8f9abb922fe2ec1f23fb8cc477a5249956b06a76 | |
parent | 6066fa1754d612a5d29056e4543d462b76958eda [diff] |
Always unfocus omnibox when displaying QRScanner. On iOS10, when dismissing the keyboard, there is a short time when the scroll view containing the suggestion is offset. This cause the omnibox to not be unfocused automatically because of the test in https://cs.chromium.org/chromium/src/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_view_controller.mm?l=516 Fix the issue by always unfocus the omnibox when displaying QR scanner. Bug: 842072 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: Ie94884a18335753e919c0cd974c26e4a53abac8b Reviewed-on: https://chromium-review.googlesource.com/1055394 Reviewed-by: Gauthier Ambard <gambard@chromium.org> Reviewed-by: Stepan Khapugin <stkhapugin@chromium.org> Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org> Cr-Commit-Position: refs/heads/master@{#558259}
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 .