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

Unified Diff: ios/chrome/browser/content_suggestions/content_suggestions_coordinator.h

Issue 2691303002: Add context menu for ContentSuggestions (Closed)
Patch Set: 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/content_suggestions/content_suggestions_coordinator.h
diff --git a/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.h b/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.h
index 7a1bcf066aa40f5a16868d86371f5fef586beec7..24c50915d575d5bd4898ea82c2cca3df763056b2 100644
--- a/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.h
+++ b/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.h
@@ -11,10 +11,19 @@ namespace ios {
class ChromeBrowserState;
}
+@protocol UrlLoader;
+
// Coordinator to manage the Suggestions UI via a
// ContentSuggestionsViewController.
@interface ContentSuggestionsCoordinator : ChromeCoordinator
+- (instancetype)initWithBaseViewController:(UIViewController*)viewController
+ loader:(id<UrlLoader>)loader
lpromero 2017/02/14 16:18:17 Can you instead make it a property?
gambard 2017/02/15 10:37:56 Done.
+ NS_DESIGNATED_INITIALIZER;
+
+- (instancetype)initWithBaseViewController:(UIViewController*)viewController
+ NS_UNAVAILABLE;
+
// BrowserState used to create the ContentSuggestionFactory.
@property(nonatomic, assign) ios::ChromeBrowserState* browserState;
// Whether the Suggestions UI is displayed. If this is true, start is a no-op.

Powered by Google App Engine
This is Rietveld 408576698