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

Unified Diff: ios/web/web_state/ui/crw_web_controller.mm

Issue 2687343003: Fixed navigation for displayed SSL interstitials. (Closed)
Patch Set: Preserve old behavior of pending navigation index is disabled. Created 3 years, 10 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/web/interstitials/web_interstitial_impl.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/ui/crw_web_controller.mm
diff --git a/ios/web/web_state/ui/crw_web_controller.mm b/ios/web/web_state/ui/crw_web_controller.mm
index 8eacd9689f1a6ffff74088183a154cfebf6d980f..a6f4f3114e1fc1c17da4fa2a78796c67aa8faf89 100644
--- a/ios/web/web_state/ui/crw_web_controller.mm
+++ b/ios/web/web_state/ui/crw_web_controller.mm
@@ -2130,6 +2130,8 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
if (![userDefaults boolForKey:@"PendingIndexNavigationDisabled"]) {
+ [self clearTransientContentView];
+
BOOL sameDocumentNavigation = [sessionController
isSameDocumentNavigationBetweenItem:fromEntry.navigationItem
andItem:toEntry.navigationItem];
« no previous file with comments | « ios/web/interstitials/web_interstitial_impl.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698