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

Unified Diff: ios/web/web_state/web_state_impl.mm

Issue 2741413007: Refactoring Reload in NavigationManager and CRWWebController. (Closed)
Patch Set: fixed more check_for_repost errors 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/web/web_state/web_state_impl.mm
diff --git a/ios/web/web_state/web_state_impl.mm b/ios/web/web_state/web_state_impl.mm
index 85fa9e991f7915c2becbdfb490fdfcc932255c4b..6e4ce922685a0d3b292479ba299545cdb4eee76b 100644
--- a/ios/web/web_state/web_state_impl.mm
+++ b/ios/web/web_state/web_state_impl.mm
@@ -732,6 +732,10 @@
[web_controller_ loadWithParams:params];
}
+void WebStateImpl::Reload() {
+ [web_controller_ reload];
+}
+
void WebStateImpl::OnNavigationItemsPruned(size_t pruned_item_count) {
for (auto& observer : observers_)
observer.NavigationItemsPruned(pruned_item_count);

Powered by Google App Engine
This is Rietveld 408576698