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

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

Issue 2638413006: Add ContentSuggestionsMediator (Closed)
Patch Set: Fix 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..a96e410759284850162ab76d5430f0ac37bd5a47 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,19 @@
#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;
marq (ping after 24h) 2017/01/27 12:44:56 nit: newline.
gambard 2017/01/30 15:19:17 Done.
+- (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