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

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

Issue 2693863005: Create ReadingListCoordinator (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_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 d4b201febad4944ae7d1942146f0d87b3b496f40..8f3330193fa6dfa9661023737b2d1143f33b65f3 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
@@ -21,16 +21,17 @@ class ReadingListDownloadService;
class ReadingListModel;
@class TabModel;
-// Delegate for the ReadingListCollectionViewController, managing the visibility
-// of the
-// toolbar, dismissing the Reading List View and opening elements.
-@protocol ReadingListCollectionViewControllerDelegate<NSObject>
+// Audience for the ReadingListCollectionViewController
+@protocol ReadingListCollectionViewControllerAudience
// Whether the collection has items.
-- (void)readingListCollectionViewController:
- (ReadingListCollectionViewController*)
- readingListCollectionViewController
- hasItems:(BOOL)hasItems;
+- (void)readingListHasItems:(BOOL)hasItems;
+
+@end
+
+// Delegate for the ReadingListCollectionViewController, managing the visibility
+// of the toolbar, dismissing the Reading List View and opening elements.
+@protocol ReadingListCollectionViewControllerDelegate<NSObject>
// Dismisses the Reading List View.
- (void)dismissReadingListCollectionViewController:
@@ -69,6 +70,9 @@ readingListCollectionViewController:
@property(nonatomic, weak) id<ReadingListCollectionViewControllerDelegate>
delegate;
+@property(nonatomic, weak) id<ReadingListCollectionViewControllerAudience>
+ audience;
+
@property(nonatomic, readonly) ReadingListModel* readingListModel;
@property(nonatomic, readonly) favicon::LargeIconService* largeIconService;
@property(nonatomic, readonly)

Powered by Google App Engine
This is Rietveld 408576698