Chromium Code Reviews| 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..964d304fd83c8e9658c125c3f44cb71361a1d927 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)readingListHasItem:(BOOL)hasItems; |
|
Olivier
2017/02/16 15:16:09
add s to Item
gambard
2017/02/16 15:45:56
Done.
|
| + |
| +@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) |