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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/history/tab_history_cell.h
diff --git a/ios/chrome/browser/ui/history/tab_history_cell.h b/ios/chrome/browser/ui/history/tab_history_cell.h
index 745a9d5d4230e0b66ed77924fc9b2671aedd9ca4..590e037f71f02848e8e8ad521931a9b491c3ceae 100644
--- a/ios/chrome/browser/ui/history/tab_history_cell.h
+++ b/ios/chrome/browser/ui/history/tab_history_cell.h
@@ -7,18 +7,20 @@
#import <UIKit/UIKit.h>
-@class CRWSessionEntry;
+namespace web {
+class NavigationItem;
+}
// Table cell used in TabHistoryViewController.
@interface TabHistoryCell : UICollectionViewCell
-@property(strong, nonatomic) CRWSessionEntry* entry;
-@property(weak, nonatomic, readonly) UILabel* titleLabel;
+@property(assign, nonatomic) const web::NavigationItem* item;
+@property(strong, nonatomic, readonly) UILabel* titleLabel;
@end
// Header for a section of TabHistoryCells.
@interface TabHistorySectionHeader : UICollectionReusableView
-@property(weak, nonatomic, readonly) UIImageView* iconView;
-@property(weak, nonatomic, readonly) UIView* lineView;
+@property(strong, nonatomic, readonly) UIImageView* iconView;
+@property(strong, nonatomic, readonly) UIView* lineView;
@end
// Footer for a section of TabHistoryCells.
« 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