From: Seonae Kim Date: Wed, 24 Apr 2013 07:11:02 +0000 (+0900) Subject: Checking disabled state handling of fullscreen button X-Git-Tag: accepted/tizen_2.1/20130426.150610~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f32a6c34bb1b7681616d7f9f643357d0aab3ef9;p=framework%2Fweb%2Fwebkit-efl.git Checking disabled state handling of fullscreen button [Title] Checking disabled state handling of fullscreen button [Issue] N/A [Problem] After failing to seek on slider, the fullscreen button is disabled. [Cause] when a seek error occurs, do not consider the fullscreen mode. [Solution] Add the code checking disabled state handling of fullscreen button Change-Id: I74ab6a7bdbd82dd6f95c166408c24a8cf0a1e873 --- diff --git a/Source/WebCore/html/shadow/MediaControlRootElement.cpp b/Source/WebCore/html/shadow/MediaControlRootElement.cpp index 0fa5022..c1763c4 100644 --- a/Source/WebCore/html/shadow/MediaControlRootElement.cpp +++ b/Source/WebCore/html/shadow/MediaControlRootElement.cpp @@ -474,6 +474,9 @@ void MediaControlRootElement::reportedError() if (!page->theme()->hasOwnDisabledStateHandlingFor(MediaMuteButtonPart)) m_panelMuteButton->hide(); +#if ENABLE(TIZEN_FULLSCREEN_API) + if (m_fullScreenButton && !page->theme()->hasOwnDisabledStateHandlingFor(MediaEnterFullscreenButtonPart)) +#endif m_fullScreenButton->hide(); if (m_volumeSliderContainer)