OLD | NEW |
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_SUGGESTIONS_SUGGESTIONS_COMMANDS_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COMMANDS_H
_ |
6 #define IOS_CHROME_BROWSER_UI_SUGGESTIONS_SUGGESTIONS_COMMANDS_H_ | 6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COMMANDS_H
_ |
7 | 7 |
8 // Commands protocol for the SuggestionsViewController. | 8 // Commands protocol for the ContentSuggestionsViewController. |
9 @protocol SuggestionsCommands | 9 @protocol ContentSuggestionsCommands |
10 | 10 |
11 // Adds a new empty SuggestionItem. | 11 // Adds a new empty SuggestionItem. |
12 - (void)addEmptyItem; | 12 - (void)addEmptyItem; |
13 // Opens the Reading List. | 13 // Opens the Reading List. |
14 - (void)openReadingList; | 14 - (void)openReadingList; |
15 // Opens the first page of the Reading List. | 15 // Opens the first page of the Reading List. |
16 - (void)openFirstPageOfReadingList; | 16 - (void)openFirstPageOfReadingList; |
17 // Opens the favicon associated with the cell with the |index|. | 17 // Opens the favicon associated with the cell with the |index|. |
18 - (void)openFaviconAtIndex:(NSInteger)index; | 18 - (void)openFaviconAtIndex:(NSInteger)index; |
19 | 19 |
20 @end | 20 @end |
21 | 21 |
22 #endif // IOS_CHROME_BROWSER_UI_SUGGESTIONS_SUGGESTIONS_COMMANDS_H_ | 22 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COMMAND
S_H_ |
OLD | NEW |