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

Unified Diff: webkit/glue/webview_impl.cc

Issue 186009: Obey gtk-cursor-blink setting (Closed)
Patch Set: fixes Created 11 years, 3 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
« no previous file with comments | « 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
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc
index a90d162f11653590698df7b6d831d36c32ba8ecd..017ebdb319eb3c958a9b2b75aacf329223de9c28 100644
--- a/webkit/glue/webview_impl.cc
+++ b/webkit/glue/webview_impl.cc
@@ -45,6 +45,8 @@ MSVC_PUSH_WARNING_LEVEL(0);
#include "PopupMenuClient.h"
#if defined(OS_WIN)
#include "RenderThemeChromiumWin.h"
+#elif defined(OS_LINUX)
+#include "RenderThemeChromiumLinux.h"
#else
#include "RenderTheme.h"
#endif
@@ -1804,6 +1806,13 @@ bool WebViewImpl::IsActive() {
: false;
}
+#if defined(OS_LINUX)
+void WebViewImpl::SetCaretBlinkInterval(double interval) {
+ reinterpret_cast<RenderThemeChromiumLinux*>(theme())->
+ setCaretBlinkInterval(interval);
+}
+#endif
+
void WebViewImpl::DidCommitLoad(bool* is_new_navigation) {
if (is_new_navigation)
*is_new_navigation = observed_new_navigation_;
« no previous file with comments | « webkit/glue/webview_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698