Chromium Code Reviews| 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_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| | |
|
lpromero
2017/02/13 13:42:40
Add a period.
gambard
2017/02/13 14:32:02
Done.
| |
| 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_ |
| OLD | NEW |