| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/views/payments/shipping_list_view_controller.h" | 5 #include "chrome/browser/ui/views/payments/shipping_list_view_controller.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "chrome/browser/ui/views/payments/payment_request_dialog_view.h" | 10 #include "chrome/browser/ui/views/payments/payment_request_dialog_view.h" |
| 11 #include "chrome/browser/ui/views/payments/payment_request_row_view.h" | 11 #include "chrome/browser/ui/views/payments/payment_request_row_view.h" |
| 12 #include "chrome/browser/ui/views/payments/payment_request_views_util.h" | 12 #include "chrome/browser/ui/views/payments/payment_request_views_util.h" |
| 13 #include "components/payments/payment_request.h" | 13 #include "components/payments/content/payment_request.h" |
| 14 #include "components/strings/grit/components_strings.h" | 14 #include "components/strings/grit/components_strings.h" |
| 15 #include "ui/base/l10n/l10n_util.h" | 15 #include "ui/base/l10n/l10n_util.h" |
| 16 #include "ui/views/layout/box_layout.h" | 16 #include "ui/views/layout/box_layout.h" |
| 17 #include "ui/views/layout/grid_layout.h" | 17 #include "ui/views/layout/grid_layout.h" |
| 18 | 18 |
| 19 namespace payments { | 19 namespace payments { |
| 20 | 20 |
| 21 ShippingListViewController::ShippingListViewController( | 21 ShippingListViewController::ShippingListViewController( |
| 22 PaymentRequest* request, | 22 PaymentRequest* request, |
| 23 PaymentRequestDialogView* dialog) | 23 PaymentRequestDialogView* dialog) |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 views::GridLayout::USE_PREF, 0, 0); | 69 views::GridLayout::USE_PREF, 0, 0); |
| 70 | 70 |
| 71 layout->StartRow(0, 0); | 71 layout->StartRow(0, 0); |
| 72 content->set_can_process_events_within_subtree(false); | 72 content->set_can_process_events_within_subtree(false); |
| 73 layout->AddView(content.release()); | 73 layout->AddView(content.release()); |
| 74 | 74 |
| 75 return std::move(row); | 75 return std::move(row); |
| 76 } | 76 } |
| 77 | 77 |
| 78 } // namespace payments | 78 } // namespace payments |
| OLD | NEW |