Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: components/autofill/core/common/form_data.h

Issue 1671753004: [Autofill] Fill fields that have an autocomplete attributes even if not in a form. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/common/form_data.h
diff --git a/components/autofill/core/common/form_data.h b/components/autofill/core/common/form_data.h
index a406ccbd3d2c70958df8187e20673a1c0f92cf5c..8e6414d89c8f3406c27a6149f672dd648439973a 100644
--- a/components/autofill/core/common/form_data.h
+++ b/components/autofill/core/common/form_data.h
@@ -32,8 +32,11 @@ struct FormData {
GURL origin;
// The action target of the form.
GURL action;
- // true if this form is a form tag.
+ // True if this form is a form tag.
bool is_form_tag;
+ // True if the form is made of unowned fields in a non checkout flow. The
+ // fields should be filled using only the autocomplete attributes.
+ bool is_syntehtic_non_checkout_form;
// A vector of all the input fields in the form.
std::vector<FormFieldData> fields;
};

Powered by Google App Engine
This is Rietveld 408576698