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

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

Issue 2784973002: Move string helper functions to components/core for iOS use. (Closed)
Patch Set: Deps, part 3 Created 3 years, 8 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
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_option_view_controller.h" 5 #include "chrome/browser/ui/views/payments/shipping_option_view_controller.h"
6 6
7 #include "chrome/browser/ui/views/payments/payment_request_dialog_view.h" 7 #include "chrome/browser/ui/views/payments/payment_request_dialog_view.h"
8 #include "chrome/browser/ui/views/payments/payment_request_views_util.h" 8 #include "chrome/browser/ui/views/payments/payment_request_views_util.h"
9 #include "components/payments/content/payment_request_spec.h" 9 #include "components/payments/content/payment_request_spec.h"
10 #include "components/payments/content/payment_request_state.h" 10 #include "components/payments/content/payment_request_state.h"
11 #include "components/payments/core/strings_util.h"
11 #include "ui/views/layout/fill_layout.h" 12 #include "ui/views/layout/fill_layout.h"
12 13
13 namespace payments { 14 namespace payments {
14 15
15 namespace { 16 namespace {
16 17
17 class ShippingOptionItem : public PaymentRequestItemList::Item { 18 class ShippingOptionItem : public PaymentRequestItemList::Item {
18 public: 19 public:
19 ShippingOptionItem(payments::mojom::PaymentShippingOption* shipping_option, 20 ShippingOptionItem(payments::mojom::PaymentShippingOption* shipping_option,
20 PaymentRequestSpec* spec, 21 PaymentRequestSpec* spec,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 content_view->SetLayoutManager(new views::FillLayout); 83 content_view->SetLayoutManager(new views::FillLayout);
83 content_view->AddChildView(shipping_option_list_.CreateListView().release()); 84 content_view->AddChildView(shipping_option_list_.CreateListView().release());
84 } 85 }
85 86
86 std::unique_ptr<views::View> 87 std::unique_ptr<views::View>
87 ShippingOptionViewController::CreateExtraFooterView() { 88 ShippingOptionViewController::CreateExtraFooterView() {
88 return nullptr; 89 return nullptr;
89 } 90 }
90 91
91 } // namespace payments 92 } // namespace payments
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/payments/profile_list_view_controller.cc ('k') | components/payments/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698