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

Side by Side Diff: ios/showcase/content_suggestions/sc_content_suggestions_item.h

Issue 2769063005: Add CSDataSource in showcase (Closed)
Patch Set: Address comments 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_SHOWCASE_CONTENT_SUGGESTIONS_SC_CONTENT_SUGGESTIONS_ITEMS_H_
6 #define IOS_SHOWCASE_CONTENT_SUGGESTIONS_SC_CONTENT_SUGGESTIONS_ITEMS_H_
7
8 #import <UIKit/UIKit.h>
9
10 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h"
11 #import "ios/chrome/browser/ui/content_suggestions/cells/suggested_content.h"
12
13 // Content Suggestions item configuring a ContentSuggetionsCell.
14 @interface SCContentSuggestionsItem : CollectionViewItem<SuggestedContent>
15
16 @property(nonatomic, copy) NSString* title;
17 @property(nonatomic, copy) NSString* subtitle;
18 @property(nonatomic, assign) BOOL hasImage;
19 @property(nonatomic, copy) NSString* publisher;
20 @property(nonatomic, strong) NSDate* publishDate;
21 @property(nonatomic, assign) BOOL availableOffline;
22
23 @end
24
25 #endif // IOS_SHOWCASE_CONTENT_SUGGESTIONS_SC_CONTENT_SUGGESTIONS_ITEMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698