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

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

Issue 2847503002: [WebPayments] Show labels on incomplete profiles (Closed)
Patch Set: test 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 27 matching lines...) Expand all
38 PAYMENT_SHEET_SHIPPING_OPTION_SECTION_BUTTON, 38 PAYMENT_SHEET_SHIPPING_OPTION_SECTION_BUTTON,
39 39
40 // The following are Label objects. 40 // The following are Label objects.
41 ORDER_SUMMARY_TOTAL_AMOUNT_LABEL, 41 ORDER_SUMMARY_TOTAL_AMOUNT_LABEL,
42 ORDER_SUMMARY_LINE_ITEM_1, 42 ORDER_SUMMARY_LINE_ITEM_1,
43 ORDER_SUMMARY_LINE_ITEM_2, 43 ORDER_SUMMARY_LINE_ITEM_2,
44 ORDER_SUMMARY_LINE_ITEM_3, 44 ORDER_SUMMARY_LINE_ITEM_3,
45 SHIPPING_OPTION_DESCRIPTION, 45 SHIPPING_OPTION_DESCRIPTION,
46 SHIPPING_OPTION_AMOUNT, 46 SHIPPING_OPTION_AMOUNT,
47 47
48 // Used in "three line labels" to annotate each Label of the grouping. 48 // Used in profile labels to annotate each line of the grouping.
49 THREE_LINE_LABEL_LINE_1, 49 PROFILE_LABEL_LINE_1,
50 THREE_LINE_LABEL_LINE_2, 50 PROFILE_LABEL_LINE_2,
51 THREE_LINE_LABEL_LINE_3, 51 PROFILE_LABEL_LINE_3,
52 PROFILE_LABEL_ERROR,
52 53
53 // The following are views contained within the Payment Method Sheet. 54 // The following are views contained within the Payment Method Sheet.
54 CONTACT_INFO_SHEET_LIST_VIEW, 55 CONTACT_INFO_SHEET_LIST_VIEW,
55 PAYMENT_METHOD_SHEET_LIST_VIEW, 56 PAYMENT_METHOD_SHEET_LIST_VIEW,
56 SHIPPING_ADDRESS_SHEET_LIST_VIEW, 57 SHIPPING_ADDRESS_SHEET_LIST_VIEW,
57 58
58 // Used in selectable rows. Each row in a view reuses this ID, but the ID is 59 // Used in selectable rows. Each row in a view reuses this ID, but the ID is
59 // unique at the scope of the parent row. 60 // unique at the scope of the parent row.
60 CHECKMARK_VIEW, 61 CHECKMARK_VIEW,
61 62
62 // Used to label the error labels with an offset, which gets added to 63 // Used to label the error labels with an offset, which gets added to
63 // the Autofill type value they represent (for tests). 64 // the Autofill type value they represent (for tests).
64 ERROR_LABEL_OFFSET, 65 ERROR_LABEL_OFFSET,
65 66
66 // The CVC text field in the unmask sheet. 67 // The CVC text field in the unmask sheet.
67 CVC_PROMPT_TEXT_FIELD, 68 CVC_PROMPT_TEXT_FIELD,
68 }; 69 };
69 70
70 } // namespace payments 71 } // namespace payments
71 72
72 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ 73 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698