2009-12-07 Evan Martin <evan@chromium.org>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Dec 2009 02:54:52 +0000 (02:54 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Dec 2009 02:54:52 +0000 (02:54 +0000)
commit5daebb2a11354c367b159f54f8e61b48800a17d2
tree30120de71c4307c6955133581bb6378844d5d58d
parent39ff810ae56f59865294468b351a9bb1f7fb3f95
2009-12-07  Evan Martin  <evan@chromium.org>

        Reviewed by Eric Seidel.

        Chromium: theme scrollbars to match GTK theme.
        Add functions to RenderThemeChromiumLinux to change the scrollbar
        color.

        Since the change is to the Chromium WebKit API layer, testing will
        be in Chromium's test shell.
        http://bugs.webkit.org/show_bug.cgi?id=32048

        Patch from Markus Gutschke <markus@chromium.org>.

        * platform/chromium/ScrollbarThemeChromiumLinux.cpp:
        (WebCore::saturateAndBrighten):
        (WebCore::outlineColor):
        (WebCore::ScrollbarThemeChromiumLinux::paintTrackPiece):
        (WebCore::ScrollbarThemeChromiumLinux::paintThumb):
        * rendering/RenderThemeChromiumLinux.cpp:
        (WebCore::RenderThemeChromiumLinux::setScrollbarColors):
        * rendering/RenderThemeChromiumLinux.h:
        (WebCore::RenderThemeChromiumLinux::thumbInactiveColor):
        (WebCore::RenderThemeChromiumLinux::thumbActiveColor):
        (WebCore::RenderThemeChromiumLinux::trackColor):
2009-12-07  Evan Martin  <evan@chromium.org>

        Reviewed by Eric Seidel.

        Chromium: theme scrollbars to match GTK theme.
        Add API to set the colors.

        Since the change is to the Chromium WebKit API layer, testing will
        be in Chromium's test shell.
        http://bugs.webkit.org/show_bug.cgi?id=32048

        Patch from Markus Gutschke <markus@chromium.org>.

        * public/WebView.h:
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::setScrollbarColors):
        * src/WebViewImpl.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@51827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/chromium/ScrollbarThemeChromiumLinux.cpp
WebCore/rendering/RenderThemeChromiumLinux.cpp
WebCore/rendering/RenderThemeChromiumLinux.h
WebKit/chromium/ChangeLog
WebKit/chromium/public/WebView.h
WebKit/chromium/src/WebViewImpl.cpp
WebKit/chromium/src/WebViewImpl.h