• Jennifer Apacible's avatar
    [Picture in Picture] Remove KeyEvent handling. · df6d0375
    Jennifer Apacible authored
    OverlayWindowViews handled KeyEvents as a workaround for a11y
    navigation. Now that the buttons are tab navigable, this is no longer
    needed.
    
    OnKeyEvent() also causes some issues if the initially focused button
    on the window is the close button, rather than play/pause. This is
    determined by the built in view::Views keyboard navigation. Keeping
    track of this separately in OverlayWindowViews makes no sense.
    
    Change-Id: Ide8cca038452781790d2d80a9545f1a2a7b474e9
    Reviewed-on: https://chromium-review.googlesource.com/1136228Reviewed-by: default avatarMounir Lamouri <mlamouri@chromium.org>
    Commit-Queue: apacible <apacible@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#575367}
    df6d0375
overlay_window_views.h 5.09 KB