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

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

Issue 2627323003: Expose font and color of the main and secondary texts in CollectionViewTextItem (Closed)
Patch Set: Created 3 years, 11 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 5068336545851cce43e554e15c69cf63ebb270e0..6fec03ea187d80eedc433afaa6919a91770b4008 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
@@ -25,6 +25,18 @@
// The image to show.
@property(nonatomic, strong) UIImage* image;
+// The font of the main text.
lpromero 2017/01/13 10:13:26 Add to these comments which default value is used.
Moe 2017/01/13 15:28:19 Done.
+@property(nonatomic, copy) UIFont* textFont;
lpromero 2017/01/13 10:13:26 Also add the null_resettable attribute if you impl
Moe 2017/01/13 15:28:19 Done. Adding null_resettable to these properties r
+
+// The color of the main text.
+@property(nonatomic, copy) UIColor* textColor;
+
+// The font of the secondary text.
+@property(nonatomic, copy) UIFont* detailTextFont;
+
+// The color of the secondary text.
+@property(nonatomic, copy) UIColor* detailTextColor;
+
@end
#endif // IOS_CHROME_BROWSER_UI_COLLECTION_VIEW_CELLS_COLLECTION_VIEW_TEXT_ITEM_H_

Powered by Google App Engine
This is Rietveld 408576698