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

Unified Diff: ios/chrome/browser/ui/suggestions/suggestions_view_controller.mm

Issue 2640473002: Suggestions UI - favicon item (Closed)
Patch Set: Fix build Created 3 years, 11 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
Index: ios/chrome/browser/ui/suggestions/suggestions_view_controller.mm
diff --git a/ios/chrome/browser/ui/suggestions/suggestions_view_controller.mm b/ios/chrome/browser/ui/suggestions/suggestions_view_controller.mm
index 035bccf5048d13d01f439696d51f7088a5e2eeb3..adc27da6018f3bde5073f54929be693e6c41ae9f 100644
--- a/ios/chrome/browser/ui/suggestions/suggestions_view_controller.mm
+++ b/ios/chrome/browser/ui/suggestions/suggestions_view_controller.mm
@@ -74,6 +74,12 @@ const NSTimeInterval kAnimationDuration = 0.35;
[self expand:YES cell:cell];
}
+#pragma mark - SuggestionsFaviconCellDelegate
+
+- (void)openFaviconAtIndexPath:(NSIndexPath*)innerIndexPath {
+ [self.suggestionCommandHandler openFaviconAtIndex:innerIndexPath.item];
+}
+
#pragma mark - SuggestionsItemActions
- (void)addNewItem:(id)sender {
« no previous file with comments | « ios/chrome/browser/ui/suggestions/suggestions_view_controller.h ('k') | ios/showcase/common/protocol_alerter.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698