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 namespace web { |
| 11 class NavigationItem; |
| 12 } |
11 | 13 |
12 // Table cell used in TabHistoryViewController. | 14 // Table cell used in TabHistoryViewController. |
13 @interface TabHistoryCell : UICollectionViewCell | 15 @interface TabHistoryCell : UICollectionViewCell |
14 @property(strong, nonatomic) CRWSessionEntry* entry; | 16 @property(assign, nonatomic) const web::NavigationItem* item; |
15 @property(weak, nonatomic, readonly) UILabel* titleLabel; | 17 @property(strong, nonatomic, readonly) UILabel* titleLabel; |
16 @end | 18 @end |
17 | 19 |
18 // Header for a section of TabHistoryCells. | 20 // Header for a section of TabHistoryCells. |
19 @interface TabHistorySectionHeader : UICollectionReusableView | 21 @interface TabHistorySectionHeader : UICollectionReusableView |
20 @property(weak, nonatomic, readonly) UIImageView* iconView; | 22 @property(strong, nonatomic, readonly) UIImageView* iconView; |
21 @property(weak, nonatomic, readonly) UIView* lineView; | 23 @property(strong, nonatomic, readonly) UIView* lineView; |
22 @end | 24 @end |
23 | 25 |
24 // Footer for a section of TabHistoryCells. | 26 // Footer for a section of TabHistoryCells. |
25 @interface TabHistorySectionFooter : UICollectionReusableView | 27 @interface TabHistorySectionFooter : UICollectionReusableView |
26 @end | 28 @end |
27 | 29 |
28 #endif // IOS_CHROME_BROWSER_UI_HISTORY_TAB_HISTORY_CELL_H_ | 30 #endif // IOS_CHROME_BROWSER_UI_HISTORY_TAB_HISTORY_CELL_H_ |
OLD | NEW |