Index: android_webview/common/render_view_messages.h |
diff --git a/android_webview/common/render_view_messages.h b/android_webview/common/render_view_messages.h |
index 4c42f3d0c1ad74a548869158c7a3d7cb8fca9d76..24df3cd6fbb3de598e836f7367d1f7b7c4b18fa8 100644 |
--- a/android_webview/common/render_view_messages.h |
+++ b/android_webview/common/render_view_messages.h |
@@ -100,6 +100,20 @@ IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData, |
IPC_MESSAGE_ROUTED1(AwViewHostMsg_OnContentsSizeChanged, |
gfx::Size /* contents_size */) |
+// Sent immediately before a top level navigation is initiated within Blink. |
+// There are some exlusions, the most important ones are it is not sent |
+// when creating a popup window, and not sent for application initiated |
+// navigations. See AwContentRendererClient::HandleNavigation for all |
+// cornercases. This is sent before updating the NavigationController state |
+// or creating a URLRequest for the main frame resource. |
+IPC_SYNC_MESSAGE_CONTROL5_1(AwViewHostMsg_ShouldOverrideUrlLoading, |
+ int /* render_frame_id id */, |
+ base::string16 /* in - url */, |
+ bool /* in - has_user_gesture */, |
+ bool /* in - is_redirect */, |
+ bool /* in - is_main_frame */, |
+ bool /* out - result */) |
+ |
// Sent when a subframe is created. |
IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated, |
int /* parent_render_frame_id */, |