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

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

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.h
===================================================================
--- third_party/WebKit/WebCore/rendering/RenderThemeChromiumLinux.h (revision 51794)
+++ third_party/WebKit/WebCore/rendering/RenderThemeChromiumLinux.h (working copy)
@@ -54,6 +54,13 @@
void setCaretBlinkInterval(double interval);
virtual double caretBlinkIntervalInternal() const;
+ static void setScrollbarColors(unsigned inactive_color,
+ unsigned active_color,
+ unsigned track_color);
+ static unsigned thumbInactiveColor() { return m_thumbInactiveColor; }
+ static unsigned thumbActiveColor() { return m_thumbActiveColor; }
+ static unsigned trackColor() { return m_trackColor; }
+
private:
RenderThemeChromiumLinux();
virtual ~RenderThemeChromiumLinux();
@@ -62,6 +69,10 @@
virtual bool supportsControlTints() const;
double m_caretBlinkInterval;
+
+ static unsigned m_thumbInactiveColor;
+ static unsigned m_thumbActiveColor;
+ static unsigned m_trackColor;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698