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

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

Issue 2695653004: [Web Payments] Add a mechanism to build item lists in the PR dialog. (Closed)
Patch Set: Fix up some comments. 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_method_view_controller.h
diff --git a/chrome/browser/ui/views/payments/payment_method_view_controller.h b/chrome/browser/ui/views/payments/payment_method_view_controller.h
index 8abb21626eb3c8092b97503b10752899c7881c2c..4662d2704d1beab4e43b1acb58cb5e93b0d1cc13 100644
--- a/chrome/browser/ui/views/payments/payment_method_view_controller.h
+++ b/chrome/browser/ui/views/payments/payment_method_view_controller.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_METHOD_VIEW_CONTROLLER_H_
#include "base/macros.h"
+#include "chrome/browser/ui/views/payments/payment_request_item_list.h"
#include "chrome/browser/ui/views/payments/payment_request_sheet_controller.h"
namespace payments {
@@ -27,8 +28,11 @@ class PaymentMethodViewController : public PaymentRequestSheetController {
private:
// PaymentRequestSheetController:
+ std::unique_ptr<views::View> CreateExtraView() override;
void ButtonPressed(views::Button* sender, const ui::Event& event) override;
+ PaymentRequestItemList payment_method_list_;
+
DISALLOW_COPY_AND_ASSIGN(PaymentMethodViewController);
};

Powered by Google App Engine
This is Rietveld 408576698