Chromium Code Reviews| Index: content/browser/frame_host/render_frame_host_impl.cc |
| diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
| index f7f959e201905f974da72117752bd8f7bc42d220..14968e3643b7d99a013c06ce17e04a281330f859 100644 |
| --- a/content/browser/frame_host/render_frame_host_impl.cc |
| +++ b/content/browser/frame_host/render_frame_host_impl.cc |
| @@ -335,6 +335,8 @@ bool RenderFrameHostImpl::OnMessageReceived(const IPC::Message &msg) { |
| IPC_MESSAGE_HANDLER(FrameHostMsg_DidDisownOpener, OnDidDisownOpener) |
| IPC_MESSAGE_HANDLER(FrameHostMsg_UpdateTitle, OnUpdateTitle) |
| IPC_MESSAGE_HANDLER(FrameHostMsg_UpdateEncoding, OnUpdateEncoding) |
| + IPC_MESSAGE_HANDLER(FrameHostMsg_BeginNavigation, |
| + OnBeginNavigation) |
| IPC_MESSAGE_HANDLER(DesktopNotificationHostMsg_RequestPermission, |
| OnRequestDesktopNotificationPermission) |
| IPC_MESSAGE_HANDLER(DesktopNotificationHostMsg_Show, |
| @@ -769,6 +771,11 @@ void RenderFrameHostImpl::OnUpdateEncoding(const std::string& encoding_name) { |
| delegate_->UpdateEncoding(this, encoding_name); |
| } |
| +void RenderFrameHostImpl::OnBeginNavigation( |
| + const FrameHostMsg_BeginNavigation_Params& params) { |
|
davidben
2014/07/09 15:14:28
Should we guard at this point behind a switch or s
clamy
2014/07/15 15:32:14
Good point. I put it behind a compile flag.
|
| + frame_tree_node()->render_manager()->BeginNavigation(params); |
| +} |
| + |
| void RenderFrameHostImpl::SetPendingShutdown(const base::Closure& on_swap_out) { |
| render_view_host_->SetPendingShutdown(on_swap_out); |
| } |