Chromium Code Reviews| 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>( |