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

Unified Diff: ios/chrome/browser/interstitials/ios_chrome_controller_client.mm

Issue 2858043004: Support interstitials with no primary button (Closed)
Patch Set: Fix iOS CanGoBack implementation Created 3 years, 7 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/chrome/browser/interstitials/ios_chrome_controller_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/interstitials/ios_chrome_controller_client.mm
diff --git a/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm b/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm
index fa640eae5a9a29b6f868782bb1ddded14614fb95..1df9dc058b2954d5f79926220a43d6cdcb13d771 100644
--- a/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm
+++ b/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm
@@ -45,6 +45,10 @@ void IOSChromeControllerClient::GoBack() {
web_interstitial_->DontProceed();
}
+bool IOSChromeControllerClient::CanGoBack() {
+ return web_state_->GetNavigationManager()->CanGoBack();
+}
+
void IOSChromeControllerClient::GoBackAfterNavigationCommitted() {
NOTREACHED();
}
« no previous file with comments | « ios/chrome/browser/interstitials/ios_chrome_controller_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698