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

Unified Diff: third_party/WebKit/WebKit/chromium/src/WebViewImpl.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
« no previous file with comments | « third_party/WebKit/WebKit/chromium/src/WebViewImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/WebKit/chromium/src/WebViewImpl.cpp
===================================================================
--- third_party/WebKit/WebKit/chromium/src/WebViewImpl.cpp (revision 51794)
+++ third_party/WebKit/WebKit/chromium/src/WebViewImpl.cpp (working copy)
@@ -97,6 +97,9 @@
#include "KeyboardCodesWin.h"
#include "RenderThemeChromiumWin.h"
#else
+#if PLATFORM(LINUX)
+#include "RenderThemeChromiumLinux.h"
+#endif
#include "KeyboardCodesPosix.h"
#include "RenderTheme.h"
#endif
@@ -1621,6 +1624,16 @@
return (page() && page()->focusController()) ? page()->focusController()->isActive() : false;
}
+void WebViewImpl::setScrollbarColors(unsigned inactive_color,
+ unsigned active_color,
+ unsigned track_color) {
+#if PLATFORM(LINUX)
+ RenderThemeChromiumLinux::setScrollbarColors(inactive_color,
+ active_color,
+ track_color);
+#endif
+}
+
void WebViewImpl::didCommitLoad(bool* isNewNavigation)
{
if (isNewNavigation)
« no previous file with comments | « third_party/WebKit/WebKit/chromium/src/WebViewImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698