Remove special case for HTMLMediaElement in determineDispatchBehavior

This was added in WebKit r87692 in order to fix "Scrubbing a Vimeo movie
when in fullscreen stops playback; no way to make it start again":
https://bugs.webkit.org/show_bug.cgi?id=61717

The commit message and bug comments makes it clear that this special
case is no longer needed:

 1. The media controls fullscreen button now uses largely the same code
    path as Element::webkitRequestFullscreen. "Video-only full screen is
    a mode where we use the shadow DOM as an implementation detail that
    should not be detectable by the web content" is no longer true at
    all, since Web content can observe the events fired, etc.

 2. Scrubbing no longer uses HTMLMediaElement::setPausedInternal(),
    which looks like the cause of "no way to make it start again".

BUG=none
TEST=None originally added with the code, but existing tests pass.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@170017 bbb929c8-8fbe-4397-9dbb-9b2b20218538
1 file changed
tree: 5269bdea03b3c575730b02262f0ecc3562938227
  1. third_party/