| Index: ios/chrome/browser/ui/suggestions/suggestions_collection_updater.h
|
| diff --git a/ios/chrome/browser/ui/suggestions/suggestions_collection_updater.h b/ios/chrome/browser/ui/suggestions/suggestions_collection_updater.h
|
| index aadb227b88a1fcb893958b65c224934a5d83d027..760ca598b7b068ff923ef32ebb5ecd46c30429b8 100644
|
| --- a/ios/chrome/browser/ui/suggestions/suggestions_collection_updater.h
|
| +++ b/ios/chrome/browser/ui/suggestions/suggestions_collection_updater.h
|
| @@ -13,11 +13,10 @@
|
| // handling the items addition.
|
| @interface SuggestionsCollectionUpdater : NSObject
|
|
|
| -// |collectionViewController| this Updater will update.
|
| -- (instancetype)initWithCollectionViewController:
|
| - (SuggestionsViewController*)collectionViewController
|
| - NS_DESIGNATED_INITIALIZER;
|
| -- (instancetype)init NS_UNAVAILABLE;
|
| +// |collectionViewController| this Updater will update. Needs to be set before
|
| +// adding items.
|
| +@property(nonatomic, assign)
|
| + SuggestionsViewController* collectionViewController;
|
|
|
| // Adds a text item with a |title| and a |subtitle| in the section numbered
|
| // |section|. If |section| is greater than the current number of section, it
|
| @@ -26,6 +25,9 @@
|
| subtitle:(NSString*)subtitle
|
| toSection:(NSInteger)inputSection;
|
|
|
| +// Returns whether the section should use the default, non-card style.
|
| +- (BOOL)isCustomStyling:(NSInteger)section;
|
| +
|
| @end
|
|
|
| #endif // IOS_CHROME_BROWSER_UI_SUGGESTIONS_SUGGESTIONS_COLLECTION_UPDATER_H_
|
|
|