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

Unified Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.h

Issue 2638413006: Add ContentSuggestionsMediator (Closed)
Patch Set: Format 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/content_suggestions/content_suggestions_view_controller.h
diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.h b/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.h
index df6a46da1ea2629a8e0c0c3d20d2221b32d44e63..b078851e870fa7278fbb91102a03b7e7678a545e 100644
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.h
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.h
@@ -12,12 +12,20 @@
#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_favicon_item.h"
@protocol ContentSuggestionsCommands;
+@protocol ContentSuggestionsDataSource;
// CollectionViewController to display the suggestions items.
@interface ContentSuggestionsViewController
: CollectionViewController<ContentSuggestionsExpandableCellDelegate,
ContentSuggestionsFaviconCellDelegate>
+- (instancetype)initWithStyle:(CollectionViewControllerStyle)style
+ dataSource:(id<ContentSuggestionsDataSource>)dataSource
+ NS_DESIGNATED_INITIALIZER;
+
+- (instancetype)initWithStyle:(CollectionViewControllerStyle)style
+ NS_UNAVAILABLE;
+
// Handler for the commands sent by the ContentSuggestionsViewController.
@property(nonatomic, weak) id<ContentSuggestionsCommands>
suggestionCommandHandler;

Powered by Google App Engine
This is Rietveld 408576698