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

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

Issue 1243253004: Pass user gesture bit when chrome handles an intent fired by itself (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing Maria's comments Created 5 years, 4 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_controller_impl.cc
diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc
index 41e5b92107c126eabd758432064d6cfd64c93686..e447c0e24c998ad9f629885282f1963b6fc29e23 100644
--- a/content/browser/frame_host/navigation_controller_impl.cc
+++ b/content/browser/frame_host/navigation_controller_impl.cc
@@ -775,6 +775,7 @@ void NavigationControllerImpl::LoadURLWithParams(const LoadURLParams& params) {
base::TimeTicks() +
base::TimeDelta::FromMilliseconds(params.intent_received_timestamp));
}
+ entry->set_has_user_gesture(params.has_user_gesture);
#endif
switch (params.load_type) {

Powered by Google App Engine
This is Rietveld 408576698