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

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

Issue 2891363002: Add long press actions for Most Visited tiles (Closed)
Patch Set: Address comments Created 3 years, 7 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 f20fccbf4e659317a34f18f97310194e335517e9..ebcfb02c02ce0cba31c045467efce896f58e83ea 100644
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_commands.h
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_commands.h
@@ -17,10 +17,15 @@
// 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
+// Displays a context menu for the |articleItem|.
+- (void)displayContextMenuForArticle:(nonnull CollectionViewItem*)articleItem
atPoint:(CGPoint)touchLocation
atIndexPath:(nonnull NSIndexPath*)indexPath;
+// Displays a context menu for the |mostVisitedItem|.
+- (void)displayContextMenuForMostVisitedItem:
+ (nonnull CollectionViewItem*)mostVisitedItem
+ atPoint:(CGPoint)touchLocation
+ atIndexPath:(nonnull NSIndexPath*)indexPath;
// Dismisses the context menu if it is displayed.
- (void)dismissContextMenu;

Powered by Google App Engine
This is Rietveld 408576698