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

Side by Side Diff: chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h

Issue 2849523003: Add billing address as a mandatory field of Payments credit cards. (Closed)
Patch Set: Components Unittests fix Created 3 years, 7 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 unified diff | Download patch
OLDNEW
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
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,
33 SAVE_ADDRESS_BUTTON,
32 34
33 // The following are buttons that are displayed inline in the Payment Sheet 35 // The following are buttons that are displayed inline in the Payment Sheet
34 // sections when no option is selected or available. 36 // sections when no option is selected or available.
35 PAYMENT_SHEET_CONTACT_INFO_SECTION_BUTTON, 37 PAYMENT_SHEET_CONTACT_INFO_SECTION_BUTTON,
36 PAYMENT_SHEET_PAYMENT_METHOD_SECTION_BUTTON, 38 PAYMENT_SHEET_PAYMENT_METHOD_SECTION_BUTTON,
37 PAYMENT_SHEET_SHIPPING_ADDRESS_SECTION_BUTTON, 39 PAYMENT_SHEET_SHIPPING_ADDRESS_SECTION_BUTTON,
38 PAYMENT_SHEET_SHIPPING_OPTION_SECTION_BUTTON, 40 PAYMENT_SHEET_SHIPPING_OPTION_SECTION_BUTTON,
39 41
40 // The following are Label objects. 42 // The following are Label objects.
41 ORDER_SUMMARY_TOTAL_AMOUNT_LABEL, 43 ORDER_SUMMARY_TOTAL_AMOUNT_LABEL,
(...skipping 17 matching lines...) Expand all
59 // Used in selectable rows. Each row in a view reuses this ID, but the ID is 61 // 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. 62 // unique at the scope of the parent row.
61 CHECKMARK_VIEW, 63 CHECKMARK_VIEW,
62 64
63 // Used to label the error labels with an offset, which gets added to 65 // Used to label the error labels with an offset, which gets added to
64 // the Autofill type value they represent (for tests). 66 // the Autofill type value they represent (for tests).
65 ERROR_LABEL_OFFSET, 67 ERROR_LABEL_OFFSET,
66 68
67 // The CVC text field in the unmask sheet. 69 // The CVC text field in the unmask sheet.
68 CVC_PROMPT_TEXT_FIELD, 70 CVC_PROMPT_TEXT_FIELD,
71
72 // The combobox to choose a billing address to associate to a credit card.
73 CREDIT_CARD_BILLING_ADDRESS,
69 }; 74 };
70 75
71 } // namespace payments 76 } // namespace payments
72 77
73 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ 78 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698