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

Unified Diff: ios/chrome/browser/ui/history/history_collection_view_controller.mm

Issue 2598763002: [ios] Open links in history status message in new tab and add test (Closed)
Patch Set: Created 4 years 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/chrome/browser/ui/history/history_collection_view_controller.mm
diff --git a/ios/chrome/browser/ui/history/history_collection_view_controller.mm b/ios/chrome/browser/ui/history/history_collection_view_controller.mm
index efa969a4cb44e7dac98da2ac026a22f43774815e..d486dbb976823d7df17e7c61668050fdb0f408cf 100644
--- a/ios/chrome/browser/ui/history/history_collection_view_controller.mm
+++ b/ios/chrome/browser/ui/history/history_collection_view_controller.mm
@@ -246,7 +246,7 @@ const CGFloat kSeparatorInset = 10;
- (void)historyEntriesStatusItem:(HistoryEntriesStatusItem*)item
didRequestOpenURL:(const GURL&)URL {
- [self openURL:URL];
+ [self openURLInNewTab:URL];
}
#pragma mark - HistoryEntryInserterDelegate

Powered by Google App Engine
This is Rietveld 408576698