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

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: using token to verify intent from chrome 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 59a07a2bda82147af049c88def88dc7e9b64cf44..55175211c492cee61ae3356a486021dad9557e4b 100644
--- a/content/browser/frame_host/navigation_controller_impl.cc
+++ b/content/browser/frame_host/navigation_controller_impl.cc
@@ -776,6 +776,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