Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1195)

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 483773002: PlzNavigate: implement CommitNavigation on the browser side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using non-inherited structs Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 1d814e81cd020b163bfbde568be6d101ea81f54c..8ae5fa4680205cd288eb64fbeaa0b3dc9630a45e 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -53,9 +53,12 @@ class RenderFrameProxyHost;
class RenderProcessHost;
class RenderViewHostImpl;
class RenderWidgetHostImpl;
+struct CommitNavigationParams;
struct ContextMenuParams;
+struct CoreNavigationParams;
struct GlobalRequestID;
struct Referrer;
+struct RequestNavigationParams;
struct ShowDesktopNotificationHostMsgParams;
struct TransitionLayerData;
@@ -306,6 +309,12 @@ class CONTENT_EXPORT RenderFrameHostImpl
void DidCancelPopupMenu();
#endif
+ // PlzNavigate: Indicates that a navigation is ready to commit and can be
+ // handled by this RenderFrame.
+ void CommitNavigation(const GURL& stream_url,
+ const CoreNavigationParams& core_params,
+ const CommitNavigationParams& commit_params);
+
protected:
friend class RenderFrameHostFactory;
@@ -378,8 +387,8 @@ class CONTENT_EXPORT RenderFrameHostImpl
const base::string16& title,
blink::WebTextDirection title_direction);
void OnUpdateEncoding(const std::string& encoding);
- void OnBeginNavigation(
- const FrameHostMsg_BeginNavigation_Params& params);
+ void OnBeginNavigation(const FrameHostMsg_BeginNavigation_Params& params,
+ const CoreNavigationParams& core_params);
void OnAccessibilityEvents(
const std::vector<AccessibilityHostMsg_EventParams>& params);
void OnAccessibilityLocationChanges(

Powered by Google App Engine
This is Rietveld 408576698