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

Side by Side Diff: ios/chrome/browser/ui/history/tab_history_cell.h

Issue 2693013005: Updated tab history classes to use NavigationItemLists. (Closed)
Patch Set: update DEPS, include url_formatter in BUILD.gn 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
« no previous file with comments | « ios/chrome/browser/ui/history/DEPS ('k') | ios/chrome/browser/ui/history/tab_history_cell.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/history/DEPS ('k') | ios/chrome/browser/ui/history/tab_history_cell.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698