Separate the text track container from the media controls

Having the text track container as a part of the media controls makes it
harder to show and hide the controls as a group, which would be useful.

One benefit of the old approach was that the controls automatically
wouldn't overlap the cues. This is now broken, and two tests are
affected. This will be addressed in a follow-up:
https://codereview.chromium.org/1018593004/

TextTrackContainer is never hidden, as that used MediaControlElement's
show() and hide(). If it does not have any cues nothing will be
rendered, it will just sit there. If an optimization of this kind is
worthwhile, it should be to remove the TextTrackContainer entirely from
the DOM.

Some bits of mediaControls.css that should have no effect are removed.

BUG=448795

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

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