| Index: ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h
|
| diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h b/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h
|
| index 29615fda56c5ab1a48b1462204edd6f5ada6be31..dfa156e1074824b50f0a4c2ed1653f114a278019 100644
|
| --- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h
|
| +++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_collection_updater.h
|
| @@ -7,20 +7,12 @@
|
|
|
| #import <UIKit/UIKit.h>
|
|
|
| -#import "ios/chrome/browser/ui/collection_view/collection_view_model.h"
|
| +#import "ios/chrome/browser/ui/content_suggestions/content_suggestion.h"
|
|
|
| +@class CollectionViewItem;
|
| @protocol ContentSuggestionsDataSource;
|
| @class ContentSuggestionsViewController;
|
|
|
| -// Enum defining the ItemType of this ContentSuggestionsCollectionUpdater.
|
| -typedef NS_ENUM(NSInteger, ItemType) {
|
| - ItemTypeText = kItemTypeEnumZero,
|
| - ItemTypeArticle,
|
| - ItemTypeExpand,
|
| - ItemTypeStack,
|
| - ItemTypeFavicon,
|
| -};
|
| -
|
| // Updater for a CollectionViewController populating it with some items and
|
| // handling the items addition.
|
| @interface ContentSuggestionsCollectionUpdater : NSObject
|
| @@ -46,6 +38,9 @@ typedef NS_ENUM(NSInteger, ItemType) {
|
| // Returns whether the section should use the default, non-card style.
|
| - (BOOL)shouldUseCustomStyleForSection:(NSInteger)section;
|
|
|
| +// Returns the ContentSuggestionType associated with this item.
|
| +- (ContentSuggestionType)contentSuggestionTypeForItem:(CollectionViewItem*)item;
|
| +
|
| @end
|
|
|
| #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_COLLECTION_UPDATER_H_
|
|
|