[omnibox] Fix tab key through tab switch buttons
When the tab switch button was "focused", the tab key wasn't working because the routine involved was returning true, saying that it had handled the tab key. This CL changes that. Arrow keys still need to return true in this case, so 'AtEndWithTabSwitch()' was broken up into 'BidirAtEnd()' and 'SelectedSuggestionHasTabSwitch()' so that the tab key can ignore the first condition, while arrow keys consider it. Bug: 936851 Change-Id: I84b8b2e41f2601c978d31405b727eb60ea3c78c0 Reviewed-on: https://chromium-review.googlesource.com/c/1495198 Commit-Queue: Kevin Bailey <krb@chromium.org> Reviewed-by:Justin Donnelly <jdonnelly@chromium.org> Cr-Commit-Position: refs/heads/master@{#636939}
Showing
Please register or sign in to comment