Index: ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h |
diff --git a/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h b/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h |
index 1808434631144bb7521621dec0aed336d88c1acf..d87fba70af356c0068777848f51a3562b06511d1 100644 |
--- a/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h |
+++ b/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h |
@@ -35,6 +35,13 @@ |
// Returns the maximum number of tiles per line, limited to 4. |
- (NSUInteger)numberOfTilesPerLine; |
+// Returns the maximum number of tiles fitting in |availableWidth|, limited to |
+// 4. |
++ (NSUInteger)numberOfTilesForWidth:(CGFloat)availableWidth; |
+ |
+// Returns the spacing between tiles, based on the device. |
++ (CGFloat)spacing; |
+ |
@end |
#endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_CONTENT_SUGGESTIONS_MOST_VISITED_ITEM_H_ |