Index: content/common/navigation_params.h |
diff --git a/content/common/navigation_params.h b/content/common/navigation_params.h |
index c23cada787c82d75e9f1d9837b14ceb52fcb81ac..449003595cb6682ee8416e1f9acb23e6e82e1336 100644 |
--- a/content/common/navigation_params.h |
+++ b/content/common/navigation_params.h |
@@ -175,6 +175,7 @@ struct CONTENT_EXPORT BeginNavigationParams { |
bool skip_service_worker, |
RequestContextType request_context_type, |
blink::WebMixedContentContextType mixed_content_context_type, |
+ bool is_form_submission, |
const base::Optional<url::Origin>& initiator_origin); |
BeginNavigationParams(const BeginNavigationParams& other); |
~BeginNavigationParams(); |
@@ -197,6 +198,9 @@ struct CONTENT_EXPORT BeginNavigationParams { |
// The mixed content context type for potential mixed content checks. |
blink::WebMixedContentContextType mixed_content_context_type; |
+ // Whether or not the navigation has been initiated by a form submission. |
+ bool is_form_submission; |
+ |
// See WebSearchableFormData for a description of these. |
GURL searchable_form_url; |
std::string searchable_form_encoding; |