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

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

Issue 2720223004: Use PaymentRequestItemList for Shipping screen (Closed)
Patch Set: tryna fix tests Created 3 years, 9 months 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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698