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

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

Issue 2742953003: created web::ReloadType (Closed)
Patch Set: Rebase 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/chrome/browser/interstitials/BUILD.gn ('k') | ios/chrome/browser/reading_list/BUILD.gn » ('j') | 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 2d5658a03e48369a388bfe8a521816778794e92d..fa640eae5a9a29b6f868782bb1ddded14614fb95 100644
--- a/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm
+++ b/ios/chrome/browser/interstitials/ios_chrome_controller_client.mm
@@ -11,6 +11,7 @@
#include "ios/chrome/browser/pref_names.h"
#include "ios/web/public/interstitials/web_interstitial.h"
#import "ios/web/public/navigation_manager.h"
+#include "ios/web/public/reload_type.h"
#include "ios/web/public/web_state/web_state.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
@@ -54,7 +55,8 @@
}
void IOSChromeControllerClient::Reload() {
- web_state_->GetNavigationManager()->Reload(true);
+ web_state_->GetNavigationManager()->Reload(web::ReloadType::NORMAL,
+ true /*check_for_repost*/);
}
void IOSChromeControllerClient::OpenUrlInCurrentTab(const GURL& url) {
« no previous file with comments | « ios/chrome/browser/interstitials/BUILD.gn ('k') | ios/chrome/browser/reading_list/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698