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

Unified Diff: content/renderer/render_frame_impl.h

Issue 559613002: PlzNavigate: Implement RequestNavigation on the renderer side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@commit-navigation-renderer
Patch Set: Created 6 years, 2 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/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 5876a1b67fde3ecfd78c348e40ceb7521c9f70ba..e99f355e041fc062c123ca2a862387a9b0af1874 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -37,7 +37,7 @@
class GURL;
class TransportDIB;
struct FrameMsg_Navigate_Params;
-struct FrameMsg_CommitNavigation_Params;
+struct FrameMsg_RequestNavigation_Params;
namespace blink {
class WebGeolocationClient;
@@ -86,6 +86,7 @@ class UserMediaClientImpl;
struct CommitNavigationParams;
struct CommonNavigationParams;
struct CustomContextMenuContext;
+struct RequestNavigationParams;
struct ResourceResponseHead;
class CONTENT_EXPORT RenderFrameImpl
@@ -558,6 +559,8 @@ class CONTENT_EXPORT RenderFrameImpl
#endif
// PlzNavigate
+ void OnRequestNavigation(const CommonNavigationParams& common_params,
+ const RequestNavigationParams& request_params);
void OnCommitNavigation(const ResourceResponseHead& response,
const GURL& stream_url,
const CommonNavigationParams& common_params,

Powered by Google App Engine
This is Rietveld 408576698