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

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

Issue 2739873003: Remove suggestions notified as invalid (Closed)
Patch Set: Fix the logic 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/chrome/browser/content_suggestions/content_suggestions_coordinator.mm
diff --git a/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm b/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm
index e0cf332a3e43234af723a7f7157e764fbed72d60..8aecdeaa494e5c2ee8ce7f64ba470b9bfa3e3d8b 100644
--- a/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm
+++ b/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm
@@ -96,6 +96,7 @@
completion:nil];
self.navigationController = nil;
self.contentSuggestionsMediator = nil;
+ self.alertCoordinator = nil;
_visible = NO;
}
@@ -176,6 +177,11 @@
[self.alertCoordinator start];
}
+- (void)dismissContextMenu {
+ [self.alertCoordinator stop];
+ self.alertCoordinator = nil;
+}
+
#pragma mark - Private
- (void)openNewTabWithURL:(const GURL&)URL incognito:(BOOL)incognito {

Powered by Google App Engine
This is Rietveld 408576698