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 4d368eb27b6e1c9e7a45b7b8c48b744624f1f5e0..556fdff20fa3bf4f472bc279dbf4bf2e8548d24f 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -728,6 +728,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) |
@@ -1922,6 +1923,13 @@ void RenderFrameHostImpl::OnBeginNavigation( |
frame_tree_node(), validated_params, validated_begin_params); |
} |
+void RenderFrameHostImpl::OnAbortNavigation() { |
+ CHECK(IsBrowserSideNavigationEnabled()); |
+ if (!is_active()) |
+ return; |
+ frame_tree_node()->navigator()->OnAbortNavigation(frame_tree_node()); |
+} |
+ |
void RenderFrameHostImpl::OnDispatchLoad() { |
CHECK(SiteIsolationPolicy::AreCrossProcessFramesPossible()); |