Chromium Code Reviews| 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 // This defines an enumeration of IDs that can uniquely identify a view within | |
| 6 // the scope of the Payment Request Dialog. | |
| 7 | |
| 8 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ | |
| 9 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_DIALOG_VIEW_IDS_H_ | |
| 10 | |
| 11 namespace payments { | |
| 12 | |
| 13 enum DialogViewID { | |
|
please use gerrit instead
2017/01/26 20:44:43
Should be an enum class.
"Provide enums as full c
Mathieu
2017/01/26 22:41:33
Thanks. "You learn something new..."
| |
| 14 VIEW_ID_NONE = 0, | |
| 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 |