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

Unified Diff: ios/clean/chrome/browser/ui/tab_collection/tab_collection_view_controller.h

Issue 2971113002: [ios] Plumb SnapshotCache into tab grid. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: ios/clean/chrome/browser/ui/tab_collection/tab_collection_view_controller.h
diff --git a/ios/clean/chrome/browser/ui/tab_collection/tab_collection_view_controller.h b/ios/clean/chrome/browser/ui/tab_collection/tab_collection_view_controller.h
index 90ab363de014d2ea417542ce435c08f3a9ae165d..4fb1fb863b58d72f91d0616483d05b3c82288217 100644
--- a/ios/clean/chrome/browser/ui/tab_collection/tab_collection_view_controller.h
+++ b/ios/clean/chrome/browser/ui/tab_collection/tab_collection_view_controller.h
@@ -11,6 +11,8 @@
extern const CGSize kTabCollectionTabCellSize;
+@class SnapshotCache;
+
// Controller for a scrolling view displaying square cells that represent
// the user's open tabs.
@interface TabCollectionViewController
@@ -20,6 +22,8 @@ extern const CGSize kTabCollectionTabCellSize;
// Model for collection view.
@property(nonatomic, strong, readonly)
NSMutableArray<TabCollectionItem*>* items;
+// Cache used to retrieve snapshot images for tab cells.
+@property(nonatomic, strong) SnapshotCache* snapshotCache;
marq (ping after 24h) 2017/07/06 12:44:49 Does the view controller need a strong reference t
edchin 2017/07/07 03:18:11 Done.
@end
#endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_COLLECTION_TAB_COLLECTION_VIEW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698