Index: chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h |
diff --git a/chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h b/chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h |
index 3bfd7c704711e7a7824858caa47aee4069e3ee04..5ea290a88580f6bdcf9b79a4137109c3d81deb4b 100644 |
--- a/chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h |
+++ b/chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h |
@@ -65,10 +65,6 @@ enum class DialogViewID : int { |
// unique at the scope of the parent row. |
CHECKMARK_VIEW, |
- // Used to label the error labels with an offset, which gets added to |
- // the Autofill type value they represent (for tests). |
- ERROR_LABEL_OFFSET, |
- |
// The CVC text field in the unmask sheet. |
CVC_PROMPT_TEXT_FIELD, |
CVC_ERROR_LABEL, |
@@ -81,6 +77,14 @@ enum class DialogViewID : int { |
// The combobox to choose a billing address to associate to a credit card. |
CREDIT_CARD_BILLING_ADDRESS, |
+ |
+ // NOTE: Keep these values last. |
+ // Used to offset the IDs of input fields, which gets added to the Autofill |
+ // type value they represent. |
+ INPUT_FIELD_TYPE_OFFSET, |
+ // Used to label the error labels with an offset, which gets added to |
+ // the Autofill type value they represent. |
+ ERROR_LABEL_OFFSET = 2 * INPUT_FIELD_TYPE_OFFSET, |
anthonyvd
2017/05/22 13:18:17
Can this be INPUT_FIELD_TYPE_OFFSET + autofill::MA
Mathieu
2017/05/22 16:30:40
Done.
|
}; |
} // namespace payments |