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

Unified Diff: ios/web/web_state/ui/crw_web_controller+protected.h

Issue 1610143002: Adds UMA for slow and fast back/forward WKWebController navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pre-review cleanup Created 4 years, 11 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/ui/crw_web_controller+protected.h
diff --git a/ios/web/web_state/ui/crw_web_controller+protected.h b/ios/web/web_state/ui/crw_web_controller+protected.h
index 7261210e436d49cf0a3f701ec3b3d88d29918167..c558a5f62a53b96ee4037d839aa1a6dd929361dd 100644
--- a/ios/web/web_state/ui/crw_web_controller+protected.h
+++ b/ios/web/web_state/ui/crw_web_controller+protected.h
@@ -221,6 +221,9 @@ struct NewWindowInfo {
// sense for UIWebView.
- (void)handleLoadError:(NSError*)error inMainFrame:(BOOL)inMainFrame;
+// YES if a fast navigation can be performed using WKBackForwardList.
+- (BOOL)canPerformFastNavigationForSessionEntry:(CRWSessionEntry*)sessionEntry;
+
#pragma mark - Internal methods for use by subclasses
// The web view's view of the current URL. During page transitions

Powered by Google App Engine
This is Rietveld 408576698