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

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

Issue 2779283002: [Web Payments] Implement the CVC Unmask dialog. (Closed)
Patch Set: BUILD Created 3 years, 8 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 10 matching lines...) Expand all
21 PAYMENT_SHEET_SHIPPING_SECTION, 21 PAYMENT_SHEET_SHIPPING_SECTION,
22 PAYMENT_SHEET_SUMMARY_SECTION, 22 PAYMENT_SHEET_SUMMARY_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 32
32 // The following are Label objects. 33 // The following are Label objects.
33 ORDER_SUMMARY_TOTAL_AMOUNT_LABEL, 34 ORDER_SUMMARY_TOTAL_AMOUNT_LABEL,
34 ORDER_SUMMARY_LINE_ITEM_1, 35 ORDER_SUMMARY_LINE_ITEM_1,
35 ORDER_SUMMARY_LINE_ITEM_2, 36 ORDER_SUMMARY_LINE_ITEM_2,
36 ORDER_SUMMARY_LINE_ITEM_3, 37 ORDER_SUMMARY_LINE_ITEM_3,
37 SHIPPING_OPTION_DESCRIPTION, 38 SHIPPING_OPTION_DESCRIPTION,
38 SHIPPING_OPTION_AMOUNT, 39 SHIPPING_OPTION_AMOUNT,
39 40
40 // Used in "three line labels" to annotate each Label of the grouping. 41 // Used in "three line labels" to annotate each Label of the grouping.
41 THREE_LINE_LABEL_LINE_1, 42 THREE_LINE_LABEL_LINE_1,
42 THREE_LINE_LABEL_LINE_2, 43 THREE_LINE_LABEL_LINE_2,
43 THREE_LINE_LABEL_LINE_3, 44 THREE_LINE_LABEL_LINE_3,
44 45
45 // The following are views contained within the Payment Method Sheet. 46 // The following are views contained within the Payment Method Sheet.
46 CONTACT_INFO_SHEET_LIST_VIEW, 47 CONTACT_INFO_SHEET_LIST_VIEW,
47 PAYMENT_METHOD_SHEET_LIST_VIEW, 48 PAYMENT_METHOD_SHEET_LIST_VIEW,
48 SHIPPING_ADDRESS_SHEET_LIST_VIEW, 49 SHIPPING_ADDRESS_SHEET_LIST_VIEW,
49 50
50 // Used in selectable rows. Each row in a view reuses this ID, but the ID is 51 // Used in selectable rows. Each row in a view reuses this ID, but the ID is
51 // unique at the scope of the parent row. 52 // unique at the scope of the parent row.
52 CHECKMARK_VIEW, 53 CHECKMARK_VIEW,
53 54
54 // Used to label the error labels with an offset, which gets added to 55 // Used to label the error labels with an offset, which gets added to
55 // the Autofill type value they represent (for tests). 56 // the Autofill type value they represent (for tests).
56 ERROR_LABEL_OFFSET, 57 ERROR_LABEL_OFFSET,
58
59 // The CVC text field in the unmask sheet.
60 CVC_PROMPT_TEXT_FIELD,
57 }; 61 };
58 62
59 } // namespace payments 63 } // namespace payments
60 64
61 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ 65 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698