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

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

Issue 2971093002: [ios] Take snapshot for tab grid. (Closed)
Patch Set: Update unit test. 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_mediator.h
diff --git a/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.h b/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.h
index 37f120f01a64ec359aea554a8cd7354ef2882965..f761b679486de3a714dbd1af78c28105c4ce52e4 100644
--- a/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.h
+++ b/ios/clean/chrome/browser/ui/tab_collection/tab_collection_mediator.h
@@ -7,6 +7,7 @@
#import "ios/chrome/browser/web_state_list/web_state_list_observer_bridge.h"
+@class SnapshotCache;
@protocol TabCollectionConsumer;
class WebStateList;
@@ -21,6 +22,9 @@ class WebStateList;
// list.
@property(nonatomic, weak) id<TabCollectionConsumer> consumer;
+// Takes a snapshot of the active webState and updates the consumer.
+- (void)takeSnapshotWithCache:(SnapshotCache*)snapshotCache;
+
// Stops observing all objects.
- (void)disconnect;

Powered by Google App Engine
This is Rietveld 408576698