[EFL] Turn on ENABLE_MEDIA_CONTROLS_SCRIPT
authorryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Apr 2014 12:34:25 +0000 (12:34 +0000)
committerryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Apr 2014 12:34:25 +0000 (12:34 +0000)
commit0a2027f3d58645180b101cb0d1a270af33e52721
treed5e2ea71058675c201d26df78492b1e371f9d5b1
parent669e68c172cdd8a615f3c3c65efaacaa969ffba6
[EFL] Turn on ENABLE_MEDIA_CONTROLS_SCRIPT
https://bugs.webkit.org/show_bug.cgi?id=131257

Reviewed by Gyuyoung Kim.

.:

* Source/cmake/OptionsEfl.cmake: Enable MEDIA_CONTROLS_SCRIPT

Source/WebCore:

no new tests. just rebased exisiting tests.

* PlatformEfl.cmake: Added the media controls script associated files.
* css/mediaControlsEfl.css: Removed.
* css/mediaControlsEflFullscreen.css: Removed.
* platform/efl/DefaultTheme/CMakeLists.txt:
* platform/efl/DefaultTheme/default.edc:
* platform/efl/DefaultTheme/widget/mediacontrol/fullscreenbutton/enterfullscreenbutton.png: Removed.
* platform/efl/DefaultTheme/widget/mediacontrol/fullscreenbutton/exitfullscreenbutton.png: Removed.
* platform/efl/DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreen_button.edc: Removed.
* platform/efl/DefaultTheme/widget/mediacontrol/mutebutton/mute_button.edc: Removed.
* platform/efl/DefaultTheme/widget/mediacontrol/mutebutton/mutebutton.png: Removed.
* platform/efl/DefaultTheme/widget/mediacontrol/mutebutton/unmutebutton.png: Removed.
* platform/efl/DefaultTheme/widget/mediacontrol/playpausebutton/pausebutton.png: Removed.
* platform/efl/DefaultTheme/widget/mediacontrol/playpausebutton/playbutton.png: Removed.
* platform/efl/DefaultTheme/widget/mediacontrol/playpausebutton/playpause_button.edc: Removed.
* platform/efl/DefaultTheme/widget/mediacontrol/seekbackwardbutton/seekbackward_button.edc: Removed.
* platform/efl/DefaultTheme/widget/mediacontrol/seekbackwardbutton/seekbackwardbutton.png: Removed.
* platform/efl/DefaultTheme/widget/mediacontrol/seekforwardbutton/seekforward_button.edc: Removed.
* platform/efl/DefaultTheme/widget/mediacontrol/seekforwardbutton/seekforwardbutton.png: Removed.
* platform/efl/DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption.png: Removed.
* platform/efl/DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption_disabled.png: Removed.
* platform/efl/DefaultTheme/widget/mediacontrol/togglecaptionsbutton/toggle_captions_button.edc: Removed.
* platform/efl/RenderThemeEfl.cpp:
(WebCore::toEdjeGroup):
(WebCore::RenderThemeEfl::RenderThemeEfl):
(WebCore::RenderThemeEfl::adjustSliderThumbSize):
(WebCore::RenderThemeEfl::mediaControlsStyleSheet): Modified to load bundle style sheet.
(WebCore::RenderThemeEfl::mediaControlsScript): Added to load bundle scripts.
(WebCore::RenderThemeEfl::emitMediaButtonSignal): Deleted.
(WebCore::RenderThemeEfl::extraMediaControlsStyleSheet): Deleted.
(WebCore::RenderThemeEfl::extraFullScreenStyleSheet): Deleted.
(WebCore::RenderThemeEfl::formatMediaControlsCurrentTime): Deleted.
(WebCore::RenderThemeEfl::hasOwnDisabledStateHandlingFor): Deleted.
(WebCore::RenderThemeEfl::paintMediaFullscreenButton): Deleted.
(WebCore::RenderThemeEfl::paintMediaMuteButton): Deleted.
(WebCore::RenderThemeEfl::paintMediaPlayButton): Deleted.
(WebCore::RenderThemeEfl::paintMediaSeekBackButton): Deleted.
(WebCore::RenderThemeEfl::paintMediaSeekForwardButton): Deleted.
(WebCore::RenderThemeEfl::paintMediaSliderTrack): Deleted.
(WebCore::RenderThemeEfl::paintMediaSliderThumb): Deleted.
(WebCore::RenderThemeEfl::paintMediaVolumeSliderContainer): Deleted.
(WebCore::RenderThemeEfl::paintMediaVolumeSliderTrack): Deleted.
(WebCore::RenderThemeEfl::paintMediaVolumeSliderThumb): Deleted.
(WebCore::RenderThemeEfl::paintMediaCurrentTime): Deleted.
(WebCore::RenderThemeEfl::supportsClosedCaptioning): Deleted.
(WebCore::RenderThemeEfl::paintMediaToggleClosedCaptionsButton): Deleted.
* platform/efl/RenderThemeEfl.h:

