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

Side by Side Diff: chrome/browser/ui/views/payments/shipping_list_view_controller.cc

Issue 2713033004: Layered component for web payments (Closed)
Patch Set: Rebase Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/views/payments/payment_sheet_view_controller.cc ('k') | components/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/payments/payment_sheet_view_controller.cc ('k') | components/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698