| Index: components/navigation_interception/navigation_params.cc
|
| diff --git a/components/navigation_interception/navigation_params.cc b/components/navigation_interception/navigation_params.cc
|
| index 54288f76c724c537460a84a629462c5587a06d47..789ad28668f57f89f121246b7a73e059864d08fb 100644
|
| --- a/components/navigation_interception/navigation_params.cc
|
| +++ b/components/navigation_interception/navigation_params.cc
|
| @@ -12,7 +12,7 @@ NavigationParams::NavigationParams(const NavigationParams& other) {
|
|
|
| NavigationParams::NavigationParams(const GURL& url,
|
| const content::Referrer& referrer,
|
| - bool has_user_gesture,
|
| + content::NavigationGesture gesture,
|
| bool is_post,
|
| ui::PageTransition transition_type,
|
| bool is_redirect,
|
| @@ -20,13 +20,12 @@ NavigationParams::NavigationParams(const GURL& url,
|
| bool is_main_frame)
|
| : url_(url),
|
| referrer_(referrer),
|
| - has_user_gesture_(has_user_gesture),
|
| + gesture_(gesture),
|
| is_post_(is_post),
|
| transition_type_(transition_type),
|
| is_redirect_(is_redirect),
|
| is_external_protocol_(is_external_protocol),
|
| - is_main_frame_(is_main_frame) {
|
| -}
|
| + is_main_frame_(is_main_frame) {}
|
|
|
| void NavigationParams::operator=(const NavigationParams& rhs) {
|
| Assign(rhs);
|
| @@ -35,7 +34,7 @@ void NavigationParams::operator=(const NavigationParams& rhs) {
|
| void NavigationParams::Assign(const NavigationParams& other) {
|
| url_ = other.url();
|
| referrer_ = other.referrer();
|
| - has_user_gesture_ = other.has_user_gesture();
|
| + gesture_ = other.gesture();
|
| is_post_ = other.is_post();
|
| transition_type_ = other.transition_type();
|
| is_redirect_ = other.is_redirect();
|
| @@ -44,4 +43,3 @@ void NavigationParams::Assign(const NavigationParams& other) {
|
| }
|
|
|
| } // namespace navigation_interception
|
| -
|
|
|