OLD | NEW |
| (Empty) |
1 // Copyright 2016 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_CHROME_BROWSER_ROOT_COORDINATOR_H_ | |
6 #define IOS_CHROME_BROWSER_ROOT_COORDINATOR_H_ | |
7 | |
8 #import <UIKit/UIKit.h> | |
9 | |
10 #import "ios/chrome/browser/chrome_coordinator.h" | |
11 | |
12 // A coordinator specialization for the case where the coordinator is | |
13 // creating and managing the root view controller for a UIWindow. | |
14 | |
15 @interface RootCoordinator : ChromeCoordinator | |
16 | |
17 - (nullable instancetype)initWithWindow:(nullable UIWindow*)window | |
18 NS_DESIGNATED_INITIALIZER; | |
19 | |
20 - (nullable instancetype)initWithBaseViewController: | |
21 (nullable UIViewController*)viewController NS_UNAVAILABLE; | |
22 | |
23 @property(weak, nonatomic, readonly, nullable) UIWindow* window; | |
24 | |
25 @end | |
26 | |
27 #endif // IOS_CHROME_BROWSER_ROOT_COORDINATOR_H_ | |
OLD | NEW |