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

Unified Diff: content/browser/frame_host/navigation_request.cc

Issue 2697753002: PlzNavigate: Fix dynamic iframe back forward layout test failure (Closed)
Patch Set: Renamed is_user_gesture to has_user_gesture Created 3 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/browser/frame_host/navigation_request.cc
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
index 4a0c7cec73ffc4825e29fd96547d6e33faaef1c2..f83416e8041d33b2311d746a7c438ca498516aef 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -204,6 +204,7 @@ std::unique_ptr<NavigationRequest> NavigationRequest::CreateBrowserInitiated(
PreviewsState previews_state,
bool is_same_document_history_load,
bool is_history_navigation_in_new_child,
+ bool has_user_gesture,
const base::TimeTicks& navigation_start,
NavigationControllerImpl* controller) {
// Fill POST data in the request body.
@@ -225,8 +226,9 @@ std::unique_ptr<NavigationRequest> NavigationRequest::CreateBrowserInitiated(
frame_tree_node, entry.ConstructCommonNavigationParams(
frame_entry, request_body, dest_url, dest_referrer,
navigation_type, previews_state, navigation_start),
- BeginNavigationParams(entry.extra_headers(), net::LOAD_NORMAL,
- false, // has_user_gestures
+ BeginNavigationParams(entry.extra_headers(),
+ net::LOAD_NORMAL,
+ has_user_gesture,
false, // skip_service_worker
REQUEST_CONTEXT_TYPE_LOCATION,
blink::WebMixedContentContextType::Blockable,

Powered by Google App Engine
This is Rietveld 408576698