Changeset 117890 in webkit


Ignore:
Timestamp:
May 21, 2012 8:30:43 PM (12 years ago)
Author:
gyuyoung.kim@samsung.com
Message:

[EFL] Add inital mediaControlsEflfullscreen.css for fullscreen control UI
https://bugs.webkit.org/show_bug.cgi?id=86988

Reviewed by Eric Carlson.

In order to support fullscreen feature, EFL port needs to have new css file for fullscreen media control UI.

No new tests because this patch is covered by existing tests.

  • PlatformEfl.cmake:
  • css/mediaControlsEflFullscreen.css: Added.

(video::-webkit-media-controls-panel):
(video:-webkit-full-page-media::-webkit-media-controls-panel):
(video::-webkit-media-controls-mute-button):
(video::-webkit-media-controls-play-button):
(video::-webkit-media-controls-timeline-container):
(video::-webkit-media-controls-current-time-display):
(video::-webkit-media-controls-time-remaining-display):
(video::-webkit-media-controls-timeline):
(video::-webkit-media-controls-volume-slider-container):
(video::-webkit-media-controls-volume-slider):
(video::-webkit-media-controls-seek-back-button):
(video::-webkit-media-controls-seek-forward-button):
(video::-webkit-media-controls-fullscreen-button):
(video::-webkit-media-controls-rewind-button):
(video::-webkit-media-controls-return-to-realtime-button):
(video::-webkit-media-controls-toggle-closed-captions-button):

  • platform/efl/RenderThemeEfl.cpp:

(WebCore):
(WebCore::RenderThemeEfl::extraFullScreenStyleSheet):

  • platform/efl/RenderThemeEfl.h:

(RenderThemeEfl):

Location:
trunk/Source/WebCore
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r117873 r117890  
     12012-05-21  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
     2
     3        [EFL] Add inital mediaControlsEflfullscreen.css for fullscreen control UI
     4        https://bugs.webkit.org/show_bug.cgi?id=86988
     5
     6        Reviewed by Eric Carlson.
     7
     8        In order to support fullscreen feature, EFL port needs to have new css file for fullscreen media control UI.
     9
     10        No new tests because this patch is covered by existing tests.
     11
     12        * PlatformEfl.cmake:
     13        * css/mediaControlsEflFullscreen.css: Added.
     14        (video::-webkit-media-controls-panel):
     15        (video:-webkit-full-page-media::-webkit-media-controls-panel):
     16        (video::-webkit-media-controls-mute-button):
     17        (video::-webkit-media-controls-play-button):
     18        (video::-webkit-media-controls-timeline-container):
     19        (video::-webkit-media-controls-current-time-display):
     20        (video::-webkit-media-controls-time-remaining-display):
     21        (video::-webkit-media-controls-timeline):
     22        (video::-webkit-media-controls-volume-slider-container):
     23        (video::-webkit-media-controls-volume-slider):
     24        (video::-webkit-media-controls-seek-back-button):
     25        (video::-webkit-media-controls-seek-forward-button):
     26        (video::-webkit-media-controls-fullscreen-button):
     27        (video::-webkit-media-controls-rewind-button):
     28        (video::-webkit-media-controls-return-to-realtime-button):
     29        (video::-webkit-media-controls-toggle-closed-captions-button):
     30        * platform/efl/RenderThemeEfl.cpp:
     31        (WebCore):
     32        (WebCore::RenderThemeEfl::extraFullScreenStyleSheet):
     33        * platform/efl/RenderThemeEfl.h:
     34        (RenderThemeEfl):
     35
    1362012-05-21  Kentaro Hara  <haraken@chromium.org>
    237
  • trunk/Source/WebCore/PlatformEfl.cmake

    r116468 r117890  
    111111LIST(APPEND WebCore_USER_AGENT_STYLE_SHEETS
    112112    ${WEBCORE_DIR}/css/mediaControlsEfl.css
     113    ${WEBCORE_DIR}/css/mediaControlsEflFullscreen.css
    113114)
    114115
  • trunk/Source/WebCore/platform/efl/RenderThemeEfl.cpp

    r117297 r117890  
    10611061}
    10621062
     1063#if ENABLE(FULLSCREEN_API)
     1064String RenderThemeEfl::extraFullScreenStyleSheet()
     1065{
     1066    return String(mediaControlsEflFullscreenUserAgentStyleSheet, sizeof(mediaControlsEflFullscreenUserAgentStyleSheet));
     1067}
     1068#endif
     1069
    10631070String RenderThemeEfl::formatMediaControlsCurrentTime(float currentTime, float duration) const
    10641071{
  • trunk/Source/WebCore/platform/efl/RenderThemeEfl.h

    r116761 r117890  
    174174#if ENABLE(VIDEO)
    175175    virtual String extraMediaControlsStyleSheet();
     176#if ENABLE(FULLSCREEN_API)
     177    virtual String extraFullScreenStyleSheet();
     178#endif
    176179    virtual String formatMediaControlsCurrentTime(float currentTime, float duration) const;
    177180    virtual bool hasOwnDisabledStateHandlingFor(ControlPart) const { return true; }
Note: See TracChangeset for help on using the changeset viewer.