Move text track active list management to CueTimeline

This CL introduces a new class CueTimeline and moves the code used
for managing the list of active cues, the interval tree and other
state used when rendering cues from HTMLMediaElement to it.
For the most part this is code movement. The exception is that
CueTimeline::updateActiveCues check for the presence of
a WebMediaPlayer rather than a MediaPlayer when computing the new
list of active cues.
Methods/data are rename to remove [Tt]extTrack where appropriate.
Some adjustments are done to visibility/exposure of data on
HTMLMediaElement to allow the state to be queried when needed.

BUG=321654

Review URL: https://codereview.chromium.org/913133003

git-svn-id: svn://svn.chromium.org/blink/trunk@190298 bbb929c8-8fbe-4397-9dbb-9b2b20218538
9 files changed
tree: c1b436b024f66f14846bb58378bdca43479a911f
  1. third_party/