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

Side by Side Diff: ios/clean/chrome/browser/ui/tab_grid/tab_grid_tab_cell.h

Issue 2716773003: Revert "Revert of [tab_grid] Hack-in border for active tab. (patchset #5 id:80001 of https://codere… (Closed)
Patch Set: Fix cell refresh logic. Created 3 years, 10 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 // ====== New Architecture ===== 5 // ====== New Architecture =====
6 // = This code is only used in the new iOS Chrome architecture. = 6 // = This code is only used in the new iOS Chrome architecture. =
7 // ============================================================================ 7 // ============================================================================
8 8
9 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_TAB_CELL_H_ 9 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_TAB_CELL_H_
10 #define IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_TAB_CELL_H_ 10 #define IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_TAB_CELL_H_
11 11
12 #import <UIKit/UIKit.h> 12 #import <UIKit/UIKit.h>
13 13
14 // Placeholder cell implementation for use in the tab grid. 14 #import "ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_cell.h"
15 // A square cell with rounded corners and a label placed in the center.
16 @interface TabGridTabCell : UICollectionViewCell
17 15
18 // The label in the center of the tab cell. 16 // Cell represents a tab for use in the tab grid. It has a title, favicon,
19 @property(nonatomic, readonly) UILabel* label; 17 // screenshot image, and close button. Cell selection is represented by a border
18 // highlight in the tintColor.
19 // PLACEHOLDER: Create custom implemementation rather than subclassing.
20 @interface TabGridTabCell : TabSwitcherLocalSessionCell
20 21
21 @end 22 @end
22 23
23 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_TAB_CELL_H_ 24 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_GRID_TAB_GRID_TAB_CELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698