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..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_ |