| 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 d876884c8b54eced000a6e7fba8bffab634483a6..1164a0111ca7bd178f8d40f0884b9d94e30bb6b2 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -739,6 +739,7 @@ bool RenderFrameHostImpl::OnMessageReceived(const IPC::Message &msg) {
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_UpdateEncoding, OnUpdateEncoding)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_BeginNavigation,
|
| OnBeginNavigation)
|
| + IPC_MESSAGE_HANDLER(FrameHostMsg_AbortNavigation, OnAbortNavigation)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_DispatchLoad, OnDispatchLoad)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_TextSurroundingSelectionResponse,
|
| OnTextSurroundingSelectionResponse)
|
| @@ -1974,6 +1975,16 @@ void RenderFrameHostImpl::OnBeginNavigation(
|
| frame_tree_node(), validated_params, validated_begin_params);
|
| }
|
|
|
| +void RenderFrameHostImpl::OnAbortNavigation() {
|
| + if (!IsBrowserSideNavigationEnabled()) {
|
| + NOTREACHED();
|
| + return;
|
| + }
|
| + if (!is_active())
|
| + return;
|
| + frame_tree_node()->navigator()->OnAbortNavigation(frame_tree_node());
|
| +}
|
| +
|
| void RenderFrameHostImpl::OnDispatchLoad() {
|
| CHECK(SiteIsolationPolicy::AreCrossProcessFramesPossible());
|
|
|
|
|