diff options
author | gsennton <gsennton@chromium.org> | 2015-07-16 13:12:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-16 20:13:36 +0000 |
commit | 777bb78a111aee919e07f5206267915a87639f88 (patch) | |
tree | 852c8f2cf62748fc0c28926fe6967e74f01b0cbc /android_webview/common | |
parent | b839eab3001b70e7489661dfadffd3ecb3386ab5 (diff) | |
download | chromium_src-777bb78a111aee919e07f5206267915a87639f88.zip chromium_src-777bb78a111aee919e07f5206267915a87639f88.tar.gz chromium_src-777bb78a111aee919e07f5206267915a87639f88.tar.bz2 |
Use resource throttle to implement shouldOverrideUrlLoading, core change
We have been using both a resource throttle and a sync IPC to implement
shouldOverrideUrlLoading, with this patch we use only a resource
throttle instead.
This patch depends on https://codereview.chromium.org/1194383003 which
adds a flag indicating that the current request was overridden. The flag
is passed down to AwWebContentsObserver.didFailLoad. That CL in turn
depends on https://codereview.chromium.org/1178273007/ which adds the
flag to blink errors.
BUG=325351
Review URL: https://codereview.chromium.org/1155713005
Cr-Commit-Position: refs/heads/master@{#339109}
Diffstat (limited to 'android_webview/common')
-rw-r--r-- | android_webview/common/render_view_messages.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/android_webview/common/render_view_messages.h b/android_webview/common/render_view_messages.h index b5ca58c..2e0211b 100644 --- a/android_webview/common/render_view_messages.h +++ b/android_webview/common/render_view_messages.h @@ -98,19 +98,6 @@ IPC_MESSAGE_ROUTED1(AwViewHostMsg_PageScaleFactorChanged, 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_CONTROL4_1(AwViewHostMsg_ShouldOverrideUrlLoading, - int /* render_frame_id id */, - base::string16 /* in - url */, - bool /* in - has_user_gesture */, - bool /* in - is_redirect */, - bool /* out - result */) - // Sent when a subframe is created. IPC_MESSAGE_CONTROL2(AwViewHostMsg_SubFrameCreated, int /* parent_render_frame_id */, |