| 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 e5d015afd475cfd8b93b60ff71b2fa225d18c47a..39a4ea54868b947bf653ac17d0b18ad864287f5e 100644
|
| --- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_commands.h
|
| +++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_commands.h
|
| @@ -5,20 +5,19 @@
|
| #ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COMMANDS_H_
|
| #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COMMANDS_H_
|
|
|
| -@class ContentSuggestionsItem;
|
| -class GURL;
|
| +@class CollectionViewItem;
|
|
|
| // Commands protocol for the ContentSuggestionsViewController.
|
| @protocol ContentSuggestionsCommands
|
|
|
| // Opens the Reading List.
|
| - (void)openReadingList;
|
| -// Opens the |URL|.
|
| -- (void)openURL:(const GURL&)URL;
|
| +// Opens the page associated with this |item|.
|
| +- (void)openPageForItem:(nonnull CollectionViewItem*)item;
|
| // Displays a context menu for opening the |articleItem|.
|
| -- (void)displayContextMenuForArticle:(ContentSuggestionsItem*)articleItem
|
| +- (void)displayContextMenuForArticle:(nonnull CollectionViewItem*)item
|
| atPoint:(CGPoint)touchLocation
|
| - atIndexPath:(NSIndexPath*)indexPath;
|
| + atIndexPath:(nonnull NSIndexPath*)indexPath;
|
| // Dismisses the context menu if it is displayed.
|
| - (void)dismissContextMenu;
|
|
|
|
|