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

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

Issue 2659693004: Add context menu when long press on a reading list entry (Closed)
Patch Set: Address comments Created 3 years, 10 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
Index: ios/chrome/browser/ui/reading_list/reading_list_view_controller_container.h
diff --git a/ios/chrome/browser/ui/reading_list/reading_list_view_controller_container.h b/ios/chrome/browser/ui/reading_list/reading_list_view_controller_container.h
index 4c995307a341b369d086c62f3f1cf911255459c4..905c368208571b36a6da6f11c2c5460448396123 100644
--- a/ios/chrome/browser/ui/reading_list/reading_list_view_controller_container.h
+++ b/ios/chrome/browser/ui/reading_list/reading_list_view_controller_container.h
@@ -14,14 +14,17 @@ class LargeIconService;
class ReadingListDownloadService;
class ReadingListModel;
-@class TabModel;
+@class ReadingListViewController;
+@protocol UrlLoader;
-// Container for the Reading List View Controller.
+// Container for the Reading List View Controller and the toolbar. It handles
+// the interactions between the two. It also acts as a ReadingList delegate,
+// opening entries and displaying context menu.
@interface ReadingListViewControllerContainer
- : UIViewController<ReadingListViewControllerAudience>
+ : UIViewController<ReadingListViewControllerDelegate>
- (instancetype)initWithModel:(ReadingListModel*)model
- tabModel:(TabModel*)tabModel
+ loader:(id<UrlLoader>)loader
largeIconService:(favicon::LargeIconService*)largeIconService
readingListDownloadService:
(ReadingListDownloadService*)readingListDownloadService

Powered by Google App Engine
This is Rietveld 408576698