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

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

Issue 2890193003: Open Most Visited items (Closed)
Patch Set: Fix showcase Created 3 years, 6 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_commands.h
diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_commands.h b/ios/chrome/browser/ui/content_suggestions/content_suggestions_commands.h
index 39a4ea54868b947bf653ac17d0b18ad864287f5e..f20fccbf4e659317a34f18f97310194e335517e9 100644
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_commands.h
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_commands.h
@@ -14,6 +14,9 @@
- (void)openReadingList;
// Opens the page associated with this |item|.
- (void)openPageForItem:(nonnull CollectionViewItem*)item;
+// Opens the Most Visited associated with this |item| at the |mostVisitedItem|.
+- (void)openMostVisitedItem:(nonnull CollectionViewItem*)item
+ atIndex:(NSInteger)mostVisitedIndex;
// Displays a context menu for opening the |articleItem|.
- (void)displayContextMenuForArticle:(nonnull CollectionViewItem*)item
atPoint:(CGPoint)touchLocation

Powered by Google App Engine
This is Rietveld 408576698