[Modern Media Controls] MediaControls base class
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Oct 2016 19:02:29 +0000 (19:02 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Oct 2016 19:02:29 +0000 (19:02 +0000)
commit7da5427dcb9ae9dc8912bc40d5776a5a1e6e2b06
tree942360196dcb8a6c65412b47264db2a8d80da955
parent5806907b9fc998266c327b607b96b7e3f786536b
[Modern Media Controls] MediaControls base class
https://bugs.webkit.org/show_bug.cgi?id=163387
<rdar://problem/28753955>

Patch by Antoine Quint <graouts@apple.com> on 2016-10-13
Reviewed by Dean Jackson.

Source/WebCore:

Introducing the new MediaControls class which will serve as a basis for all media controls.
We will introduce specific MediaControls subclasses for macOS inline, macOS fullscreen and
iOS inline in future patches.

Tests: media/modern-media-controls/media-controls/media-controls-constructor.html
       media/modern-media-controls/media-controls/media-controls-placard.html
       media/modern-media-controls/media-controls/media-controls-start-button.html

* Modules/modern-media-controls/controls/media-controls.css: Added.
(.media-controls,):
* Modules/modern-media-controls/controls/media-controls.js: Added.
(MediaControls.):
(MediaControls.prototype.get showsStartButton):
(MediaControls.prototype.set showsStartButton):
(MediaControls.prototype.get showsPlacard):
(MediaControls.prototype.showPlacard):
(MediaControls.prototype.hidePlacard):

LayoutTests:

Testing the properties of the new MediaControls class.

* media/modern-media-controls/media-controls/media-controls-constructor-expected.txt: Added.
* media/modern-media-controls/media-controls/media-controls-constructor.html: Added.
* media/modern-media-controls/media-controls/media-controls-placard-expected.txt: Added.
* media/modern-media-controls/media-controls/media-controls-placard.html: Added.
* media/modern-media-controls/media-controls/media-controls-start-button-expected.txt: Added.
* media/modern-media-controls/media-controls/media-controls-start-button.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@207299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/modern-media-controls/media-controls/media-controls-constructor-expected.txt [new file with mode: 0644]
LayoutTests/media/modern-media-controls/media-controls/media-controls-constructor.html [new file with mode: 0644]
LayoutTests/media/modern-media-controls/media-controls/media-controls-placard-expected.txt [new file with mode: 0644]
LayoutTests/media/modern-media-controls/media-controls/media-controls-placard.html [new file with mode: 0644]
LayoutTests/media/modern-media-controls/media-controls/media-controls-start-button-expected.txt [new file with mode: 0644]
LayoutTests/media/modern-media-controls/media-controls/media-controls-start-button.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/Modules/modern-media-controls/controls/media-controls.css [new file with mode: 0644]
Source/WebCore/Modules/modern-media-controls/controls/media-controls.js [new file with mode: 0644]