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

Unified Diff: chrome/browser/ui/views/payments/payment_request_dialog.cc

Issue 2643643006: [WebPayments] Adding something resembling Shipping Address list (Closed)
Patch Set: Cleanup 2 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_request_dialog.cc
diff --git a/chrome/browser/ui/views/payments/payment_request_dialog.cc b/chrome/browser/ui/views/payments/payment_request_dialog.cc
index 58af72fbc2849df579a0295a15fb49a9e74438ed..f52a406f96ba884cbb78571cf44662ae941f77fd 100644
--- a/chrome/browser/ui/views/payments/payment_request_dialog.cc
+++ b/chrome/browser/ui/views/payments/payment_request_dialog.cc
@@ -11,6 +11,7 @@
#include "chrome/browser/ui/views/payments/order_summary_view_controller.h"
#include "chrome/browser/ui/views/payments/payment_method_view_controller.h"
#include "chrome/browser/ui/views/payments/payment_sheet_view_controller.h"
+#include "chrome/browser/ui/views/payments/shipping_list_view_controller.h"
#include "chrome/grit/generated_resources.h"
#include "components/constrained_window/constrained_window_views.h"
#include "components/payments/payment_request.h"
@@ -98,6 +99,12 @@ void PaymentRequestDialog::ShowOrderSummary() {
true);
}
+void PaymentRequestDialog::ShowShippingListSheet() {
+ view_stack_.Push(CreateViewAndInstallController<ShippingListViewController>(
+ &controller_map_, request_, this),
+ true);
please use gerrit instead 2017/01/20 19:32:53 Please add a comment about the meaning of this "tr
tmartino 2017/01/25 00:08:41 Done here and for the other calls to Push in this
+}
+
void PaymentRequestDialog::ShowPaymentMethodSheet() {
view_stack_.Push(
CreateViewAndInstallController<PaymentMethodViewController>(

Powered by Google App Engine
This is Rietveld 408576698