2010-10-01 Ragner Magalhaes <ragner.magalhaes@openbossa.org>
authorAndreas Kling <andreas.kling@nokia.com>
Fri, 1 Oct 2010 13:52:33 +0000 (13:52 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Wed, 6 Oct 2010 14:05:42 +0000 (16:05 +0200)
commitfb11250c4fd5dabdf3224ae66c79a2113c024db8
tree0dd35b4fe27b0b994993b07bf3ae29c6a8d3606e
parentfd20b0ab1c5c95a2b8c5ec0e0c7c02bdc895c127
2010-10-01  Ragner Magalhaes  <ragner.magalhaes@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] New buttons style for Qt Mobile theme
        https://bugs.webkit.org/show_bug.cgi?id=46920

        Rename Maemo5Webstyle to QtMobileWebStyle since it implements the style for all Qt mobile platform.
        Adjust new Qt mobile style for buttons, radios, checks and combos.

        * WebCore.pro:
        * css/themeQtMobile.css: Adjust gradient color for buttons and combos.
        (select):
        (select:active):
        * platform/qt/QtMobileWebStyle.cpp: Renamed from platform/qt/Maemo5Webstyle.cpp to match name scheme.
        (QtMobileWebStyle::QtMobileWebStyle):
        (drawRectangularControlBackground):
        (QtMobileWebStyle::drawChecker):
        (QtMobileWebStyle::findChecker):
        (QtMobileWebStyle::drawRadio): Adjust gradient color for RadioButton.
        (QtMobileWebStyle::findRadio):
        (QtMobileWebStyle::drawControl): Adjust gradient color for CheckBox.
        (QtMobileWebStyle::drawMultipleComboButton):
        (QtMobileWebStyle::drawSimpleComboButton): Adjust ComboBox arrow.
        (QtMobileWebStyle::getButtonImageSize):
        (QtMobileWebStyle::findComboButton):
        (QtMobileWebStyle::drawComplexControl):
        * platform/qt/QtMobileWebStyle.h: Renamed from platform/qt/Maemo5Webstyle.h to match name scheme.
        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderThemeQt::RenderThemeQt):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68889 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/WebCore.pro
WebCore/css/themeQtMobile.css
WebCore/platform/qt/Maemo5Webstyle.cpp [deleted file]
WebCore/platform/qt/Maemo5Webstyle.h [deleted file]
WebCore/platform/qt/QtMobileWebStyle.cpp [new file with mode: 0644]
WebCore/platform/qt/QtMobileWebStyle.h [new file with mode: 0644]
WebCore/platform/qt/RenderThemeQt.cpp