• Kevin Bailey's avatar
    [omnibox] Fix tab key through tab switch buttons · 9300ee57
    Kevin Bailey authored
    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: default avatarJustin Donnelly <jdonnelly@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#636939}
    9300ee57
omnibox_view_views.cc 63.8 KB