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

Unified Diff: ios/chrome/browser/ui/browser_view_controller.mm

Issue 2693013005: Updated tab history classes to use NavigationItemLists. (Closed)
Patch Set: update DEPS, include url_formatter in BUILD.gn Created 3 years, 10 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/chrome/browser/ui/history/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/browser_view_controller.mm
diff --git a/ios/chrome/browser/ui/browser_view_controller.mm b/ios/chrome/browser/ui/browser_view_controller.mm
index 802ad989c76a4fcb325200eb2dfcaae0406970be..88368c6e54d28706be87be7c63a16d3c19d3c14b 100644
--- a/ios/chrome/browser/ui/browser_view_controller.mm
+++ b/ios/chrome/browser/ui/browser_view_controller.mm
@@ -3355,7 +3355,7 @@ - (void)showTabHistoryPopupForBackwardHistory {
DCHECK([tab navigationManager]);
CRWSessionController* sc = [tab navigationManager]->GetSessionController();
[_toolbarController showTabHistoryPopupInView:[self view]
- withSessionEntries:[sc backwardEntries]
+ withItems:[sc backwardItems]
forBackHistory:YES];
}
@@ -3371,14 +3371,14 @@ - (void)showTabHistoryPopupForForwardHistory {
DCHECK([tab navigationManager]);
CRWSessionController* sc = [tab navigationManager]->GetSessionController();
[_toolbarController showTabHistoryPopupInView:[self view]
- withSessionEntries:[sc forwardEntries]
+ withItems:[sc forwardItems]
forBackHistory:NO];
}
- (void)navigateToSelectedEntry:(id)sender {
DCHECK([sender isKindOfClass:[TabHistoryCell class]]);
TabHistoryCell* selectedCell = (TabHistoryCell*)sender;
- [[_model currentTab] goToItem:selectedCell.entry.navigationItem];
+ [[_model currentTab] goToItem:selectedCell.item];
[_toolbarController dismissTabHistoryPopup];
}
« no previous file with comments | « no previous file | ios/chrome/browser/ui/history/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698