| Index: components/autofill/core/common/form_field_data.h
|
| diff --git a/components/autofill/core/common/form_field_data.h b/components/autofill/core/common/form_field_data.h
|
| index a443665653ddd3f74438a1539ace10eedad221e6..ef96b73a469473f268526d5f31566f7f938b5da1 100644
|
| --- a/components/autofill/core/common/form_field_data.h
|
| +++ b/components/autofill/core/common/form_field_data.h
|
| @@ -17,6 +17,13 @@ namespace autofill {
|
|
|
| // Stores information about a field in a form.
|
| struct FormFieldData {
|
| + enum RoleAttribute {
|
| + // "presentation"
|
| + ROLE_ATTRIBUTE_PRESENTATION,
|
| + // Anything else.
|
| + ROLE_ATTRIBUTE_OTHER,
|
| + };
|
| +
|
| FormFieldData();
|
| ~FormFieldData();
|
|
|
| @@ -39,6 +46,7 @@ struct FormFieldData {
|
| bool is_checkable;
|
| bool is_focusable;
|
| bool should_autocomplete;
|
| + RoleAttribute role;
|
| base::i18n::TextDirection text_direction;
|
|
|
| // For the HTML snippet |<option value="US">United States</option>|, the
|
|
|