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

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

Issue 2741343005: ContentSuggestions collection adds items with animation (Closed)
Patch Set: Change method name 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 ed6415fcc82fe8cc8dbccc706dab7a15574f7115..e13313cb8ee535982973332c8666ddfd9a00256d 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
@@ -11,6 +11,7 @@
#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_expandable_item.h"
#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_favicon_item.h"
+@class ContentSuggestion;
@protocol ContentSuggestionsCommands;
@protocol ContentSuggestionsDataSource;
@protocol ContentSuggestionIdentification;
@@ -39,6 +40,8 @@
- (void)dismissEntryAtIndexPath:(NSIndexPath*)indexPath;
// Removes the |section|.
- (void)dismissSection:(NSInteger)section;
+// Add the |suggestions| to the collection and its model.
lpromero 2017/03/14 16:23:01 Adds
gambard 2017/03/15 10:03:41 Done.
+- (void)addSuggestions:(NSArray<ContentSuggestion*>*)suggestions;
@end

Powered by Google App Engine
This is Rietveld 408576698