OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef IOS_CHROME_BROWSER_UI_MAIN_MAIN_COORDINATOR_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_MAIN_MAIN_COORDINATOR_H_ |
6 #define IOS_CHROME_BROWSER_UI_MAIN_MAIN_COORDINATOR_H_ | 6 #define IOS_CHROME_BROWSER_UI_MAIN_MAIN_COORDINATOR_H_ |
7 | 7 |
8 #import "ios/chrome/browser/chrome_root_coordinator.h" | 8 #import "ios/chrome/browser/chrome_root_coordinator.h" |
9 | 9 |
10 #import <Foundation/Foundation.h> | 10 #import <Foundation/Foundation.h> |
11 | 11 |
12 @class MainViewController; | 12 @class MainViewController; |
13 | 13 |
14 @interface MainCoordinator : ChromeRootCoordinator | 14 @interface MainCoordinator : ChromeRootCoordinator |
15 | 15 |
16 // The view controller this coordinator creates and manages. | 16 // The view controller this coordinator creates and manages. |
17 // (This is only public while the view controller architecture is being | 17 // (This is only public while the view controller architecture is being |
18 // refactored). | 18 // refactored). |
19 @property(nonatomic, readonly, nullable) MainViewController* mainViewController; | 19 @property(nonatomic, weak, readonly, nullable) |
| 20 MainViewController* mainViewController; |
20 | 21 |
21 @end | 22 @end |
22 | 23 |
23 #endif // IOS_CHROME_BROWSER_UI_MAIN_MAIN_COORDINATOR_H_ | 24 #endif // IOS_CHROME_BROWSER_UI_MAIN_MAIN_COORDINATOR_H_ |
OLD | NEW |