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

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

Issue 2625183002: [WebPayments] Adding Shipping Address and Contact Info display to order summary (Closed)
Patch Set: sky comments Created 3 years, 11 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_sheet_view_controller.h
diff --git a/chrome/browser/ui/views/payments/payment_sheet_view_controller.h b/chrome/browser/ui/views/payments/payment_sheet_view_controller.h
index c6b12961732a49cd6e324816c59dd5270b3778e2..8e0a08c99af53c4af97206a008d16c38322a8839 100644
--- a/chrome/browser/ui/views/payments/payment_sheet_view_controller.h
+++ b/chrome/browser/ui/views/payments/payment_sheet_view_controller.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_SHEET_VIEW_CONTROLLER_H_
#define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_SHEET_VIEW_CONTROLLER_H_
+#include <memory>
+
#include "base/macros.h"
#include "chrome/browser/ui/views/payments/payment_request_sheet_controller.h"
#include "ui/views/controls/button/vector_icon_button_delegate.h"
@@ -32,8 +34,12 @@ class PaymentSheetViewController : public PaymentRequestSheetController,
void ButtonPressed(views::Button* sender, const ui::Event& event) override;
std::unique_ptr<views::View> CreateOrderSummarySectionContent();
+ std::unique_ptr<views::View> CreateShippingSectionContent();
+ std::unique_ptr<views::Button> CreateShippingRow();
std::unique_ptr<views::Button> CreatePaymentSheetSummaryRow();
std::unique_ptr<views::Button> CreatePaymentMethodRow();
+ std::unique_ptr<views::View> CreateContactInfoSectionContent();
+ std::unique_ptr<views::Button> CreateContactInfoRow();
const int widest_name_column_view_width_;

Powered by Google App Engine
This is Rietveld 408576698