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

Unified Diff: ios/clean/chrome/browser/ui/tools/tools_coordinator.mm

Issue 2734333003: Child coordinators notify their parent upon -start and -stop. (Closed)
Patch Set: Feedback 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
Index: ios/clean/chrome/browser/ui/tools/tools_coordinator.mm
diff --git a/ios/clean/chrome/browser/ui/tools/tools_coordinator.mm b/ios/clean/chrome/browser/ui/tools/tools_coordinator.mm
index d80614efade9ba785b91fb331f4e7ef8259e022d..aaec5a47edf369e98b878dcdea5ff7ce7a124969 100644
--- a/ios/clean/chrome/browser/ui/tools/tools_coordinator.mm
+++ b/ios/clean/chrome/browser/ui/tools/tools_coordinator.mm
@@ -35,9 +35,11 @@
[self.context.baseViewController presentViewController:self.menuViewController
animated:self.context.animated
completion:nil];
+ [super start];
}
- (void)stop {
+ [super stop];
[self.menuViewController.presentingViewController
dismissViewControllerAnimated:self.context.animated
completion:nil];

Powered by Google App Engine
This is Rietveld 408576698