Implement heuristic for showing media controls during playback w/o a mouse
This implements a heuristic that allows the media controls to re-appear
when playback has started and the mouse is unavailable.
The behavior is triggered by a 'focusin' event on the HTMLMediaElement,
which shows the controls. The controls then remain visible as long as
the media element itself or any part of the control retains focus, or
until the hide timer fires (which it will on a pause-play "cycle" for
instance).
BUG=135661
Review URL: https://codereview.chromium.org/297783004
git-svn-id: svn://svn.chromium.org/blink/trunk@174794 bbb929c8-8fbe-4397-9dbb-9b2b20218538
10 files changed