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

Unified Diff: ios/chrome/browser/payments/cells/price_item.h

Issue 2825483002: [Payment Request] Protocol for payments items with accessoryType property (Closed)
Patch Set: Initial 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/payments/cells/price_item.h
diff --git a/ios/chrome/browser/payments/cells/price_item.h b/ios/chrome/browser/payments/cells/price_item.h
index ee8d71c1b811c561ea25adf3efee8c2cd44325df..39ad3e069acc2ac6c24881c0a6a94a5a79ed77be 100644
--- a/ios/chrome/browser/payments/cells/price_item.h
+++ b/ios/chrome/browser/payments/cells/price_item.h
@@ -7,14 +7,12 @@
#import <UIKit/UIKit.h>
+#import "ios/chrome/browser/payments/cells/payments_has_accessory_type.h"
#import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h"
#import "ios/third_party/material_components_ios/src/components/CollectionCells/src/MaterialCollectionCells.h"
// PriceItem is the model class corresponding to PriceCell.
-@interface PriceItem : CollectionViewItem
-
-// The accessory type to display on the trailing edge of the cell.
-@property(nonatomic) MDCCollectionViewCellAccessoryType accessoryType;
+@interface PriceItem : CollectionViewItem<PaymentsHasAccessoryType>
// The leading item string.
@property(nonatomic, copy) NSString* item;

Powered by Google App Engine
This is Rietveld 408576698