Chromium Code Reviews| Index: content/common/navigation_params.h |
| diff --git a/content/common/navigation_params.h b/content/common/navigation_params.h |
| index f737d0d90e28eb9e16a79445267f0156b3790b6a..976729c0fc226bd4d719bac17ca2ba6a3f24019d 100644 |
| --- a/content/common/navigation_params.h |
| +++ b/content/common/navigation_params.h |
| @@ -235,7 +235,8 @@ struct CONTENT_EXPORT RequestNavigationParams { |
| int current_history_list_offset, |
| int current_history_list_length, |
| bool is_view_source, |
| - bool should_clear_history_list); |
| + bool should_clear_history_list, |
| + bool has_user_gesture); |
| RequestNavigationParams(const RequestNavigationParams& other); |
| ~RequestNavigationParams(); |
| @@ -334,6 +335,9 @@ struct CONTENT_EXPORT RequestNavigationParams { |
| // it will always be equal to kInvalidServiceWorkerProviderId. |
| int service_worker_provider_id; |
| + // True if the navigation originated due to a user gesture. |
| + bool has_user_gesture; |
|
jam
2016/09/29 21:40:43
now this can be removed from StartNavigationParams
ananta
2016/09/29 22:07:37
Done.
|
| + |
| #if defined(OS_ANDROID) |
| // The real content of the data: URL. Only used in Android WebView for |
| // implementing LoadDataWithBaseUrl API method to circumvent the restriction |