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

Unified Diff: ios/showcase/suggestions/sc_suggestions_coordinator.mm

Issue 2644123003: Move ios/ui/suggestions to ios/ui/content_suggestions (Closed)
Patch Set: Rebase 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
« no previous file with comments | « ios/showcase/suggestions/BUILD.gn ('k') | ios/showcase/suggestions/sc_suggestions_egtest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/showcase/suggestions/sc_suggestions_coordinator.mm
diff --git a/ios/showcase/suggestions/sc_suggestions_coordinator.mm b/ios/showcase/suggestions/sc_suggestions_coordinator.mm
index 227d6cbe9f3f7a47433342ee79c451b3dfc81d9a..e014083cc9f22db3c8d44c405b2eb9bbdf68d934 100644
--- a/ios/showcase/suggestions/sc_suggestions_coordinator.mm
+++ b/ios/showcase/suggestions/sc_suggestions_coordinator.mm
@@ -4,8 +4,8 @@
#import "ios/showcase/suggestions/sc_suggestions_coordinator.h"
-#import "ios/chrome/browser/ui/suggestions/suggestions_commands.h"
-#import "ios/chrome/browser/ui/suggestions/suggestions_view_controller.h"
+#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_commands.h"
+#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.h"
#import "ios/showcase/common/protocol_alerter.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
@@ -15,7 +15,7 @@
@interface SCSuggestionsCoordinator ()
@property(nonatomic, strong)
- SuggestionsViewController* suggestionViewController;
+ ContentSuggestionsViewController* suggestionViewController;
@property(nonatomic, strong) ProtocolAlerter* alerter;
@end
@@ -30,14 +30,14 @@
- (void)start {
self.alerter = [[ProtocolAlerter alloc]
- initWithProtocols:@[ @protocol(SuggestionsCommands) ]];
+ initWithProtocols:@[ @protocol(ContentSuggestionsCommands) ]];
self.alerter.baseViewController = self.baseViewController;
- _suggestionViewController = [[SuggestionsViewController alloc]
+ _suggestionViewController = [[ContentSuggestionsViewController alloc]
initWithStyle:CollectionViewControllerStyleDefault];
_suggestionViewController.suggestionCommandHandler =
- reinterpret_cast<id<SuggestionsCommands>>(self.alerter);
+ reinterpret_cast<id<ContentSuggestionsCommands>>(self.alerter);
[self.baseViewController pushViewController:_suggestionViewController
animated:YES];
« no previous file with comments | « ios/showcase/suggestions/BUILD.gn ('k') | ios/showcase/suggestions/sc_suggestions_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698