| 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_CLEAN_CHROME_BROWSER_UI_TAB_COLLECTION_TAB_COLLECTION_TAB_CELL_H_ | 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TAB_COLLECTION_TAB_COLLECTION_TAB_CELL_H_ |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TAB_COLLECTION_TAB_COLLECTION_TAB_CELL_H_ | 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TAB_COLLECTION_TAB_COLLECTION_TAB_CELL_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | |
| 9 | |
| 10 #import "ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.h" | 8 #import "ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.h" |
| 11 | 9 |
| 10 @class SnapshotCache; |
| 12 @class TabCollectionItem; | 11 @class TabCollectionItem; |
| 13 | 12 |
| 14 // Cell represents a tab for use in the tab collection. It has a title, favicon, | 13 // Cell represents a tab for use in the tab collection. It has a title, favicon, |
| 15 // screenshot image, and close button. Cell selection is represented by a border | 14 // screenshot image, and close button. Cell selection is represented by a border |
| 16 // highlight in the tintColor. | 15 // highlight in the tintColor. |
| 17 // PLACEHOLDER: Create custom implemementation rather than subclassing. | 16 // PLACEHOLDER: Create custom implemementation rather than subclassing. |
| 18 @interface TabCollectionTabCell : TabSwitcherLocalSessionCell | 17 @interface TabCollectionTabCell : TabSwitcherLocalSessionCell |
| 19 @property(nonatomic, strong) TabCollectionItem* item; | 18 - (void)configureCell:(TabCollectionItem*)item |
| 19 snapshotCache:(SnapshotCache*)snapshotCache; |
| 20 @end | 20 @end |
| 21 | 21 |
| 22 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_COLLECTION_TAB_COLLECTION_TAB_CELL_H_ | 22 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_COLLECTION_TAB_COLLECTION_TAB_CELL_H_ |
| OLD | NEW |