| Index: ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_cell.h
|
| diff --git a/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h b/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_cell.h
|
| similarity index 58%
|
| copy from ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h
|
| copy to ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_cell.h
|
| index 5bf00530477c80023ca4b1490866646e1974166e..c3683211ccf43f9870567f94e0b8a51399b9f398 100644
|
| --- a/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h
|
| +++ b/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_cell.h
|
| @@ -2,30 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_CONTENT_SUGGESTIONS_MOST_VISITED_ITEM_H_
|
| -#define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_CONTENT_SUGGESTIONS_MOST_VISITED_ITEM_H_
|
| +#ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_CONTENT_SUGGESTIONS_MOST_VISITED_CELL_H_
|
| +#define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_CONTENT_SUGGESTIONS_MOST_VISITED_CELL_H_
|
|
|
| -#import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h"
|
| -#import "ios/chrome/browser/ui/content_suggestions/cells/suggested_content.h"
|
| #import "ios/third_party/material_components_ios/src/components/CollectionCells/src/MaterialCollectionCells.h"
|
|
|
| -@class FaviconAttributes;
|
| @class FaviconViewNew;
|
| -class GURL;
|
| -
|
| -// Item containing a Most Visited suggestion.
|
| -@interface ContentSuggestionsMostVisitedItem
|
| - : CollectionViewItem<SuggestedContent>
|
| -
|
| -// Attributes to configure the favicon view.
|
| -@property(nonatomic, strong, nonnull) FaviconAttributes* attributes;
|
| -
|
| -// Text for the title and the accessibility label of the cell.
|
| -@property(nonatomic, copy, nonnull) NSString* title;
|
| -
|
| -@property(nonatomic, assign) GURL URL;
|
| -
|
| -@end
|
|
|
| // Associated cell to display a Most Visited tile based on the suggestion.
|
| // It displays the favicon for this Most Visited suggestion and its title.
|
| @@ -42,4 +24,4 @@ class GURL;
|
|
|
| @end
|
|
|
| -#endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_CONTENT_SUGGESTIONS_MOST_VISITED_ITEM_H_
|
| +#endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_CONTENT_SUGGESTIONS_MOST_VISITED_CELL_H_
|
|
|