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

Unified Diff: content/browser/frame_host/navigation_entry_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: fix findbugs warning 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
« no previous file with comments | « content/browser/frame_host/navigation_entry_impl.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/navigation_entry_impl.cc
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc
index b51b7be0dd1251c45821daa1fca2bc33aabe396f..70e01b6db18574a3af280afbfe8efbcde20e1275 100644
--- a/content/browser/frame_host/navigation_entry_impl.cc
+++ b/content/browser/frame_host/navigation_entry_impl.cc
@@ -118,6 +118,9 @@ NavigationEntryImpl::NavigationEntryImpl(SiteInstanceImpl* instance,
should_clear_history_list_(false),
can_load_local_resources_(false),
frame_tree_node_id_(-1) {
+#if defined(OS_ANDROID)
+ has_user_gesture_ = false;
+#endif
}
NavigationEntryImpl::~NavigationEntryImpl() {
@@ -466,6 +469,9 @@ StartNavigationParams NavigationEntryImpl::ConstructStartNavigationParams()
return StartNavigationParams(GetHasPostData(), extra_headers(),
browser_initiated_post_data,
+#if defined(OS_ANDROID)
+ has_user_gesture(),
+#endif
transferred_global_request_id().child_id,
transferred_global_request_id().request_id);
}
« no previous file with comments | « content/browser/frame_host/navigation_entry_impl.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698