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

Unified Diff: ios/chrome/browser/ui/tab_switcher/tab_switcher_transition_context.h

Issue 2776083003: Use correct snapshot for the tab transition animation on iPad (Closed)
Patch Set: Formatting changes Created 3 years, 9 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/chrome/browser/ui/tab_switcher/tab_switcher_transition_context.h
diff --git a/ios/chrome/browser/ui/tab_switcher/tab_switcher_transition_context.h b/ios/chrome/browser/ui/tab_switcher/tab_switcher_transition_context.h
index 4f1baf1dbe4a85ff47ab886580d156d6e7c7d123..1d794c52d914d9bb95841475718b25d91a7ea5d7 100644
--- a/ios/chrome/browser/ui/tab_switcher/tab_switcher_transition_context.h
+++ b/ios/chrome/browser/ui/tab_switcher/tab_switcher_transition_context.h
@@ -27,9 +27,10 @@
// Holds a snapshot view of the browser view controller's toolbar.
@property(nonatomic, retain) UIView* toolbarSnapshotView;
-// Index of the selected tab in the browser view controller when the transition
-// context content was created.
-@property(nonatomic, assign) NSInteger initialSelectedTabIndex;
+// The tabID that was in the browser view controller when the transition context
+// content was created. Used to understand what might have changed in the model
+// when entering and leaving the tab switcher.
+@property(nonatomic, copy) NSString* initialTabID;
@end
// A Tab switcher transition context holds the informations needed to compute

Powered by Google App Engine
This is Rietveld 408576698