OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_TAB_SWITCHER_TAB_SWITCHER_HEADER_CELL_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_SWITCHER_HEADER_CELL_H_ |
6 #define IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_SWITCHER_HEADER_CELL_H_ | 6 #define IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_SWITCHER_HEADER_CELL_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 | 9 |
10 @class SessionCellData; | 10 @class TabSwitcherSessionCellData; |
11 | 11 |
12 // This class is the cell class used in the table view of the tab switcher | 12 // This class is the cell class used in the table view of the tab switcher |
13 // header. | 13 // header. |
14 @interface TabSwitcherHeaderCell : UICollectionViewCell | 14 @interface TabSwitcherHeaderCell : UICollectionViewCell |
15 | 15 |
16 // Default table view cell identifier. | 16 // Default table view cell identifier. |
17 + (NSString*)identifier; | 17 + (NSString*)identifier; |
18 | 18 |
19 // Load the cell content using the given SessionCellData object. | 19 // Load the cell content using the given TabSwitcherSessionCellData object. |
20 - (void)loadSessionCellData:(SessionCellData*)sessionCellData; | 20 - (void)loadSessionCellData:(TabSwitcherSessionCellData*)sessionCellData; |
21 | 21 |
22 @end | 22 @end |
23 | 23 |
24 #endif // IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_SWITCHER_HEADER_CELL_H_ | 24 #endif // IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_SWITCHER_HEADER_CELL_H_ |
OLD | NEW |