| OLD | NEW |
| (Empty) |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TAB_STRIP_TAB_STRIP_CONTAINER_COORDINATOR_H_ | |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TAB_STRIP_TAB_STRIP_CONTAINER_COORDINATOR_H_ | |
| 7 | |
| 8 #import <UIKit/UIKit.h> | |
| 9 #import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h" | |
| 10 | |
| 11 namespace web { | |
| 12 class WebState; | |
| 13 } | |
| 14 | |
| 15 // Coordinator that runs a tab strip container: A composed UI consisting of a | |
| 16 // tab strip and a tab. | |
| 17 @interface TabStripContainerCoordinator : BrowserCoordinator | |
| 18 | |
| 19 // The WebState representing the web page that will be displayed in this tab. | |
| 20 // Calling code should assign this before starting this coordinator. | |
| 21 @property(nonatomic, assign) web::WebState* webState; | |
| 22 | |
| 23 // An opaque key provided by this coordinator's parent which can be passed in | |
| 24 // to a transition animation to synchronize the presentation with the presenting | |
| 25 // view controller, if any. | |
| 26 @property(nonatomic, copy) NSObject* presentationKey; | |
| 27 | |
| 28 @end | |
| 29 | |
| 30 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TAB_STRIP_TAB_STRIP_CONTAINER_COORDINATOR
_H_ | |
| OLD | NEW |