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