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 8967dadb11b026316acd2c19778140819caecfbf..7e923c1add7e34f0a194b66e215af7a8757922b9 100644 |
--- a/ios/web/web_state/ui/crw_web_controller.mm |
+++ b/ios/web/web_state/ui/crw_web_controller.mm |
@@ -1858,6 +1858,10 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5; |
return self.webView; |
} |
+- (double)loadingProgress { |
+ return [_webView estimatedProgress]; |
+} |
+ |
- (void)registerLoadRequest:(const GURL&)URL { |
// Get the navigation type from the last main frame load request, and try to |
// map that to a PageTransition. |