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

Unified Diff: ios/clean/chrome/browser/browser_coordinator+internal.h

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 | « ios/clean/chrome/browser/browser_coordinator.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/clean/chrome/browser/browser_coordinator+internal.h
diff --git a/ios/clean/chrome/browser/browser_coordinator+internal.h b/ios/clean/chrome/browser/browser_coordinator+internal.h
index 48f7ea271bdf2aab3af35bc644a09e9ce75d2748..0cad14716cccb541236fb0ab32a318340284bccd 100644
--- a/ios/clean/chrome/browser/browser_coordinator+internal.h
+++ b/ios/clean/chrome/browser/browser_coordinator+internal.h
@@ -59,6 +59,12 @@
// |coordinator| isn't a child of the receiver, this method does nothing.
- (void)removeChildCoordinator:(BrowserCoordinator*)coordinator;
+// Called when this coordinator moves to a new parent coordinator. Subclasses
+// can override this method to run code that requires a configured
+// CoordinatorContext.
+- (void)coordinatorDidMoveToParentCoordinator:
+ (BrowserCoordinator*)parentCoordinator;
+
// Called when a child coordinator did start. This is a blank template method.
// Subclasses can override this method when they need to know when their
// children start.
« no previous file with comments | « ios/clean/chrome/browser/browser_coordinator.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698