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

Unified Diff: ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.h

Issue 2745563002: Add Open in New Tab method for Reading List Delegate (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/chrome/browser/ui/reading_list/reading_list_coordinator.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | ios/chrome/browser/ui/reading_list/reading_list_coordinator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698