summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_frame_impl.h
diff options
context:
space:
mode:
authorclamy <clamy@chromium.org>2014-11-19 07:00:20 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-19 15:00:38 +0000
commitece3888d9091d2baedebd960923986c6bc434854 (patch)
treed89a9aac2e71f012829398b342e0bbd7ed21a383 /content/renderer/render_frame_impl.h
parent46adf5a1e64256d94cc426b187b41f0b31435b1c (diff)
downloadchromium_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.h5
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;