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

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

Issue 2770113006: Add no-image image in ContentSuggestions (Closed)
Patch Set: Fix tests 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/cells/content_suggestions_article_item.h
diff --git a/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_article_item.h b/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_article_item.h
index 12c591d96715ea59477de831f815039b70527399..994c7e6b66b8147d23a4e92fa5f0e713247092ac 100644
--- a/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_article_item.h
+++ b/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_article_item.h
@@ -52,8 +52,11 @@ class GURL;
@property(nonatomic, readonly, strong) UILabel* titleLabel;
@property(nonatomic, readonly, strong) UILabel* subtitleLabel;
-@property(nonatomic, readonly, strong) UIImageView* imageView;
+// Sets an |image| to illustrate the article, replacing the "no image" icon.
+- (void)setContentImage:(UIImage*)image;
+
+// Sets the publisher |name| and |date|.
- (void)setPublisherName:(NSString*)publisherName date:(base::Time)publishDate;
@end

Powered by Google App Engine
This is Rietveld 408576698