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

Unified Diff: ios/chrome/browser/ui/collection_view/cells/collection_view_text_item.h

Issue 2817953002: CollectionViewTextItem no longer styles CollectionViewTextCell (Closed)
Patch Set: rebase 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/ui/collection_view/cells/collection_view_text_item.h
diff --git a/ios/chrome/browser/ui/collection_view/cells/collection_view_text_item.h b/ios/chrome/browser/ui/collection_view/cells/collection_view_text_item.h
index fb081288cf919fcf3052be61f27bfd984bfe1006..caac871a7fef4b3c7936b0d07d0af2f556d44d86 100644
--- a/ios/chrome/browser/ui/collection_view/cells/collection_view_text_item.h
+++ b/ios/chrome/browser/ui/collection_view/cells/collection_view_text_item.h
@@ -17,29 +17,14 @@
@property(nonatomic) MDCCollectionViewCellAccessoryType accessoryType;
// The main text to display.
-@property(nonatomic, nullable, copy) NSString* text;
+@property(nonatomic, copy) NSString* text;
// The secondary text to display.
-@property(nonatomic, nullable, copy) NSString* detailText;
-
-// The font of the main text. Default is the medium Roboto font of size 14.
-@property(nonatomic, null_resettable, copy) UIFont* textFont;
-
-// The color of the main text. Default is the 900 tint color of the grey
-// palette.
-@property(nonatomic, null_resettable, copy) UIColor* textColor;
+@property(nonatomic, copy) NSString* detailText;
// The maximum number of lines of the main text. Default is 1.
@property(nonatomic, assign) NSInteger numberOfTextLines;
-// The font of the secondary text. Default is the regular Roboto font of size
-// 14.
-@property(nonatomic, null_resettable, copy) UIFont* detailTextFont;
-
-// The color of the secondary text. Default is the 500 tint color of the grey
-// palette.
-@property(nonatomic, null_resettable, copy) UIColor* detailTextColor;
-
// The maximum number of lines of the secondary text. Default is 1.
@property(nonatomic, assign) NSInteger numberOfDetailTextLines;

Powered by Google App Engine
This is Rietveld 408576698