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

Unified Diff: chrome/common/form_field_data.h

Issue 11415221: Add support for autofilling radio buttons and checkboxes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix the nit. Created 8 years 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: chrome/common/form_field_data.h
diff --git a/chrome/common/form_field_data.h b/chrome/common/form_field_data.h
index de9375f6d4152c2a421b8865f5fa3bcdbc88df00..c24d34ed8d0601e4d1f4b431a741e9af6c2eb1ec 100644
--- a/chrome/common/form_field_data.h
+++ b/chrome/common/form_field_data.h
@@ -30,6 +30,8 @@ struct FormFieldData {
std::string autocomplete_attribute;
size_t max_length;
bool is_autofilled;
+ bool is_checked;
+ bool is_checkable;
bool is_focusable;
bool should_autocomplete;
@@ -53,6 +55,8 @@ std::ostream& operator<<(std::ostream& os, const FormFieldData& field);
EXPECT_EQ(expected.autocomplete_attribute, actual.autocomplete_attribute); \
EXPECT_EQ(expected.max_length, actual.max_length); \
EXPECT_EQ(expected.is_autofilled, actual.is_autofilled); \
+ EXPECT_EQ(expected.is_checked, actual.is_checked); \
+ EXPECT_EQ(expected.is_checkable, actual.is_checkable); \
} while (0)
#endif // CHROME_COMMON_FORM_FIELD_DATA_H_

Powered by Google App Engine
This is Rietveld 408576698