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

Unified Diff: content/renderer/render_frame_impl.h

Issue 979443002: PlzNavigate: send history params at commit time to the renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments Created 5 years, 10 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 327d850ed85e25dfdf6c288f6b80c5b2633cd11a..742e5183124c7254b29fd7eaaf57e8d5d5dc32c7 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -103,6 +103,7 @@ struct CommitNavigationParams;
struct CommonNavigationParams;
struct CustomContextMenuContext;
struct FrameReplicationState;
+struct HistoryNavigationParams;
struct RequestNavigationParams;
struct ResourceResponseHead;
@@ -633,7 +634,8 @@ class CONTENT_EXPORT RenderFrameImpl
void OnCommitNavigation(const ResourceResponseHead& response,
const GURL& stream_url,
const CommonNavigationParams& common_params,
- const CommitNavigationParams& commit_params);
+ const CommitNavigationParams& commit_params,
+ const HistoryNavigationParams& history_params);
// Virtual since overridden by WebTestProxy for layout tests.
virtual blink::WebNavigationPolicy DecidePolicyForNavigation(
@@ -699,9 +701,8 @@ class CONTENT_EXPORT RenderFrameImpl
// the return value is false, the navigation should be abandoned.
bool PrepareRenderViewForNavigation(
const GURL& url,
- bool check_for_stale_navigation,
bool is_history_navigation,
- int current_history_list_offset,
+ const HistoryNavigationParams& history_params,
bool* is_reload,
blink::WebURLRequest::CachePolicy* cache_policy);
« no previous file with comments | « content/renderer/accessibility/renderer_accessibility_browsertest.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698