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

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

Issue 2499313003: Set user_gesture bit at NavigationHandle creation time. (Closed)
Patch Set: rebase Created 4 years 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/interstitial_page_navigator_impl.cc
diff --git a/content/browser/frame_host/interstitial_page_navigator_impl.cc b/content/browser/frame_host/interstitial_page_navigator_impl.cc
index 3c3c7ac0cf396d68b764aba48f9b8007cd56410c..d82bc88970e2c56b8cc774e7b8ff6a6520fee7dc 100644
--- a/content/browser/frame_host/interstitial_page_navigator_impl.cc
+++ b/content/browser/frame_host/interstitial_page_navigator_impl.cc
@@ -30,7 +30,8 @@ NavigationController* InterstitialPageNavigatorImpl::GetController() {
void InterstitialPageNavigatorImpl::DidStartProvisionalLoad(
RenderFrameHostImpl* render_frame_host,
const GURL& url,
- const base::TimeTicks& navigation_start) {
+ const base::TimeTicks& navigation_start,
+ NavigationGesture gesture) {
// The interstitial page should only navigate once.
DCHECK(!render_frame_host->navigation_handle());
render_frame_host->SetNavigationHandle(
@@ -39,7 +40,8 @@ void InterstitialPageNavigatorImpl::DidStartProvisionalLoad(
false, // is_synchronous
false, // is_srcdoc
navigation_start,
- 0, // pending_nav_entry_id
+ 0, // pending_nav_entry_id
+ gesture,
false) // started_in_context_menu
);
}

Powered by Google App Engine
This is Rietveld 408576698