DescriptionRemove what remains of MediaControllerInterface
The currentTime() and duration() should simply use the media element, as
that is what paintMediaSlider() in RenderMediaControls uses, so the
existing code would not work if the media element and its controller had
different durations.
setCurrentTime() does require taking the controller into account, so add
some tests and expand that final instance of mediaControllerInterface().
BUG=341813, 341852
TEST=LayoutTests/media/controls-timeline.html
LayoutTests/media/controls-timeline-with-controller.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170512
Patch Set 1 #
Total comments: 2
Patch Set 2 : earliest possible position FIXME #Messages
Total messages: 8 (0 generated)
|