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

Side by Side Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_commands.h

Issue 2697573002: Modify article item in ContentSuggestions (Closed)
Patch Set: Fix tests 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COMMANDS_H _ 5 #ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COMMANDS_H _
6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COMMANDS_H _ 6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COMMANDS_H _
7 7
8 class GURL;
9
8 // Commands protocol for the ContentSuggestionsViewController. 10 // Commands protocol for the ContentSuggestionsViewController.
9 @protocol ContentSuggestionsCommands 11 @protocol ContentSuggestionsCommands
10 12
11 // Adds a new empty SuggestionItem. 13 // Adds a new empty SuggestionItem.
12 - (void)addEmptyItem; 14 - (void)addEmptyItem;
13 // Opens the Reading List. 15 // Opens the Reading List.
14 - (void)openReadingList; 16 - (void)openReadingList;
15 // Opens the first page of the Reading List. 17 // Opens the first page of the Reading List.
16 - (void)openFirstPageOfReadingList; 18 - (void)openFirstPageOfReadingList;
17 // Opens the favicon associated with the cell with the |index|. 19 // Opens the favicon associated with the cell with the |index|.
18 - (void)openFaviconAtIndex:(NSInteger)index; 20 - (void)openFaviconAtIndex:(NSInteger)index;
21 // Opens the |URL|.
22 - (void)openURL:(const GURL&)url;
19 23
20 @end 24 @end
21 25
22 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COMMAND S_H_ 26 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COMMAND S_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698