2010-08-03 Leandro Pereira <leandro@profusion.mobi>
authorleandro@webkit.org <leandro@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Aug 2010 18:18:35 +0000 (18:18 +0000)
committerleandro@webkit.org <leandro@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Aug 2010 18:18:35 +0000 (18:18 +0000)
commit642e033943eacae42c4c16b78b7dba88f220ab04
tree2794b142c1bfd8535eadde3a8f0711af1ef1cd04
parent1dff1367d63731e92a2d074d8f971f23eceacc9f
2010-08-03  Leandro Pereira  <leandro@profusion.mobi>

        Reviewed by Kenneth Rohde Christiansen.

        Implement HTML5 slider theme (using the scrollbar theme as base).
        https://bugs.webkit.org/show_bug.cgi?id=43430

        * DefaultTheme/default.edc: Include slider.edc.
        * DefaultTheme/widget/slider/slider.edc: Added.
        * DefaultTheme/widget/slider/slider_h.png: Copied from WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_h.png.
        * DefaultTheme/widget/slider/slider_hilight.png: Copied from WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_hilight.png.
        * DefaultTheme/widget/slider/slider_knob_h.png: Copied from WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_knob_h.png.
        * DefaultTheme/widget/slider/slider_knob_v.png: Copied from WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_knob_v.png.
        * DefaultTheme/widget/slider/slider_v.png: Copied from WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_v.png.
2010-08-03  Leandro Pereira  <leandro@profusion.mobi>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL] Implement HTML5 slider theme (using the scrollbar theme as base).
        https://bugs.webkit.org/show_bug.cgi?id=43430

        EFL port does not yet support automated tests.

        * platform/efl/RenderThemeEfl.cpp:
        (WebCore::RenderThemeEfl::paintThemePart):
        (WebCore::RenderThemeEfl::edjeGroupFromFormType): Add Edje groups
        for both vertical and horizontal sliders.
        (WebCore::supportsFocus): Add sliders as focusable elements.
        (WebCore::RenderThemeEfl::paintSliderTrack): Implement.
        (WebCore::RenderThemeEfl::adjustSliderTrackStyle): Implement.
        (WebCore::RenderThemeEfl::adjustSliderThumbStyle): Use
        adjustSliderTrackStyle() implementation.
        (WebCore::RenderThemeEfl::paintSliderThumb): Use paintSliderTrack()
        implementation().
        * platform/efl/RenderThemeEfl.h: Add SliderVertical and
        * SliderHorizontal.
        (WebCore::): Added prototypes for adjustSlider*/paintSlider*.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/efl/RenderThemeEfl.cpp
WebCore/platform/efl/RenderThemeEfl.h
WebKit/efl/ChangeLog
WebKit/efl/DefaultTheme/default.edc
WebKit/efl/DefaultTheme/widget/slider/slider.edc [new file with mode: 0644]
WebKit/efl/DefaultTheme/widget/slider/slider_h.png [new file with mode: 0644]
WebKit/efl/DefaultTheme/widget/slider/slider_hilight.png [new file with mode: 0644]
WebKit/efl/DefaultTheme/widget/slider/slider_knob_h.png [new file with mode: 0644]
WebKit/efl/DefaultTheme/widget/slider/slider_knob_v.png [new file with mode: 0644]
WebKit/efl/DefaultTheme/widget/slider/slider_v.png [new file with mode: 0644]