Index: webkit/glue/form_data.h |
diff --git a/webkit/glue/form_data.h b/webkit/glue/form_data.h |
index 033cac35f0e2abca4b577e0a6a61c3dc0aac2b6b..7332cd9da94a07a181d095fce33fe55daa315805 100644 |
--- a/webkit/glue/form_data.h |
+++ b/webkit/glue/form_data.h |
@@ -23,6 +23,8 @@ struct FormData { |
GURL origin; |
// The action target of the form. |
GURL action; |
+ // true if this form was submitted by a user gesture and not javascript. |
+ bool user_submitted; |
// A vector of all the input fields in the form. |
std::vector<FormField> fields; |
@@ -32,6 +34,7 @@ struct FormData { |
StringToLowerASCII(method) == StringToLowerASCII(form.method) && |
origin == form.origin && |
action == form.action && |
+ user_submitted == form.user_submitted && |
fields == form.fields); |
} |
}; |