LayoutTests:

Rebased tests.

* platform/efl/TestExpectations:
* platform/efl/media/audio-controls-rendering-expected.png:
* platform/efl/media/audio-controls-rendering-expected.txt:
* platform/efl/media/controls-after-reload-expected.png:
* platform/efl/media/controls-after-reload-expected.txt:
* platform/efl/media/controls-strict-expected.png:
* platform/efl/media/controls-strict-expected.txt:
* platform/efl/media/controls-styling-expected.png:
* platform/efl/media/controls-styling-expected.txt:
* platform/efl/media/controls-without-preload-expected.png:
* platform/efl/media/controls-without-preload-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@166872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
38 files changed:
ChangeLog
LayoutTests/ChangeLog
LayoutTests/platform/efl/TestExpectations
LayoutTests/platform/efl/media/audio-controls-rendering-expected.png
LayoutTests/platform/efl/media/audio-controls-rendering-expected.txt
LayoutTests/platform/efl/media/controls-after-reload-expected.png
LayoutTests/platform/efl/media/controls-after-reload-expected.txt
LayoutTests/platform/efl/media/controls-strict-expected.png
LayoutTests/platform/efl/media/controls-strict-expected.txt
LayoutTests/platform/efl/media/controls-styling-expected.png
LayoutTests/platform/efl/media/controls-styling-expected.txt
LayoutTests/platform/efl/media/controls-without-preload-expected.png
LayoutTests/platform/efl/media/controls-without-preload-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/PlatformEfl.cmake
Source/WebCore/css/mediaControlsEfl.css [deleted file]
Source/WebCore/css/mediaControlsEflFullscreen.css [deleted file]
Source/WebCore/platform/efl/DefaultTheme/CMakeLists.txt
Source/WebCore/platform/efl/DefaultTheme/default.edc
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/fullscreenbutton/enterfullscreenbutton.png [deleted file]
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/fullscreenbutton/exitfullscreenbutton.png [deleted file]
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreen_button.edc [deleted file]
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/mutebutton/mute_button.edc [deleted file]
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/mutebutton/mutebutton.png [deleted file]
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/mutebutton/unmutebutton.png [deleted file]
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/playpausebutton/pausebutton.png [deleted file]
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/playpausebutton/playbutton.png [deleted file]
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/playpausebutton/playpause_button.edc [deleted file]
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/seekbackwardbutton/seekbackward_button.edc [deleted file]
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/seekbackwardbutton/seekbackwardbutton.png [deleted file]
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/seekforwardbutton/seekforward_button.edc [deleted file]
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/seekforwardbutton/seekforwardbutton.png [deleted file]
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption.png [deleted file]
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption_disabled.png [deleted file]
Source/WebCore/platform/efl/DefaultTheme/widget/mediacontrol/togglecaptionsbutton/toggle_captions_button.edc [deleted file]
Source/WebCore/platform/efl/RenderThemeEfl.cpp
Source/WebCore/platform/efl/RenderThemeEfl.h
Source/cmake/OptionsEfl.cmake