OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_VIEWS_UTIL_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_VIEWS_UTIL_H_ |
| 7 |
| 8 #include <memory> |
| 9 |
| 10 #include "base/strings/string16.h" |
| 11 |
| 12 namespace views { |
| 13 class View; |
| 14 } |
| 15 |
| 16 namespace payments { |
| 17 |
| 18 // Creates a view to be displayed in the PaymentRequestDialog. |title| is the |
| 19 // text displayed on top of the dialog and |content_view| is displayed between |
| 20 // the title and the pay/cancel buttons. |
| 21 std::unique_ptr<views::View> CreatePaymentView( |
| 22 const base::string16& title, views::View* content_view); |
| 23 |
| 24 } // namespace payments |
| 25 |
| 26 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_VIEWS_UTIL_H_ |
OLD | NEW |