Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Side by Side Diff: chrome/browser/ui/views/payments/payment_request_views_util.h

Issue 2579513002: [WebPayments] Factor out sheet-specific logic in Controllers. (Closed)
Patch Set: Add missing include and semicolon. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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. The returned view takes ownership of
21 // |content_view|.
22 std::unique_ptr<views::View> CreatePaymentView(
23 const base::string16& title, std::unique_ptr<views::View> content_view);
24
25 } // namespace payments
26
27 #endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_VIEWS_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698