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

Unified Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h

Issue 2775593002: Add a message to empty ContentSuggestions sections (Closed)
Patch Set: Reviewable Created 3 years, 9 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/content_suggestions/content_suggestions_collection_updater.h
diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h b/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h
index 6661d090081ccbaefb3e66837aaf24ed42f941f2..51ae410509bcfece503af70615af74bea5e658af 100644
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h
@@ -45,6 +45,9 @@
- (NSArray<NSIndexPath*>*)addSuggestionsToModel:
(NSArray<ContentSuggestion*>*)suggestions;
+// Adds the empty item for this section.
lpromero 2017/03/23 10:54:37 s/for/to? If you change, change also the method na
gambard 2017/03/23 15:25:49 Done.
+- (void)addEmptyItemForSection:(NSInteger)section;
lpromero 2017/03/23 10:54:37 Please add unittests.
gambard 2017/03/23 15:25:49 Done.
+
@end
#endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COLLECTION_UPDATER_H_

Powered by Google App Engine
This is Rietveld 408576698