Only send last event on each runloop
- If multiple events are received on the same runloop, autofill will only react to the last one. Only send this one to avoid useless computation. - Also avoid to send events on unfocus events, as autofill UI should only apply to the field that has focus (and is the keyboard responder). Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: Idc316480a4c03550766d549104609fb5b052c38d Reviewed-on: https://chromium-review.googlesource.com/998154Reviewed-by:Eugene But <eugenebut@chromium.org> Reviewed-by:
Vadym Doroshenko <dvadym@chromium.org> Reviewed-by:
Moe Ahmadi <mahmadi@chromium.org> Commit-Queue: Olivier Robin <olivierrobin@chromium.org> Cr-Commit-Position: refs/heads/master@{#551616}
Showing
Please register or sign in to comment