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

Unified Diff: webkit/glue/webview_impl.cc

Issue 173642: Set the focus ring color to match the Gtk theme focus color. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: connect to notification Created 11 years, 4 months 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
« chrome/common/render_messages.h ('K') | « webkit/glue/webview_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview_impl.cc
===================================================================
--- webkit/glue/webview_impl.cc (revision 25076)
+++ webkit/glue/webview_impl.cc (working copy)
@@ -44,6 +44,8 @@
#include "PopupMenuClient.h"
#if defined(OS_WIN)
#include "RenderThemeChromiumWin.h"
+#elif defined(OS_LINUX)
+#include "RenderThemeChromiumLinux.h"
#else
#include "RenderTheme.h"
#endif
@@ -1778,6 +1780,13 @@
: false;
}
+#if defined(OS_LINUX)
+void WebViewImpl::SetThemeFocusRingColor(int r, int g, int b) {
darin (slow to review) 2009/09/10 06:14:47 why is this a method on WebView when it doesn't ha
+ reinterpret_cast<RenderThemeChromiumLinux*>(theme())->
+ setFocusRingColor(Color(r, g, b));
+}
+#endif
+
void WebViewImpl::DidCommitLoad(bool* is_new_navigation) {
if (is_new_navigation)
*is_new_navigation = observed_new_navigation_;
« chrome/common/render_messages.h ('K') | « webkit/glue/webview_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698