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

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

Issue 2691303002: Add context menu for ContentSuggestions (Closed)
Patch Set: 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..8f700306313d04a1c9e019a70e727bf4063eb234 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.
@@ -20,6 +21,9 @@ class GURL;
- (void)openFaviconAtIndex:(NSInteger)index;
// Opens the |URL|.
- (void)openURL:(const GURL&)url;
lpromero 2017/02/14 16:18:17 Optional: s/url/URL
gambard 2017/02/15 10:37:56 Done.
+// Displays a context menu for opening the |url|.
lpromero 2017/02/14 16:18:17 There is no "url" here.
gambard 2017/02/15 10:37:56 Done.
+- (void)displayContextMenuForArticle:(ContentSuggestionsArticleItem*)articleItem
+ atPoint:(CGPoint)touchLocation;
@end

Powered by Google App Engine
This is Rietveld 408576698