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

Unified Diff: content/common/navigation_params.h

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/common/frame_messages.h ('k') | content/common/navigation_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/navigation_params.h
diff --git a/content/common/navigation_params.h b/content/common/navigation_params.h
index 1862377868f85c2e92af217f4943068288e519d9..37b1af035401ee8e9ab394831888b68c6519e4e9 100644
--- a/content/common/navigation_params.h
+++ b/content/common/navigation_params.h
@@ -142,6 +142,9 @@ struct CONTENT_EXPORT StartNavigationParams {
bool is_post,
const std::string& extra_headers,
const std::vector<unsigned char>& browser_initiated_post_data,
+#if defined(OS_ANDROID)
+ bool has_user_gesture,
+#endif
int transferred_request_child_id,
int transferred_request_request_id);
~StartNavigationParams();
@@ -156,6 +159,10 @@ struct CONTENT_EXPORT StartNavigationParams {
// otherwise.
std::vector<unsigned char> browser_initiated_post_data;
+#if defined(OS_ANDROID)
+ bool has_user_gesture;
+#endif
+
// The following two members identify a previous request that has been
// created before this navigation is being transferred to a new render view.
// This serves the purpose of recycling the old request.
« no previous file with comments | « content/common/frame_messages.h ('k') | content/common/navigation_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698