Index: ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.h |
diff --git a/ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.h b/ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.h |
index 8f3330193fa6dfa9661023737b2d1143f33b65f3..26bb030030549c51bcb91e0c7bde6e00663bdb68 100644 |
--- a/ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.h |
+++ b/ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.h |
@@ -15,6 +15,7 @@ namespace favicon { |
class LargeIconService; |
} |
+class GURL; |
@class ReadingListCollectionViewController; |
@class ReadingListCollectionViewItem; |
class ReadingListDownloadService; |
@@ -54,6 +55,21 @@ readingListCollectionViewController: |
openItem: |
(ReadingListCollectionViewItem*)readingListItem; |
+// Opens |URL| in a new tab |incognito| or not. |
+- (void)readingListCollectionViewController: |
+ (ReadingListCollectionViewController*) |
+ readingListCollectionViewController |
+ openNewTabWithURL:(const GURL&)URL |
+ incognito:(BOOL)incognito; |
+ |
+// Opens the offline url |offlineURL| of the entry saved in the reading list |
+// model with the |entryURL| url. |
+- (void)readingListCollectionViewController: |
+ (ReadingListCollectionViewController*) |
+ readingListCollectionViewController |
+ openOfflineURL:(const GURL&)offlineURL |
+ correspondingEntryURL:(const GURL&)entryURL; |
+ |
@end |
@interface ReadingListCollectionViewController |