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

Unified Diff: ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited_item.h

Issue 2890193003: Open Most Visited items (Closed)
Patch Set: Fix showcase Created 3 years, 6 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/cells/content_suggestions_most_visited_item.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_item.h
index 68cd09e673fbde8d123e6d813cb62531a7429962..97b27d9272d67e7b919796ec80e987a58011f190 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_item.h
@@ -5,23 +5,26 @@
#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_
+#include "components/ntp_tiles/tile_source.h"
+#include "components/ntp_tiles/tile_visual_type.h"
#import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h"
#import "ios/chrome/browser/ui/content_suggestions/cells/suggested_content.h"
-@class FaviconAttributes;
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;
+// URL of the Most Visited.
@property(nonatomic, assign) GURL URL;
+// Source of the Most Visited tile.
+@property(nonatomic, assign) ntp_tiles::TileSource source;
+
+- (ntp_tiles::TileVisualType)tileType;
@end

Powered by Google App Engine
This is Rietveld 408576698