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

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

Issue 2691303002: Add context menu for ContentSuggestions (Closed)
Patch Set: Fix gn deps Created 3 years, 10 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 773734484361dca296a19222d5d036887be8f6ca..19eda28efac2d5857077c2cd7ab437b9353bf0a9 100644
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_commands.h
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_commands.h
@@ -5,6 +5,7 @@
#ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COMMANDS_H_
#define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COMMANDS_H_
+@class ContentSuggestionsArticleItem;
class GURL;
// Commands protocol for the ContentSuggestionsViewController.
@@ -19,7 +20,10 @@ class GURL;
// Opens the favicon associated with the cell with the |index|.
- (void)openFaviconAtIndex:(NSInteger)index;
// Opens the |URL|.
-- (void)openURL:(const GURL&)url;
+- (void)openURL:(const GURL&)URL;
+// Displays a context menu for opening the |articleItem|.
+- (void)displayContextMenuForArticle:(ContentSuggestionsArticleItem*)articleItem
+ atPoint:(CGPoint)touchLocation;
@end

Powered by Google App Engine
This is Rietveld 408576698