Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Side by Side Diff: ios/clean/chrome/browser/ui/tab_collection/tab_collection_tab_cell.h

Issue 2967083002: [ios] TabCollectionTabCell to use SnapshotCache. (Closed)
Patch Set: Clean up Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698