| Index: content/browser/renderer_host/render_widget_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
|
| index 93d865b4a0cae79c44829ff6986df497cf42f871..9a77d9228a1e50a511aa2754ae8c4cdf90b5a27e 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
| @@ -460,6 +460,8 @@ bool RenderWidgetHostImpl::OnMessageReceived(const IPC::Message &msg) {
|
| IPC_BEGIN_MESSAGE_MAP_EX(RenderWidgetHostImpl, msg, msg_is_ok)
|
| IPC_MESSAGE_HANDLER(InputHostMsg_QueueSyntheticGesture,
|
| OnQueueSyntheticGesture)
|
| + IPC_MESSAGE_HANDLER(InputHostMsg_DidFinishTopControlsGesture,
|
| + OnDidFinishTopControlsGesture)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_RenderViewReady, OnRenderViewReady)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_RenderProcessGone, OnRenderProcessGone)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_Close, OnClose)
|
| @@ -1710,6 +1712,11 @@ void RenderWidgetHostImpl::OnQueueSyntheticGesture(
|
| SyntheticGesture::Create(*gesture_packet.gesture_params()));
|
| }
|
|
|
| +void RenderWidgetHostImpl::OnDidFinishTopControlsGesture() {
|
| + if (view_)
|
| + view_->DidFinishTopControlsGesture();
|
| +}
|
| +
|
| void RenderWidgetHostImpl::OnFocus() {
|
| // Only RenderViewHost can deal with that message.
|
| RecordAction(base::UserMetricsAction("BadMessageTerminate_RWH4"));
|
|
|