| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_VIEWS_UTIL_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_VIEWS_UTIL_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_VIEWS_UTIL_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_VIEWS_UTIL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 const std::string& locale, | 76 const std::string& locale, |
| 77 const autofill::AutofillProfile& profile, | 77 const autofill::AutofillProfile& profile, |
| 78 bool show_payer_name, | 78 bool show_payer_name, |
| 79 bool show_payer_email, | 79 bool show_payer_email, |
| 80 bool show_payer_phone); | 80 bool show_payer_phone); |
| 81 | 81 |
| 82 // Creates a views::Border object that can paint the gray horizontal ruler used | 82 // Creates a views::Border object that can paint the gray horizontal ruler used |
| 83 // as a separator between items in the Payment Request dialog. | 83 // as a separator between items in the Payment Request dialog. |
| 84 std::unique_ptr<views::Border> CreatePaymentRequestRowBorder(); | 84 std::unique_ptr<views::Border> CreatePaymentRequestRowBorder(); |
| 85 | 85 |
| 86 // Creates an image of a large checkmark, used to indicate that an option is |
| 87 // selected. |
| 88 std::unique_ptr<views::ImageView> CreateCheckmark(bool selected); |
| 89 |
| 86 } // namespace payments | 90 } // namespace payments |
| 87 | 91 |
| 88 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_VIEWS_UTIL_H_ | 92 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_VIEWS_UTIL_H_ |
| OLD | NEW |