Index: content/browser/renderer_host/render_view_host_impl.cc |
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc |
index c32994ffa2b944524a14584c7b22cec0c61d6344..987c995d2c63d5398d919f2dcc6ff0c394074cde 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -918,6 +918,8 @@ bool RenderViewHostImpl::OnMessageReceived(const IPC::Message& msg) { |
IPC_BEGIN_MESSAGE_MAP_EX(RenderViewHostImpl, msg, msg_is_ok) |
IPC_MESSAGE_HANDLER(ViewHostMsg_ShowView, OnShowView) |
IPC_MESSAGE_HANDLER(ViewHostMsg_ShowWidget, OnShowWidget) |
+ IPC_MESSAGE_HANDLER(ViewHostMsg_DidProgrammaticallyScroll, |
+ OnDidProgrammaticallyScroll) |
IPC_MESSAGE_HANDLER(ViewHostMsg_ShowFullscreenWidget, |
OnShowFullscreenWidget) |
IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_RunModal, OnRunModal) |
@@ -1078,6 +1080,11 @@ void RenderViewHostImpl::OnShowWidget(int route_id, |
Send(new ViewMsg_Move_ACK(route_id)); |
} |
+void RenderViewHostImpl::OnDidProgrammaticallyScroll( |
+ const gfx::Point& scroll_point) { |
+ delegate_->DidProgrammaticallyScroll(scroll_point); |
+} |
+ |
void RenderViewHostImpl::OnShowFullscreenWidget(int route_id) { |
if (!is_swapped_out_) |
delegate_->ShowCreatedFullscreenWidget(route_id); |