Chromium Code Reviews| 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_; |