Separate the Apple media controls module from other ports
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 Sep 2014 22:33:21 +0000 (22:33 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 Sep 2014 22:33:21 +0000 (22:33 +0000)
commit4d43b17579d53d55f9d34af3bd516b495aea0b80
tree1535b82b9c3436deb8d45407ceedb67012f29a4d
parent9766fd690717d0cec9673bcabcc4e572303c011a
Separate the Apple media controls module from other ports
https://bugs.webkit.org/show_bug.cgi?id=136644
rdar://problem/18270969

Reviewed by Eric Carlson.

Make a mediaControlsBase.{js|css} that acts as the base
class for the EFL and GTK ports (they were using mediaControlsApple).
Over time, the Apple-specific controls may use more of the
Base class.

* Modules/mediacontrols/mediaControlsBase.css: Added.
* Modules/mediacontrols/mediaControlsBase.js: Added.
* PlatformEfl.cmake:
* PlatformGTK.cmake:
* platform/efl/RenderThemeEfl.cpp:
(WebCore::RenderThemeEfl::mediaControlsStyleSheet): Load Base rather than Apple.
(WebCore::RenderThemeEfl::mediaControlsScript): Ditto.
* rendering/RenderThemeGtk.cpp:
(WebCore::RenderThemeGtk::mediaControlsScript): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@173401 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/Modules/mediacontrols/mediaControlsBase.css [new file with mode: 0644]
Source/WebCore/Modules/mediacontrols/mediaControlsBase.js [new file with mode: 0644]
Source/WebCore/PlatformEfl.cmake
Source/WebCore/PlatformGTK.cmake
Source/WebCore/platform/efl/RenderThemeEfl.cpp
Source/WebCore/rendering/RenderThemeGtk.cpp