DescriptionMove automatic text track selection code to AutomaticTrackSelection helper
Move the body of
HTMLMediaElement::honorUserPreferencesForAutomaticTextTrackSelection and
support functions to a helper class (AutomaticTrackSelection).
A straight-forward code movement with the only difference being that the
helper uses the a configuration object set up from HTMLMediaElement state.
Also moves HTMLMediaElement::markCaptionAndSubtitleTracksAsUnconfigured
closer to it user.
BUG=321654
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189971
Patch Set 1 #
Total comments: 7
Patch Set 2 : Drop WTF_LOG to fix compilation #Patch Set 3 : Pass TextTrackList as parameter instead. #
Messages
Total messages: 9 (3 generated)
|