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

Unified Diff: ios/web/navigation/crw_session_controller.h

Issue 2491773005: [ios] Removed canGoBack/canGoForward API from CRWSessionController. (Closed)
Patch Set: Fixed compilation. Created 4 years, 1 month 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/navigation/crw_session_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/navigation/crw_session_controller.h
diff --git a/ios/web/navigation/crw_session_controller.h b/ios/web/navigation/crw_session_controller.h
index 688d054fa19014bcc6f9f7d6fce2736305c55e81..be7857e4acb0bdd662e3061a5bae1d9fe013e743 100644
--- a/ios/web/navigation/crw_session_controller.h
+++ b/ios/web/navigation/crw_session_controller.h
@@ -117,13 +117,9 @@ struct SSLStatus;
- (void)copyStateFromAndPrune:(CRWSessionController*)otherSession
replaceState:(BOOL)replaceState;
-// Returns YES if there are entries to go back or forward to, given the
-// current entry.
-- (BOOL)canGoBack;
-- (BOOL)canGoForward;
+// Returns YES if there are entries to go with given delta.
- (BOOL)canGoDelta:(int)delta;
-// Calls goBack or goForward the appropriate number of times to adjust
-// currentNavigationIndex_ by delta.
+// Navigates to the entry with the given |delta|.
- (void)goDelta:(int)delta;
// Sets |currentNavigationIndex_| to the index of |entry| if |entries_| contains
// |entry|.
« no previous file with comments | « no previous file | ios/web/navigation/crw_session_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698