diff options
author | Steve Block <steveblock@google.com> | 2009-12-15 10:12:09 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2009-12-17 17:41:10 +0000 |
commit | 643ca7872b450ea4efacab6188849e5aac2ba161 (patch) | |
tree | 6982576c228bcd1a7efe98afed544d840751094c /WebCore/rendering/RenderThemeChromiumLinux.cpp | |
parent | d026980fde6eb3b01c1fe49441174e89cd1be298 (diff) | |
download | external_webkit-643ca7872b450ea4efacab6188849e5aac2ba161.zip external_webkit-643ca7872b450ea4efacab6188849e5aac2ba161.tar.gz external_webkit-643ca7872b450ea4efacab6188849e5aac2ba161.tar.bz2 |
Merge webkit.org at r51976 : Initial merge by git.
Change-Id: Ib0e7e2f0fb4bee5a186610272edf3186f0986b43
Diffstat (limited to 'WebCore/rendering/RenderThemeChromiumLinux.cpp')
-rw-r--r-- | WebCore/rendering/RenderThemeChromiumLinux.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/WebCore/rendering/RenderThemeChromiumLinux.cpp b/WebCore/rendering/RenderThemeChromiumLinux.cpp index 9048ce3..4b09174 100644 --- a/WebCore/rendering/RenderThemeChromiumLinux.cpp +++ b/WebCore/rendering/RenderThemeChromiumLinux.cpp @@ -32,6 +32,10 @@ namespace WebCore { +unsigned RenderThemeChromiumLinux::m_thumbInactiveColor = 0xf0ebe5; +unsigned RenderThemeChromiumLinux::m_thumbActiveColor = 0xfaf8f5; +unsigned RenderThemeChromiumLinux::m_trackColor = 0xe3ddd8; + PassRefPtr<RenderTheme> RenderThemeChromiumLinux::create() { return adoptRef(new RenderThemeChromiumLinux()); @@ -122,4 +126,12 @@ double RenderThemeChromiumLinux::caretBlinkIntervalInternal() const return m_caretBlinkInterval; } +void RenderThemeChromiumLinux::setScrollbarColors( + SkColor inactiveColor, SkColor activeColor, SkColor trackColor) +{ + m_thumbInactiveColor = inactiveColor; + m_thumbActiveColor = activeColor; + m_trackColor = trackColor; +} + } // namespace WebCore |