OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_HISTORY_HISTORY_ENTRY_ITEM_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_HISTORY_HISTORY_ENTRY_ITEM_H_ |
6 #define IOS_CHROME_BROWSER_UI_HISTORY_HISTORY_ENTRY_ITEM_H_ | 6 #define IOS_CHROME_BROWSER_UI_HISTORY_HISTORY_ENTRY_ITEM_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/third_party/material_components_ios/src/components/Collections/src/
MaterialCollections.h" | 9 #import "ios/third_party/material_components_ios/src/components/Collections/src/
MaterialCollections.h" |
10 | 10 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 // HistoryEntryItems are equal if they have the same URL and | 68 // HistoryEntryItems are equal if they have the same URL and |
69 // timestamp. | 69 // timestamp. |
70 - (BOOL)isEqualToHistoryEntryItem:(HistoryEntryItem*)item; | 70 - (BOOL)isEqualToHistoryEntryItem:(HistoryEntryItem*)item; |
71 | 71 |
72 @end | 72 @end |
73 | 73 |
74 // Cell that renders a history entry. | 74 // Cell that renders a history entry. |
75 @interface HistoryEntryCell : MDCCollectionViewCell | 75 @interface HistoryEntryCell : MDCCollectionViewCell |
76 | 76 |
77 // View for displaying the favicon for the history entry. | 77 // View for displaying the favicon for the history entry. |
78 @property(nonatomic, retain) UIView* faviconViewContainer; | 78 @property(nonatomic, strong) UIView* faviconViewContainer; |
79 // Text label for history entry title. | 79 // Text label for history entry title. |
80 @property(nonatomic, readonly, retain) UILabel* textLabel; | 80 @property(nonatomic, readonly, strong) UILabel* textLabel; |
81 // Text label for history entry URL. | 81 // Text label for history entry URL. |
82 @property(nonatomic, readonly, retain) UILabel* detailTextLabel; | 82 @property(nonatomic, readonly, strong) UILabel* detailTextLabel; |
83 // Text label for history entry timestamp. | 83 // Text label for history entry timestamp. |
84 @property(nonatomic, readonly, retain) UILabel* timeLabel; | 84 @property(nonatomic, readonly, strong) UILabel* timeLabel; |
85 | 85 |
86 @end | 86 @end |
87 | 87 |
88 #endif // IOS_CHROME_BROWSER_UI_HISTORY_HISTORY_ENTRY_ITEM_H_ | 88 #endif // IOS_CHROME_BROWSER_UI_HISTORY_HISTORY_ENTRY_ITEM_H_ |
OLD | NEW |