Chromium Code Reviews| 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..8c0a27f190276fc94ccfcd5e8aa09334f4e8e026 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 |
| @@ -31,6 +34,9 @@ class ReadingListModel; |
| bundle:(NSBundle*)nibBundleOrNil NS_UNAVAILABLE; |
| - (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE; |
| +@property(nonatomic, strong, readonly) |
| + ReadingListViewController* collectionController; |
|
Olivier
2017/02/01 12:22:05
super optional nit: I would have viewController in
gambard
2017/02/01 17:13:37
Done.
|
| + |
| @end |
| #endif // IOS_CHROME_BROWSER_UI_READING_LIST_READING_LIST_VIEW_CONTROLLER_CONTAINER_H_ |