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

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: Cleanup Created 3 years, 11 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..4e9f2000aa966447dd9d2d59627ca7d9648c808c 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,15 @@ class LargeIconService;
class ReadingListDownloadService;
class ReadingListModel;
-@class TabModel;
+@class ReadingListViewController;
+@protocol UrlLoader;
// Container for the Reading List View Controller.
stkhapugin 2017/01/30 10:34:53 This "container" is a few hundreds LOC. Please doc
gambard 2017/01/31 09:35:40 Done.
gambard 2017/01/31 09:35:40 I was thinking of reusing the history pattern whic
@interface ReadingListViewControllerContainer
- : UIViewController<ReadingListViewControllerAudience>
+ : UIViewController<ReadingListViewControllerDelegate>
- (instancetype)initWithModel:(ReadingListModel*)model
- tabModel:(TabModel*)tabModel
+ loader:(id<UrlLoader>)loader
largeIconService:(favicon::LargeIconService*)largeIconService
readingListDownloadService:
(ReadingListDownloadService*)readingListDownloadService
@@ -31,6 +32,9 @@ class ReadingListModel;
bundle:(NSBundle*)nibBundleOrNil NS_UNAVAILABLE;
- (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE;
+@property(nonatomic, strong, readonly)
+ ReadingListViewController* collectionController;
+
@end
#endif // IOS_CHROME_BROWSER_UI_READING_LIST_READING_LIST_VIEW_CONTROLLER_CONTAINER_H_

Powered by Google App Engine
This is Rietveld 408576698