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 12 matching lines...) Expand all Loading... |
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 | 32 |
| 33 // The following are buttons that are displayed inline in the Payment Sheet |
| 34 // sections when no option is selected or available. |
| 35 PAYMENT_SHEET_CONTACT_INFO_SECTION_BUTTON, |
| 36 PAYMENT_SHEET_PAYMENT_METHOD_SECTION_BUTTON, |
| 37 PAYMENT_SHEET_SHIPPING_ADDRESS_SECTION_BUTTON, |
| 38 PAYMENT_SHEET_SHIPPING_OPTION_SECTION_BUTTON, |
| 39 |
33 // The following are Label objects. | 40 // The following are Label objects. |
34 ORDER_SUMMARY_TOTAL_AMOUNT_LABEL, | 41 ORDER_SUMMARY_TOTAL_AMOUNT_LABEL, |
35 ORDER_SUMMARY_LINE_ITEM_1, | 42 ORDER_SUMMARY_LINE_ITEM_1, |
36 ORDER_SUMMARY_LINE_ITEM_2, | 43 ORDER_SUMMARY_LINE_ITEM_2, |
37 ORDER_SUMMARY_LINE_ITEM_3, | 44 ORDER_SUMMARY_LINE_ITEM_3, |
38 SHIPPING_OPTION_DESCRIPTION, | 45 SHIPPING_OPTION_DESCRIPTION, |
39 SHIPPING_OPTION_AMOUNT, | 46 SHIPPING_OPTION_AMOUNT, |
40 | 47 |
41 // Used in "three line labels" to annotate each Label of the grouping. | 48 // Used in "three line labels" to annotate each Label of the grouping. |
42 THREE_LINE_LABEL_LINE_1, | 49 THREE_LINE_LABEL_LINE_1, |
(...skipping 13 matching lines...) Expand all Loading... |
56 // the Autofill type value they represent (for tests). | 63 // the Autofill type value they represent (for tests). |
57 ERROR_LABEL_OFFSET, | 64 ERROR_LABEL_OFFSET, |
58 | 65 |
59 // The CVC text field in the unmask sheet. | 66 // The CVC text field in the unmask sheet. |
60 CVC_PROMPT_TEXT_FIELD, | 67 CVC_PROMPT_TEXT_FIELD, |
61 }; | 68 }; |
62 | 69 |
63 } // namespace payments | 70 } // namespace payments |
64 | 71 |
65 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ | 72 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ |
OLD | NEW |