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

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

Issue 2887433002: Move the ContentSuggestions items to a new target (Closed)
Patch Set: Created 3 years, 7 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_item.h
diff --git a/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_item.h b/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_item.h
index 72a12b1e0955f98a2048d546a833021b80935f20..29471f4dd5d5c279c5590218eb5f2c4680993fbf 100644
--- a/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_item.h
+++ b/ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_item.h
@@ -7,15 +7,12 @@
#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"
namespace base {
class Time;
}
-@class ContentSuggestionsItem;
@class FaviconAttributes;
-@class FaviconViewNew;
class GURL;
// Item for an article in the suggestions.
@@ -41,28 +38,4 @@ class GURL;
@end
-// Corresponding cell for an article in the suggestions.
-@interface ContentSuggestionsCell : MDCCollectionViewCell
-
-@property(nonatomic, readonly, strong) UILabel* titleLabel;
-// View for displaying the favicon.
-@property(nonatomic, readonly, strong) FaviconViewNew* faviconView;
-// Whether the image should be displayed.
-@property(nonatomic, assign) BOOL displayImage;
-
-// Sets an |image| to illustrate the article, replacing the "no image" icon.
-- (void)setContentImage:(UIImage*)image;
-
-// Sets the publisher |name| and |date| and add an icon to signal the offline
-// availability if |availableOffline| is YES.
-- (void)setAdditionalInformationWithPublisherName:(NSString*)publisherName
- date:(base::Time)publishDate
- offlineAvailability:(BOOL)availableOffline;
-
-// Setst the subtitle text. If |subtitle| is nil, the space taken by the
-// subtitle is removed.
-- (void)setSubtitleText:(NSString*)subtitle;
-
-@end
-
#endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_CONTENT_SUGGESTIONS_ITEM_H_

Powered by Google App Engine
This is Rietveld 408576698