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

Unified Diff: ios/clean/chrome/browser/browser_coordinator.mm

Issue 2755653002: Coordinators are now notified when moving to a parent coordinator. (Closed)
Patch Set: Pass the parent coordinator as parameter. Created 3 years, 9 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 | « no previous file | ios/clean/chrome/browser/browser_coordinator+internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/clean/chrome/browser/browser_coordinator.mm
diff --git a/ios/clean/chrome/browser/browser_coordinator.mm b/ios/clean/chrome/browser/browser_coordinator.mm
index f3f79a7fb4e0dd747eff5eb5dfe0411f609f4413..4c3b0ecce2c22c8ee33c6f5ebe241fbf11e46394 100644
--- a/ios/clean/chrome/browser/browser_coordinator.mm
+++ b/ios/clean/chrome/browser/browser_coordinator.mm
@@ -72,6 +72,7 @@
coordinator.parentCoordinator = self;
coordinator.browser = self.browser;
coordinator.context.baseViewController = self.viewController;
+ [coordinator coordinatorDidMoveToParentCoordinator:self];
}
- (BrowserCoordinator*)overlayCoordinator {
@@ -126,6 +127,11 @@
coordinator.parentCoordinator = nil;
}
+- (void)coordinatorDidMoveToParentCoordinator:
+ (BrowserCoordinator*)parentCoordinator {
+ // Default implementation is a no-op.
+}
+
- (void)childCoordinatorDidStart:(BrowserCoordinator*)childCoordinator {
// Default implementation is a no-op.
}
« no previous file with comments | « no previous file | ios/clean/chrome/browser/browser_coordinator+internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698