Chromium Code Reviews| Index: ios/chrome/browser/ui/content_suggestions/identifier/content_suggestions_section_information.h |
| diff --git a/ios/chrome/browser/ui/content_suggestions/identifier/content_suggestions_section_information.h b/ios/chrome/browser/ui/content_suggestions/identifier/content_suggestions_section_information.h |
| index d73e065167f8c1d915ad252040ea99d1a31b0130..bfa793af06e6c8545934ecb8a381bab27294899f 100644 |
| --- a/ios/chrome/browser/ui/content_suggestions/identifier/content_suggestions_section_information.h |
| +++ b/ios/chrome/browser/ui/content_suggestions/identifier/content_suggestions_section_information.h |
| @@ -43,6 +43,11 @@ typedef NS_ENUM(NSInteger, ContentSuggestionsSectionID) { |
| @property(nonatomic, copy) NSString* title; |
| // Title of the section's footer. If it is nil, no footer is created. |
| @property(nonatomic, copy) NSString* footerTitle; |
| +// Text to be displayed when the section is empty. |
| +@property(nonatomic, copy) NSString* emptyText; |
| +// If the section should be shown when empty. If the section becomes empty |
| +// because the user dismissed suggestions, it should be shown in either cases. |
|
lpromero
2017/03/23 10:54:37
Regarding the last sentence, does that means that
gambard
2017/03/23 15:25:49
The property will not be honored.
|
| +@property(nonatomic, assign) BOOL showIfEmpty; |
| @end |