[iOS] Set focus source of omnibox edit model directly.
Exposes a getter and setter for focus_source_ on OmniboxEditModel and uses them directly to track the focus source (omnibox or fakebox), instead of relying on a workaround for Linux and using caret visibility as a proxy. Bug: 807600 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: I6e23c77ca7c8cac39e07cc45c351b076a9183d1c Reviewed-on: https://chromium-review.googlesource.com/894325 Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org> Reviewed-by:Gauthier Ambard <gambard@chromium.org> Reviewed-by:
Justin Cohen <justincohen@chromium.org> Reviewed-by:
Justin Donnelly <jdonnelly@chromium.org> Cr-Commit-Position: refs/heads/master@{#537350}
Showing
Please register or sign in to comment