Chromium Code Reviews| 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 |