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

Unified Diff: content/common/view_messages.h

Issue 10837330: Add a completion callback to gpuBenchmarking.beginSmoothScroll (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: virtual and todo note Created 8 years, 4 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 042bff4bc234168d4947d1d18f3df3e170077388..45b0c4b1cba7dc1ed302de40d064cbcea5abd60c 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -891,6 +891,10 @@ IPC_MESSAGE_ROUTED0(ViewMsg_SwapBuffers_ACK)
// to a keyboard shortcut of the browser.
IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent)
+// Tells the render widget that a smooth scroll completed.
+IPC_MESSAGE_ROUTED1(ViewMsg_SmoothScrollCompleted,
+ int /* gesture_id */)
+
// 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
// by webkit, the specified edit commands shall be executed against current
@@ -1596,7 +1600,8 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_HandleInputEvent_ACK,
WebKit::WebInputEvent::Type,
bool /* processed */)
-IPC_MESSAGE_ROUTED2(ViewHostMsg_BeginSmoothScroll,
+IPC_MESSAGE_ROUTED3(ViewHostMsg_BeginSmoothScroll,
+ int /* gesture_id */,
bool /* scroll_down */,
bool /* scroll_far */)
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.cc ('k') | content/port/browser/smooth_scroll_gesture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698