DescriptionImplement 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
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174794
Patch Set 1 #
Total comments: 4
Patch Set 2 : Rebase; Remove shouldShowMediaControls; Add simple test. #
Total comments: 13
Patch Set 3 : Add test to see where the focus moves. #Patch Set 4 : Fix brace-style in tests; Clarify comment. #Patch Set 5 : Fix mousemove fade-out behavior. #Patch Set 6 : Rebase. #Patch Set 7 : IgnoreSelfHover -> IgnoreVideoHover; Tweak comment. #
Total comments: 3
Messages
Total messages: 20 (0 generated)
|