| 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 919aee0e996b8ac5ed85280e1dbd940ca10be62d..cebc589aa96dad331ea98f8de29879b9f57198b3 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -938,6 +938,8 @@ bool RenderViewHostImpl::OnMessageReceived(const IPC::Message& msg) {
|
| OnMsgDidChangeScrollOffsetPinningForMainFrame)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_DidChangeNumWheelEvents,
|
| OnMsgDidChangeNumWheelEvents)
|
| + IPC_MESSAGE_HANDLER(ViewHostMsg_RouteCloseEvent,
|
| + OnMsgRouteCloseEvent)
|
| IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_RunJavaScriptMessage,
|
| OnMsgRunJavaScriptMessage)
|
| IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_RunBeforeUnloadConfirm,
|
| @@ -1299,6 +1301,11 @@ void RenderViewHostImpl::OnMsgSelectionBoundsChanged(
|
| view_->SelectionBoundsChanged(start_rect, end_rect);
|
| }
|
|
|
| +void RenderViewHostImpl::OnMsgRouteCloseEvent() {
|
| + // Have the delegate route this to the active RenderViewHost.
|
| + delegate_->RouteCloseEvent(this);
|
| +}
|
| +
|
| void RenderViewHostImpl::OnMsgRunJavaScriptMessage(
|
| const string16& message,
|
| const string16& default_prompt,
|
|
|