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

Unified Diff: content/common/view_messages.h

Issue 11858007: Splits SmoothGestureController from RenderWidgetHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Single smooth scroll Created 7 years, 10 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
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index ccc2ac60692608569bb9d5ff295738ba11944ced..7ab924107e9a3d78383433cdc15887d69671d70a 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -847,8 +847,7 @@ IPC_MESSAGE_ROUTED2(ViewMsg_HandleInputEvent,
bool /* is_keyboard_shortcut */)
// Tells the render widget that a smooth scroll completed.
-IPC_MESSAGE_ROUTED1(ViewMsg_SmoothScrollCompleted,
- int /* gesture_id */)
+IPC_MESSAGE_ROUTED0(ViewMsg_SmoothScrollCompleted)
rjkroege 2013/02/21 19:26:33 using a RenderViewHostObserver could save you need
bulach 2013/02/22 16:55:14 hmm.. this is just being changed, not added, but a
// This message notifies the renderer that the next key event is bound to one
// or more pre-defined edit commands. If the next key event is not handled
@@ -1679,9 +1678,9 @@ IPC_STRUCT_BEGIN(ViewHostMsg_BeginSmoothScroll_Params)
IPC_STRUCT_MEMBER(int, mouse_event_y)
IPC_STRUCT_END()
-IPC_MESSAGE_ROUTED2(ViewHostMsg_BeginSmoothScroll,
- int /* gesture_id */,
- ViewHostMsg_BeginSmoothScroll_Params /* params */)
+IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_BeginSmoothScroll,
+ ViewHostMsg_BeginSmoothScroll_Params /* params */,
+ bool /* smooth_scroll_started */)
IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus)
IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur)

Powered by Google App Engine
This is Rietveld 408576698