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

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: Merge branch 'master' into billing 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 StyledLabel objects. 42 // The following are StyledLabel objects.
41 ORDER_SUMMARY_TOTAL_AMOUNT_LABEL, 43 ORDER_SUMMARY_TOTAL_AMOUNT_LABEL,
(...skipping 25 matching lines...) Expand all
67 ERROR_LABEL_OFFSET, 69 ERROR_LABEL_OFFSET,
68 70
69 // The CVC text field in the unmask sheet. 71 // The CVC text field in the unmask sheet.
70 CVC_PROMPT_TEXT_FIELD, 72 CVC_PROMPT_TEXT_FIELD,
71 73
72 // The following are the ids for the individual sheets. 74 // The following are the ids for the individual sheets.
73 CONTACT_INFO_EDITOR_SHEET, 75 CONTACT_INFO_EDITOR_SHEET,
74 CREDIT_CARD_EDITOR_SHEET, 76 CREDIT_CARD_EDITOR_SHEET,
75 CVC_UNMASK_SHEET, 77 CVC_UNMASK_SHEET,
76 SHIPPING_ADDRESS_EDITOR_SHEET, 78 SHIPPING_ADDRESS_EDITOR_SHEET,
79
80 // The combobox to choose a billing address to associate to a credit card.
81 CREDIT_CARD_BILLING_ADDRESS,
77 }; 82 };
78 83
79 } // namespace payments 84 } // namespace payments
80 85
81 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ 86 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698