Local NTP, Realbox: Clears autocomplete results when hiding matches
- Calls stopAutocomplete(/*clearResult=*/ true) when results are cleared so that the state of results in JS matches that of the Autocomplete backend. - Queries the autocomplete on pressing the arrow up/down keys when the matches are hidden rather than simply showing the old matches because there are now no autocomplete results to back them. Bug: 1021312 Change-Id: I8aa24f9c40a5076f55c40846ba43298a3b144a8e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1900652Reviewed-by:Dan Beam <dbeam@chromium.org> Commit-Queue: Moe Ahmadi <mahmadi@chromium.org> Cr-Commit-Position: refs/heads/master@{#713326}
Showing
Please register or sign in to comment