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 |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "components/payments/content/payment_request.mojom.h" | 12 #include "components/payments/mojom/payment_request.mojom.h" |
13 | 13 |
14 namespace autofill { | 14 namespace autofill { |
15 class AutofillProfile; | 15 class AutofillProfile; |
16 } | 16 } |
17 | 17 |
18 namespace views { | 18 namespace views { |
19 class Border; | 19 class Border; |
20 class ButtonListener; | 20 class ButtonListener; |
21 class ImageView; | 21 class ImageView; |
22 class Label; | 22 class Label; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 // Creates a label with a bold font. | 98 // Creates a label with a bold font. |
99 std::unique_ptr<views::Label> CreateBoldLabel(const base::string16& text); | 99 std::unique_ptr<views::Label> CreateBoldLabel(const base::string16& text); |
100 | 100 |
101 std::unique_ptr<views::View> CreateShippingOptionLabel( | 101 std::unique_ptr<views::View> CreateShippingOptionLabel( |
102 payments::mojom::PaymentShippingOption* shipping_option, | 102 payments::mojom::PaymentShippingOption* shipping_option, |
103 const base::string16& formatted_amount); | 103 const base::string16& formatted_amount); |
104 | 104 |
105 } // namespace payments | 105 } // namespace payments |
106 | 106 |
107 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_VIEWS_UTIL_H_ | 107 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_VIEWS_UTIL_H_ |
OLD | NEW |