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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 136443008: Move preferred scrollbar style preference change listening from renderer to browser, 2 of 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix iOS compile Created 6 years, 11 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 | « content/renderer/render_thread_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 5b681189413010eb2f5aacbb522d05514ef6b340..77757abb9d7d25437ed8f1ece24e145d5f8ea3f4 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -123,10 +123,6 @@
#include "content/child/npapi/np_channel_base.h"
#endif
-#if defined(OS_MACOSX)
-#include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h"
-#endif
-
#if defined(OS_POSIX)
#include "ipc/ipc_channel_posix.h"
#endif
@@ -1298,13 +1294,16 @@ void RenderThreadImpl::OnSetWebKitSharedTimersSuspended(bool suspend) {
#endif
#if defined(OS_MACOSX)
-void RenderThreadImpl::OnUpdateScrollbarTheme(float initial_button_delay,
- float autoscroll_button_delay,
- bool jump_on_track_click,
- bool redraw) {
+void RenderThreadImpl::OnUpdateScrollbarTheme(
+ float initial_button_delay,
+ float autoscroll_button_delay,
+ bool jump_on_track_click,
+ blink::ScrollerStyle preferred_scroller_style,
+ bool redraw) {
blink::WebScrollbarTheme::updateScrollbars(initial_button_delay,
autoscroll_button_delay,
jump_on_track_click,
+ preferred_scroller_style,
redraw);
}
#endif
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698