Index: components/navigation_interception/navigation_params.h |
diff --git a/components/navigation_interception/navigation_params.h b/components/navigation_interception/navigation_params.h |
index 3417816590e2fb4fcf7b78e83f1c776fdf086b5c..c9ba4b303e76f0ca126a210672082616de4772f5 100644 |
--- a/components/navigation_interception/navigation_params.h |
+++ b/components/navigation_interception/navigation_params.h |
@@ -5,6 +5,7 @@ |
#ifndef COMPONENTS_NAVIGATION_INTERCEPTION_NAVIGATION_PARAMS_H_ |
#define COMPONENTS_NAVIGATION_INTERCEPTION_NAVIGATION_PARAMS_H_ |
+#include "content/public/common/navigation_gesture.h" |
#include "content/public/common/referrer.h" |
#include "ui/base/page_transition_types.h" |
#include "ui/base/page_transition_types.h" |
@@ -16,7 +17,7 @@ class NavigationParams { |
public: |
NavigationParams(const GURL& url, |
const content::Referrer& referrer, |
- bool has_user_gesture, |
+ content::NavigationGesture gesture, |
bool is_post, |
ui::PageTransition page_transition_type, |
bool is_redirect, |
@@ -28,7 +29,7 @@ class NavigationParams { |
const GURL& url() const { return url_; } |
GURL& url() { return url_; } |
const content::Referrer& referrer() const { return referrer_; } |
- bool has_user_gesture() const { return has_user_gesture_; } |
+ content::NavigationGesture gesture() const { return gesture_; } |
bool is_post() const { return is_post_; } |
ui::PageTransition transition_type() const { return transition_type_; } |
bool is_redirect() const { return is_redirect_; } |
@@ -40,7 +41,7 @@ class NavigationParams { |
GURL url_; |
content::Referrer referrer_; |
- bool has_user_gesture_; |
+ content::NavigationGesture gesture_; |
bool is_post_; |
ui::PageTransition transition_type_; |
bool is_redirect_; |