diff options
author | clamy <clamy@chromium.org> | 2014-11-19 07:00:20 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-19 15:00:38 +0000 |
commit | ece3888d9091d2baedebd960923986c6bc434854 (patch) | |
tree | d89a9aac2e71f012829398b342e0bbd7ed21a383 /content/renderer/render_frame_impl.h | |
parent | 46adf5a1e64256d94cc426b187b41f0b31435b1c (diff) | |
download | chromium_src-ece3888d9091d2baedebd960923986c6bc434854.zip chromium_src-ece3888d9091d2baedebd960923986c6bc434854.tar.gz chromium_src-ece3888d9091d2baedebd960923986c6bc434854.tar.bz2 |
PlzNavigate: support renderer-initiated navigations
This CL enables renderer-initiated navigations in browser-side navigation mode.
Renderer initiated navigations will call
RenderFrameImpl::handleBrowserSideNavigation, which will then send a
FrameHostMsg_BeginNavigation IPC to the browser. When the browser receives it,
a new NavigationRequest will be created for the navigation, and it will start
the request on the IO thread. This is based on a blink patch: https://chromiumcodereview.appspot.com/651423002/.
BUG=376014
Review URL: https://codereview.chromium.org/660453002
Cr-Commit-Position: refs/heads/master@{#304810}
Diffstat (limited to 'content/renderer/render_frame_impl.h')
-rw-r--r-- | content/renderer/render_frame_impl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h index 0435553..b8495db 100644 --- a/content/renderer/render_frame_impl.h +++ b/content/renderer/render_frame_impl.h @@ -661,6 +661,11 @@ class CONTENT_EXPORT RenderFrameImpl bool* is_reload, blink::WebURLRequest::CachePolicy* cache_policy); + // PlzNavigate + // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents + // of the WebURLRequest. + void BeginNavigation(blink::WebURLRequest* request); + // Returns the URL being loaded by the |frame_|'s request. GURL GetLoadingUrl() const; |