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

Unified Diff: ios/web/web_state/ui/crw_wk_navigation_states.h

Issue 2883423003: Added -[CRWWKNavigationStates pendingNavigations] API. (Closed)
Patch Set: Self review 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 | « no previous file | ios/web/web_state/ui/crw_wk_navigation_states.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/ui/crw_wk_navigation_states.h
diff --git a/ios/web/web_state/ui/crw_wk_navigation_states.h b/ios/web/web_state/ui/crw_wk_navigation_states.h
index 0356d930521a101fd21ff5513bb81a630ee3f2bf..6052538b74ec2ac31cdc26c76c036f02f0193c55 100644
--- a/ios/web/web_state/ui/crw_wk_navigation_states.h
+++ b/ios/web/web_state/ui/crw_wk_navigation_states.h
@@ -82,6 +82,10 @@ enum class WKNavigationState : int {
// is empty.
- (web::WKNavigationState)lastAddedNavigationState;
+// Returns navigations that are not yet committed, finished or failed.
+// This array may contain NSNull to represent null WKNavigation.
+- (NSSet*)pendingNavigations;
+
@end
#endif // IOS_WEB_WEB_STATE_UI_CRW_WK_NAVIGATION_STATES_H_
« no previous file with comments | « no previous file | ios/web/web_state/ui/crw_wk_navigation_states.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698