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

Unified Diff: components/autofill/common/form_field_data.h

Issue 12721004: Autofill:Autocomplete: Enable autocheckout of input elements of type password. This will support fi… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/common/form_field_data.h
diff --git a/components/autofill/common/form_field_data.h b/components/autofill/common/form_field_data.h
index 6d0d2f6491a073b86875514ceb1ae66f556f934c..74b008889901cd2d5575e06293cad7d07b5c6642 100644
--- a/components/autofill/common/form_field_data.h
+++ b/components/autofill/common/form_field_data.h
@@ -32,6 +32,7 @@ struct FormFieldData {
bool is_autofilled;
bool is_checked;
bool is_checkable;
+ bool is_password_field;
bool is_focusable;
bool should_autocomplete;
@@ -57,6 +58,7 @@ std::ostream& operator<<(std::ostream& os, const FormFieldData& field);
EXPECT_EQ(expected.is_autofilled, actual.is_autofilled); \
EXPECT_EQ(expected.is_checked, actual.is_checked); \
EXPECT_EQ(expected.is_checkable, actual.is_checkable); \
+ EXPECT_EQ(expected.is_password_field, actual.is_password_field); \
} while (0)
#endif // COMPONENTS_AUTOFILL_COMMON_FORM_FIELD_DATA_H_

Powered by Google App Engine
This is Rietveld 408576698