Chromium Code Reviews

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

Issue 2887073002: Layout Most Visited for ContentSuggestions (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 97b15673e4ff4c0b6b111d1e3e9a402e2c347015..cd5586d2d607c16e0dc4e3aae76180dd1c088126 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
@@ -62,6 +62,9 @@ addSuggestionsToModel:
// does not do any check about the number of elements in the section.
- (NSIndexPath*)addEmptyItemForSection:(NSInteger)section;
+// Returns whether |section| contains the Most Visited tiles.
+- (BOOL)isMostVisitedSection:(NSInteger)section;
+
@end
#endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COLLECTION_UPDATER_H_

Powered by Google App Engine