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

Unified Diff: chrome/browser/ui/views/payments/payment_request_item_list.h

Issue 2720223004: Use PaymentRequestItemList for Shipping screen (Closed)
Patch Set: rebase Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/payments/payment_request_item_list.h
diff --git a/chrome/browser/ui/views/payments/payment_request_item_list.h b/chrome/browser/ui/views/payments/payment_request_item_list.h
index 09aafea098284a14576c184557756470939649e4..547194ee4901930b0f165cbbd35fdb0fd82d043b 100644
--- a/chrome/browser/ui/views/payments/payment_request_item_list.h
+++ b/chrome/browser/ui/views/payments/payment_request_item_list.h
@@ -11,6 +11,7 @@
#include "base/macros.h"
namespace views {
+class ImageView;
class View;
}
@@ -60,6 +61,10 @@ class PaymentRequestItemList {
// be aware that their views might not exist yet.
virtual void SelectedStateChanged() = 0;
+ // Creates an image of a large checkmark, used to indicate that an option is
+ // selected.
+ std::unique_ptr<views::ImageView> CreateCheckmark(bool selected);
+
private:
std::unique_ptr<views::View> item_view_;
PaymentRequest* request_;

Powered by Google App Engine
This is Rietveld 408576698