Chromium Code Reviews| 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 6adc327730cacec7aa8105a45c804a957827abc2..3b48008fc81615aa42b50a7222767809682b17db 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 |
| @@ -22,9 +22,6 @@ |
| // The secondary text to display. |
| @property(nonatomic, nullable, copy) NSString* detailText; |
| -// The image to show. |
| -@property(nonatomic, nullable, strong) UIImage* image; |
| - |
| // The font of the main text. The Default value is the medium Roboto font of |
| // size 14. |
| @property(nonatomic, null_resettable, copy) UIFont* textFont; |
| @@ -33,6 +30,9 @@ |
| // grey palette. |
| @property(nonatomic, null_resettable, copy) UIColor* textColor; |
| +// The maximum number of lines of the main text. The Default value is 1. |
|
lpromero
2017/03/23 12:23:35
default
Or: Default is 1.
gambard
2017/03/23 15:32:28
Done.
It is not consistent with the other comments
lpromero
2017/03/23 19:16:33
True. What happened to those?? Can you make it con
gambard
2017/03/24 08:54:05
Done.
|
| +@property(nonatomic, assign) NSInteger numberOfTextLines; |
| + |
| // The font of the secondary text. The Default value is the regular Roboto font |
| // of size 14. |
| @property(nonatomic, null_resettable, copy) UIFont* detailTextFont; |
| @@ -41,6 +41,9 @@ |
| // the grey palette. |
| @property(nonatomic, null_resettable, copy) UIColor* detailTextColor; |
| +// The maximum number of lines of the secondary text. The Default value is 1. |
| +@property(nonatomic, assign) NSInteger numberOfDetailTextLines; |
| + |
| @end |
| #endif // IOS_CHROME_BROWSER_UI_COLLECTION_VIEW_CELLS_COLLECTION_VIEW_TEXT_ITEM_H_ |