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

Side by Side Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.h

Issue 2762643003: Move ContentSuggestions identifiers to custom target (Closed)
Patch Set: Address comments 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_ARTICLE_IT EM_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_ARTICLE_IT EM_H_
6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_ARTICLE_IT EM_H_ 6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_ARTICLE_IT EM_H_
7 7
8 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h" 8 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h"
9 #import "ios/chrome/browser/ui/content_suggestions/content_suggestion_identifier .h" 9 #import "ios/chrome/browser/ui/content_suggestions/identifier/content_suggestion _identifier.h"
10 #import "ios/third_party/material_components_ios/src/components/CollectionCells/ src/MaterialCollectionCells.h" 10 #import "ios/third_party/material_components_ios/src/components/CollectionCells/ src/MaterialCollectionCells.h"
11 #include "url/gurl.h"
12 11
13 namespace base { 12 namespace base {
14 class Time; 13 class Time;
15 } 14 }
16 15
17 @class ContentSuggestionsArticleItem; 16 @class ContentSuggestionsArticleItem;
17 class GURL;
18 18
19 // Delegate for a ContentSuggestionsArticleItem. 19 // Delegate for a ContentSuggestionsArticleItem.
20 @protocol ContentSuggestionsArticleItemDelegate 20 @protocol ContentSuggestionsArticleItemDelegate
21 21
22 // Loads the image associated with this item. 22 // Loads the image associated with this item.
23 - (void)loadImageForArticleItem:(ContentSuggestionsArticleItem*)articleItem; 23 - (void)loadImageForArticleItem:(ContentSuggestionsArticleItem*)articleItem;
24 24
25 @end 25 @end
26 26
27 // Item for an article in the suggestions. 27 // Item for an article in the suggestions.
(...skipping 24 matching lines...) Expand all
52 52
53 @property(nonatomic, readonly, strong) UILabel* titleLabel; 53 @property(nonatomic, readonly, strong) UILabel* titleLabel;
54 @property(nonatomic, readonly, strong) UILabel* subtitleLabel; 54 @property(nonatomic, readonly, strong) UILabel* subtitleLabel;
55 @property(nonatomic, readonly, strong) UIImageView* imageView; 55 @property(nonatomic, readonly, strong) UIImageView* imageView;
56 56
57 - (void)setPublisherName:(NSString*)publisherName date:(base::Time)publishDate; 57 - (void)setPublisherName:(NSString*)publisherName date:(base::Time)publishDate;
58 58
59 @end 59 @end
60 60
61 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_ARTICLE _ITEM_H_ 61 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_ARTICLE _ITEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698