OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_TAB_HISTORY_CELL_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_HISTORY_TAB_HISTORY_CELL_H_ |
6 #define IOS_CHROME_BROWSER_UI_HISTORY_TAB_HISTORY_CELL_H_ | 6 #define IOS_CHROME_BROWSER_UI_HISTORY_TAB_HISTORY_CELL_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 | 9 |
10 @class CRWSessionEntry; | 10 @class CRWSessionEntry; |
11 | 11 |
12 // Table cell used in TabHistoryViewController. | 12 // Table cell used in TabHistoryViewController. |
13 @interface TabHistoryCell : UICollectionViewCell | 13 @interface TabHistoryCell : UICollectionViewCell |
14 @property(nonatomic, retain) CRWSessionEntry* entry; | 14 @property(strong, nonatomic) CRWSessionEntry* entry; |
15 @property(nonatomic, readonly) UILabel* titleLabel; | 15 @property(weak, nonatomic, readonly) UILabel* titleLabel; |
16 @end | 16 @end |
17 | 17 |
18 // Header for a section of TabHistoryCells. | 18 // Header for a section of TabHistoryCells. |
19 @interface TabHistorySectionHeader : UICollectionReusableView | 19 @interface TabHistorySectionHeader : UICollectionReusableView |
20 @property(nonatomic, readonly) UIImageView* iconView; | 20 @property(weak, nonatomic, readonly) UIImageView* iconView; |
21 @property(nonatomic, readonly) UIView* lineView; | 21 @property(weak, nonatomic, readonly) UIView* lineView; |
22 @end | 22 @end |
23 | 23 |
24 // Footer for a section of TabHistoryCells. | 24 // Footer for a section of TabHistoryCells. |
25 @interface TabHistorySectionFooter : UICollectionReusableView | 25 @interface TabHistorySectionFooter : UICollectionReusableView |
26 @end | 26 @end |
27 | 27 |
28 #endif // IOS_CHROME_BROWSER_UI_HISTORY_TAB_HISTORY_CELL_H_ | 28 #endif // IOS_CHROME_BROWSER_UI_HISTORY_TAB_HISTORY_CELL_H_ |
OLD | NEW |