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

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

Issue 2518783002: [ios] Removed -[CRWSessionController goDelta:]. (Closed)
Patch Set: 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 | « ios/web/navigation/crw_session_controller.h ('k') | ios/web/navigation/navigation_manager_impl.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.mm
diff --git a/ios/web/navigation/crw_session_controller.mm b/ios/web/navigation/crw_session_controller.mm
index c16fe5a26cff1e853fa2751f99b1dd3d5e8b4d84..afd334620389f81c412ca7840f4947226eb0baa0 100644
--- a/ios/web/navigation/crw_session_controller.mm
+++ b/ios/web/navigation/crw_session_controller.mm
@@ -599,11 +599,6 @@ NSString* const kWindowNameKey = @"windowName";
DCHECK(_pendingEntryIndex == -1 || _pendingEntry);
}
-- (BOOL)canGoDelta:(int)delta {
- NSInteger index = [self indexOfEntryForDelta:delta];
- return 0 <= index && static_cast<NSUInteger>(index) < _entries.count;
-}
-
- (void)goToEntryAtIndex:(NSInteger)index {
if (index < 0 || static_cast<NSUInteger>(index) >= _entries.count)
return;
« no previous file with comments | « ios/web/navigation/crw_session_controller.h ('k') | ios/web/navigation/navigation_manager_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698