| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/payment_items_display_view_controller.h" | 5 #import "ios/chrome/browser/payments/payment_items_display_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/autofill/core/browser/credit_card.h" | 10 #include "components/autofill/core/browser/credit_card.h" |
| 11 #include "components/payments/currency_formatter.h" | 11 #include "components/payments/core/currency_formatter.h" |
| 12 #include "components/strings/grit/components_strings.h" | 12 #include "components/strings/grit/components_strings.h" |
| 13 #import "ios/chrome/browser/payments/cells/price_item.h" | 13 #import "ios/chrome/browser/payments/cells/price_item.h" |
| 14 #import "ios/chrome/browser/payments/payment_items_display_view_controller_actio
ns.h" | 14 #import "ios/chrome/browser/payments/payment_items_display_view_controller_actio
ns.h" |
| 15 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h" | 15 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h" |
| 16 #import "ios/chrome/browser/ui/collection_view/collection_view_model.h" | 16 #import "ios/chrome/browser/ui/collection_view/collection_view_model.h" |
| 17 #import "ios/chrome/browser/ui/colors/MDCPalette+CrAdditions.h" | 17 #import "ios/chrome/browser/ui/colors/MDCPalette+CrAdditions.h" |
| 18 #import "ios/chrome/browser/ui/icons/chrome_icon.h" | 18 #import "ios/chrome/browser/ui/icons/chrome_icon.h" |
| 19 #include "ios/chrome/browser/ui/rtl_geometry.h" | 19 #include "ios/chrome/browser/ui/rtl_geometry.h" |
| 20 #include "ios/chrome/grit/ios_strings.h" | 20 #include "ios/chrome/grit/ios_strings.h" |
| 21 #import "ios/third_party/material_components_ios/src/components/Buttons/src/Mate
rialButtons.h" | 21 #import "ios/third_party/material_components_ios/src/components/Buttons/src/Mate
rialButtons.h" |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 #pragma mark MDCCollectionViewStylingDelegate | 219 #pragma mark MDCCollectionViewStylingDelegate |
| 220 | 220 |
| 221 // There are no effects from touching the payment items so there should not be | 221 // There are no effects from touching the payment items so there should not be |
| 222 // an ink ripple. | 222 // an ink ripple. |
| 223 - (BOOL)collectionView:(UICollectionView*)collectionView | 223 - (BOOL)collectionView:(UICollectionView*)collectionView |
| 224 hidesInkViewAtIndexPath:(NSIndexPath*)indexPath { | 224 hidesInkViewAtIndexPath:(NSIndexPath*)indexPath { |
| 225 return YES; | 225 return YES; |
| 226 } | 226 } |
| 227 | 227 |
| 228 @end | 228 @end |
| OLD | NEW |