-
Ioana Pandele authored
The KA relies on the FocusedNodeChanged event that it receives as a RenderFrameObserver. This event however is not triggered when the focus moves outside the frame (e.g. on the omnibox). In order to detect such a focus change we use DidEndTextFieldEditing to hide the KA, same as for the autofill popup. When the user taps back onto the field DidCompleteFocusChangeInFrame is called, which leads to the accessory being shown again. TBR for 1 line in components/autofill/content/renderer/autofill_agent.cc TBR=dvadym@chromium.org Bug: 893695 Change-Id: I76a66ce43fad0a74c0abbc10c42d8916fd7e891a Reviewed-on: https://chromium-review.googlesource.com/c/1268246Reviewed-by:
Vasilii Sukhanov <vasilii@chromium.org> Commit-Queue: Ioana Pandele <ioanap@chromium.org> Cr-Commit-Position: refs/heads/master@{#598878}
9e742fee