Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1503)

Unified Diff: third_party/WebKit/WebCore/rendering/RenderThemeChromiumLinux.cpp

Issue 400027: On Linux, pick the color of the slider's thumbpart from the GTK theme.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/WebCore/rendering/RenderThemeChromiumLinux.cpp
===================================================================
--- third_party/WebKit/WebCore/rendering/RenderThemeChromiumLinux.cpp (revision 51794)
+++ third_party/WebKit/WebCore/rendering/RenderThemeChromiumLinux.cpp (working copy)
@@ -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 @@
return m_caretBlinkInterval;
}
+void RenderThemeChromiumLinux::setScrollbarColors(
+ SkColor inactive_color, SkColor active_color, SkColor track_color)
+{
+ m_thumbInactiveColor = inactive_color;
+ m_thumbActiveColor = active_color;
+ m_trackColor = track_color;
+}
+
} // namespace WebCore
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderThemeChromiumLinux.h ('k') | third_party/WebKit/WebKit/chromium/public/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698