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

Unified Diff: content/common/view_messages.h

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/common/DEPS ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 39a755ea8ea08b79fb65a712ffb876e7a68be4d5..e3ef6ddf65546a455912446ede6ca8152054ffbf 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -65,6 +65,7 @@
#if defined(OS_MACOSX)
#include "content/common/mac/font_descriptor.h"
+#include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h"
#endif
#undef IPC_MESSAGE_EXPORT
@@ -1285,11 +1286,14 @@ IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted,
std::vector<unsigned char> /* png */)
#if defined(OS_MACOSX)
+IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::ScrollerStyleOverlay);
+
// Notification of a change in scrollbar appearance and/or behavior.
-IPC_MESSAGE_CONTROL4(ViewMsg_UpdateScrollbarTheme,
+IPC_MESSAGE_CONTROL5(ViewMsg_UpdateScrollbarTheme,
float /* initial_button_delay */,
float /* autoscroll_button_delay */,
bool /* jump_on_track_click */,
+ blink::ScrollerStyle /* preferred_scroller_style */,
bool /* redraw */)
#endif
« no previous file with comments | « content/common/DEPS ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698