summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_thread_impl.h
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-23 17:49:11 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-23 17:49:11 +0000
commit291857af65204e33d227e0ce356198655b22249f (patch)
tree3d099b481d0e1537a1b1feff84499b0e68d3dcb9 /content/renderer/render_thread_impl.h
parent6eae7e4d1daed5ba5537d61e3c28ac667d3b3920 (diff)
downloadchromium_src-291857af65204e33d227e0ce356198655b22249f.zip
chromium_src-291857af65204e33d227e0ce356198655b22249f.tar.gz
chromium_src-291857af65204e33d227e0ce356198655b22249f.tar.bz2
Move preferred scrollbar style preference change listening from renderer to browser, 2 of 3.
This adds the preference observer to the browser and starts sending the parameter to the renderer over IPC when it changes. Blink will not use this until part 3 lands. BUG=306348 Review URL: https://codereview.chromium.org/136443008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246635 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_thread_impl.h')
-rw-r--r--content/renderer/render_thread_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index e948d4c..c05d775 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -24,6 +24,10 @@
#include "ipc/ipc_channel_proxy.h"
#include "ui/gfx/native_widget_types.h"
+#if defined(OS_MACOSX)
+#include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h"
+#endif
+
class GrContext;
class SkBitmap;
struct ViewMsg_New_Params;
@@ -390,6 +394,7 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
void OnUpdateScrollbarTheme(float initial_button_delay,
float autoscroll_button_delay,
bool jump_on_track_click,
+ blink::ScrollerStyle preferred_scroller_style,
bool redraw);
#endif