summaryrefslogtreecommitdiffstats
path: root/components/autofill/content/common
diff options
context:
space:
mode:
authorestade <estade@chromium.org>2014-12-08 13:10:39 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-08 21:11:00 +0000
commitb78bada8e9cae05a78568c511defe2817eeb7e2b (patch)
tree7a92bfbfa6cfc88f55a475996988784e98ba96d4 /components/autofill/content/common
parent29fd405ca491a6fcf0dde6277d92d44300cb2926 (diff)
downloadchromium_src-b78bada8e9cae05a78568c511defe2817eeb7e2b.zip
chromium_src-b78bada8e9cae05a78568c511defe2817eeb7e2b.tar.gz
chromium_src-b78bada8e9cae05a78568c511defe2817eeb7e2b.tar.bz2
Autofill - Fix Harry and David checkout: ignore role="presentation"
fields. BUG=438396 Review URL: https://codereview.chromium.org/734983006 Cr-Commit-Position: refs/heads/master@{#307337}
Diffstat (limited to 'components/autofill/content/common')
-rw-r--r--components/autofill/content/common/autofill_messages.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/autofill/content/common/autofill_messages.h b/components/autofill/content/common/autofill_messages.h
index 916d99b5..0816819 100644
--- a/components/autofill/content/common/autofill_messages.h
+++ b/components/autofill/content/common/autofill_messages.h
@@ -28,6 +28,9 @@
#define IPC_MESSAGE_START AutofillMsgStart
+IPC_ENUM_TRAITS_MAX_VALUE(autofill::FormFieldData::RoleAttribute,
+ autofill::FormFieldData::ROLE_ATTRIBUTE_OTHER)
+
IPC_ENUM_TRAITS_MAX_VALUE(base::i18n::TextDirection,
base::i18n::TEXT_DIRECTION_NUM_DIRECTIONS - 1)
@@ -45,6 +48,7 @@ IPC_STRUCT_TRAITS_BEGIN(autofill::FormFieldData)
IPC_STRUCT_TRAITS_MEMBER(value)
IPC_STRUCT_TRAITS_MEMBER(form_control_type)
IPC_STRUCT_TRAITS_MEMBER(autocomplete_attribute)
+ IPC_STRUCT_TRAITS_MEMBER(role)
IPC_STRUCT_TRAITS_MEMBER(max_length)
IPC_STRUCT_TRAITS_MEMBER(is_autofilled)
IPC_STRUCT_TRAITS_MEMBER(is_checked)