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

Unified Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.h

Issue 2739873003: Remove suggestions notified as invalid (Closed)
Patch Set: Fix the logic Created 3 years, 9 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/content_suggestions/content_suggestions_view_controller.h
diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.h b/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.h
index 997f569c12ba3033af68484d635a488aee195260..ca67cef0ee0e6882f5c0f455380e5d466f4986bb 100644
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.h
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.h
@@ -13,6 +13,7 @@
@protocol ContentSuggestionsCommands;
@protocol ContentSuggestionsDataSource;
+@protocol ContentSuggestionIdentification;
// CollectionViewController to display the suggestions items.
@interface ContentSuggestionsViewController
@@ -29,6 +30,10 @@
// Handler for the commands sent by the ContentSuggestionsViewController.
@property(nonatomic, weak) id<ContentSuggestionsCommands>
suggestionCommandHandler;
+// Override from superclass.
lpromero 2017/03/09 10:00:44 Add that it's to have a more specific type.
gambard 2017/03/09 12:21:23 Done.
+@property(nonatomic, readonly)
+ CollectionViewModel<CollectionViewItem<ContentSuggestionIdentification>*>*
+ collectionViewModel;
// Removes the entry at |indexPath|, from the collection and its model.
- (void)dismissEntryAtIndexPath:(NSIndexPath*)indexPath;

Powered by Google App Engine
This is Rietveld 408576698