| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ |
| 7 | 7 |
| 8 #include "components/autofill/core/browser/field_types.h" | 8 #include "components/autofill/core/browser/field_types.h" |
| 9 | 9 |
| 10 // This defines an enumeration of IDs that can uniquely identify a view within | 10 // This defines an enumeration of IDs that can uniquely identify a view within |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 PAYMENT_SHEET_SHIPPING_ADDRESS_SECTION, | 22 PAYMENT_SHEET_SHIPPING_ADDRESS_SECTION, |
| 23 PAYMENT_SHEET_SHIPPING_OPTION_SECTION, | 23 PAYMENT_SHEET_SHIPPING_OPTION_SECTION, |
| 24 PAYMENT_METHOD_ADD_CARD_BUTTON, | 24 PAYMENT_METHOD_ADD_CARD_BUTTON, |
| 25 PAYMENT_METHOD_ADD_SHIPPING_BUTTON, | 25 PAYMENT_METHOD_ADD_SHIPPING_BUTTON, |
| 26 PAYMENT_METHOD_ADD_CONTACT_BUTTON, | 26 PAYMENT_METHOD_ADD_CONTACT_BUTTON, |
| 27 EDITOR_SAVE_BUTTON, | 27 EDITOR_SAVE_BUTTON, |
| 28 PAY_BUTTON, | 28 PAY_BUTTON, |
| 29 CANCEL_BUTTON, | 29 CANCEL_BUTTON, |
| 30 BACK_BUTTON, | 30 BACK_BUTTON, |
| 31 CVC_PROMPT_CONFIRM_BUTTON, | 31 CVC_PROMPT_CONFIRM_BUTTON, |
| 32 ADD_BILLING_ADDRESS_BUTTON, |
| 32 | 33 |
| 33 // The following are buttons that are displayed inline in the Payment Sheet | 34 // The following are buttons that are displayed inline in the Payment Sheet |
| 34 // sections when no option is selected or available. | 35 // sections when no option is selected or available. |
| 35 PAYMENT_SHEET_CONTACT_INFO_SECTION_BUTTON, | 36 PAYMENT_SHEET_CONTACT_INFO_SECTION_BUTTON, |
| 36 PAYMENT_SHEET_PAYMENT_METHOD_SECTION_BUTTON, | 37 PAYMENT_SHEET_PAYMENT_METHOD_SECTION_BUTTON, |
| 37 PAYMENT_SHEET_SHIPPING_ADDRESS_SECTION_BUTTON, | 38 PAYMENT_SHEET_SHIPPING_ADDRESS_SECTION_BUTTON, |
| 38 PAYMENT_SHEET_SHIPPING_OPTION_SECTION_BUTTON, | 39 PAYMENT_SHEET_SHIPPING_OPTION_SECTION_BUTTON, |
| 39 | 40 |
| 40 // The following are Label objects. | 41 // The following are Label objects. |
| 41 ORDER_SUMMARY_TOTAL_AMOUNT_LABEL, | 42 ORDER_SUMMARY_TOTAL_AMOUNT_LABEL, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 59 // Used in selectable rows. Each row in a view reuses this ID, but the ID is | 60 // Used in selectable rows. Each row in a view reuses this ID, but the ID is |
| 60 // unique at the scope of the parent row. | 61 // unique at the scope of the parent row. |
| 61 CHECKMARK_VIEW, | 62 CHECKMARK_VIEW, |
| 62 | 63 |
| 63 // Used to label the error labels with an offset, which gets added to | 64 // Used to label the error labels with an offset, which gets added to |
| 64 // the Autofill type value they represent (for tests). | 65 // the Autofill type value they represent (for tests). |
| 65 ERROR_LABEL_OFFSET, | 66 ERROR_LABEL_OFFSET, |
| 66 | 67 |
| 67 // The CVC text field in the unmask sheet. | 68 // The CVC text field in the unmask sheet. |
| 68 CVC_PROMPT_TEXT_FIELD, | 69 CVC_PROMPT_TEXT_FIELD, |
| 70 |
| 71 // The combobox to choose a billing address to associate to a credit card. |
| 72 CREDIT_CARD_BILLING_ADDRESS, |
| 69 }; | 73 }; |
| 70 | 74 |
| 71 } // namespace payments | 75 } // namespace payments |
| 72 | 76 |
| 73 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ | 77 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ |
| OLD | NEW |