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

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

Issue 2833423002: Added WebStateImpl::OnNavigationFinished(). (Closed)
Patch Set: Rebased 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/web/web_state/web_state_impl.h ('k') | ios/web/web_state/web_state_impl_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b5a047dccfdfc0b54760ee71daacc47564f3f2ee..acd420c138e5f802766d70d2a6bbd6a8d0aeab17 100644
--- a/ios/web/web_state/web_state_impl.mm
+++ b/ios/web/web_state/web_state_impl.mm
@@ -698,6 +698,11 @@ void WebStateImpl::OnProvisionalNavigationStarted(const GURL& url) {
observer.ProvisionalNavigationStarted(url);
}
+void WebStateImpl::OnNavigationFinished(web::NavigationContext* context) {
+ for (auto& observer : observers_)
+ observer.DidFinishNavigation(context);
+}
+
#pragma mark - NavigationManagerDelegate implementation
void WebStateImpl::GoToIndex(int index) {
« no previous file with comments | « ios/web/web_state/web_state_impl.h ('k') | ios/web/web_state/web_state_impl_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698