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

Side by Side Diff: ios/chrome/browser/payments/shipping_option_selection_view_controller.mm

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
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 #import "ios/chrome/browser/payments/shipping_option_selection_view_controller.h " 5 #import "ios/chrome/browser/payments/shipping_option_selection_view_controller.h "
6 6
7 #include "base/mac/foundation_util.h" 7 #include "base/mac/foundation_util.h"
8 #include "base/strings/sys_string_conversions.h" 8 #include "base/strings/sys_string_conversions.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "components/payments/currency_formatter.h" 10 #include "components/payments/core/currency_formatter.h"
11 #include "components/strings/grit/components_strings.h" 11 #include "components/strings/grit/components_strings.h"
12 #import "ios/chrome/browser/payments/cells/payments_text_item.h" 12 #import "ios/chrome/browser/payments/cells/payments_text_item.h"
13 #include "ios/chrome/browser/payments/payment_request.h" 13 #include "ios/chrome/browser/payments/payment_request.h"
14 #import "ios/chrome/browser/payments/payment_request_util.h" 14 #import "ios/chrome/browser/payments/payment_request_util.h"
15 #import "ios/chrome/browser/payments/shipping_option_selection_view_controller_a ctions.h" 15 #import "ios/chrome/browser/payments/shipping_option_selection_view_controller_a ctions.h"
16 #import "ios/chrome/browser/ui/autofill/cells/status_item.h" 16 #import "ios/chrome/browser/ui/autofill/cells/status_item.h"
17 #import "ios/chrome/browser/ui/collection_view/cells/MDCCollectionViewCell+Chrom e.h" 17 #import "ios/chrome/browser/ui/collection_view/cells/MDCCollectionViewCell+Chrom e.h"
18 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h" 18 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h"
19 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_text_item.h " 19 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_text_item.h "
20 #import "ios/chrome/browser/ui/collection_view/collection_view_model.h" 20 #import "ios/chrome/browser/ui/collection_view/collection_view_model.h"
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 hidesInkViewAtIndexPath:(NSIndexPath*)indexPath { 237 hidesInkViewAtIndexPath:(NSIndexPath*)indexPath {
238 NSInteger type = [self.collectionViewModel itemTypeForIndexPath:indexPath]; 238 NSInteger type = [self.collectionViewModel itemTypeForIndexPath:indexPath];
239 if (type == ItemTypeMessage) { 239 if (type == ItemTypeMessage) {
240 return YES; 240 return YES;
241 } else { 241 } else {
242 return NO; 242 return NO;
243 } 243 }
244 } 244 }
245 245
246 @end 246 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698