| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 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_ |
| 7 |
| 8 // This defines an enumeration of IDs that can uniquely identify a view within |
| 9 // the scope of the Payment Request Dialog. |
| 10 |
| 11 namespace payments { |
| 12 |
| 13 enum class DialogViewID : int { |
| 14 VIEW_ID_NONE, |
| 15 |
| 16 // The following are views::Button (clickable). |
| 17 PAYMENT_SHEET_CONTACT_INFO_SECTION, |
| 18 PAYMENT_SHEET_PAYMENT_METHOD_SECTION, |
| 19 PAYMENT_SHEET_SHIPPING_SECTION, |
| 20 PAYMENT_SHEET_SUMMARY_SECTION, |
| 21 |
| 22 // The following are StyledLabel objects. |
| 23 ORDER_SUMMARY_TOTAL_AMOUNT_LABEL, |
| 24 ORDER_SUMMARY_LINE_ITEM_1, |
| 25 ORDER_SUMMARY_LINE_ITEM_2, |
| 26 ORDER_SUMMARY_LINE_ITEM_3, |
| 27 }; |
| 28 |
| 29 } // namespace payments |
| 30 |
| 31 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ |
| OLD | NEW |