blob: e060ef2d4cd7d54c4a10a0e691c89fc70bd812f4 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_SHOWCASE_CONTENT_SUGGESTIONS_SC_CONTENT_SUGGESTIONS_ITEM_H_
#define IOS_SHOWCASE_CONTENT_SUGGESTIONS_SC_CONTENT_SUGGESTIONS_ITEM_H_
#import <UIKit/UIKit.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;
// Content Suggestions item configuring a ContentSuggetionsCell.
@interface SCContentSuggestionsItem : CollectionViewItem<SuggestedContent>
@property(nonatomic, copy) NSString* title;
@property(nonatomic, strong) UIImage* image;
@property(nonatomic, assign) BOOL hasImage;
@property(nonatomic, copy) NSString* publisher;
@property(nonatomic, copy) NSString* publicationDate;
@property(nonatomic, assign) BOOL availableOffline;
@property(nonatomic, strong) FaviconAttributes* attributes;
@end
#endif // IOS_SHOWCASE_CONTENT_SUGGESTIONS_SC_CONTENT_SUGGESTIONS_ITEM_H_