Chromium Code Reviews| 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; |
|
Ilya Sherman
2012/12/01 00:54:12
Can you just re-use value for this, or do checkbox
Raman Kakilate
2012/12/06 01:54:05
"value" is not controlled by the user, while "chec
|
| + 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_ |