[Picture in Picture] Remove KeyEvent handling.
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:Mounir Lamouri <mlamouri@chromium.org> Commit-Queue: apacible <apacible@chromium.org> Cr-Commit-Position: refs/heads/master@{#575367}
Showing
Please register or sign in to comment