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

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

Issue 15769018: [Autofill] Determine Popup RTLness from page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android compile Created 7 years, 6 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
« no previous file with comments | « components/autofill/common/autocheckout_status.h ('k') | components/autofill/common/form_field_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/common/autofill_messages.h
diff --git a/components/autofill/common/autofill_messages.h b/components/autofill/common/autofill_messages.h
index 0c48f335655dd3ea527b0569a17610a9f152b403..cf1ff3dbe5afa6acef9e7bb147c87b2229a0baf8 100644
--- a/components/autofill/common/autofill_messages.h
+++ b/components/autofill/common/autofill_messages.h
@@ -27,8 +27,12 @@
#define IPC_MESSAGE_START AutofillMsgStart
-IPC_ENUM_TRAITS(autofill::AutocheckoutStatus)
-IPC_ENUM_TRAITS(autofill::FormsSeenState)
+IPC_ENUM_TRAITS_MAX_VALUE(autofill::AutocheckoutStatus,
+ autofill::AUTOCHECKOUT_STATUS_NUM_STATUS - 1)
+IPC_ENUM_TRAITS_MAX_VALUE(autofill::FormsSeenState,
+ autofill::FORMS_SEEN_STATE_NUM_STATES - 1)
+IPC_ENUM_TRAITS_MAX_VALUE(base::i18n::TextDirection,
+ base::i18n::TEXT_DIRECTION_NUM_DIRECTIONS - 1)
IPC_STRUCT_TRAITS_BEGIN(autofill::WebElementDescriptor)
IPC_STRUCT_TRAITS_MEMBER(descriptor)
@@ -49,6 +53,7 @@ IPC_STRUCT_TRAITS_BEGIN(autofill::FormFieldData)
IPC_STRUCT_TRAITS_MEMBER(is_checkable)
IPC_STRUCT_TRAITS_MEMBER(is_focusable)
IPC_STRUCT_TRAITS_MEMBER(should_autocomplete)
+ IPC_STRUCT_TRAITS_MEMBER(text_direction)
IPC_STRUCT_TRAITS_MEMBER(option_values)
IPC_STRUCT_TRAITS_MEMBER(option_contents)
IPC_STRUCT_TRAITS_END()
« no previous file with comments | « components/autofill/common/autocheckout_status.h ('k') | components/autofill/common/form_field_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698