[omnibox] Fine-tune the up and down arrow behavior for ZeroSuggest
This CL allows proper reverting via arrow-key for On Focus Query Suggestions. Previously, we forbade reverting via arrow key for all on-focus suggestions, and this was to fix the NTP case, which does not have a verbatim match at as the default match. But for on-focus query refinements (on SERP), the first match is indeed a verbatim search match, so we should allow those. Bug: 1012990, 963173 Change-Id: I976ff4f39271ffd8fe84c5f12622733c41e0124b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1873132 Commit-Queue: Tommy Li <tommycli@chromium.org> Reviewed-by:Moe Ahmadi <mahmadi@chromium.org> Cr-Commit-Position: refs/heads/master@{#708228}
Showing
Please register or sign in to comment