Chromium Code Reviews| 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..620ff71a9641beb78b77a174bb3140ab895f0ac9 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, retain) NSString* initialTabID; |
|
jif
2017/03/30 19:50:58
Can you copy the NSString instead of retaining it?
|
| @end |
| // A Tab switcher transition context holds the informations needed to compute |