| 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_CHROME_COORDINATOR_H_ | 5 #ifndef IOS_CHROME_BROWSER_CHROME_COORDINATOR_H_ |
| 6 #define IOS_CHROME_BROWSER_CHROME_COORDINATOR_H_ | 6 #define IOS_CHROME_BROWSER_CHROME_COORDINATOR_H_ |
| 7 | 7 |
| 8 #include <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 | 9 |
| 10 @class ChromeCoordinator; | 10 @class ChromeCoordinator; |
| 11 typedef NSMutableArray<ChromeCoordinator*> MutableCoordinatorArray; | 11 typedef NSMutableArray<ChromeCoordinator*> MutableCoordinatorArray; |
| 12 | 12 |
| 13 // A coordinator object that manages view controllers and other coordinators. | 13 // A coordinator object that manages view controllers and other coordinators. |
| 14 // Members of this class should clean up their own UI when they are deallocated. | 14 // Members of this class should clean up their own UI when they are deallocated. |
| 15 @interface ChromeCoordinator : NSObject | 15 @interface ChromeCoordinator : NSObject |
| 16 | 16 |
| 17 // Creates a coordinator that will use |viewController| | 17 // Creates a coordinator that will use |viewController| |
| 18 - (nullable instancetype)initWithBaseViewController: | 18 - (nullable instancetype)initWithBaseViewController: |
| (...skipping 21 matching lines...) Expand all Loading... |
| 40 // methods. | 40 // methods. |
| 41 // Starts the user interaction managed by the receiver. | 41 // Starts the user interaction managed by the receiver. |
| 42 - (void)start; | 42 - (void)start; |
| 43 | 43 |
| 44 // Stops the user interaction managed by the receiver. Called on dealloc. | 44 // Stops the user interaction managed by the receiver. Called on dealloc. |
| 45 - (void)stop; | 45 - (void)stop; |
| 46 | 46 |
| 47 @end | 47 @end |
| 48 | 48 |
| 49 #endif // IOS_CHROME_BROWSER_CHROME_COORDINATOR_H_ | 49 #endif // IOS_CHROME_BROWSER_CHROME_COORDINATOR_H_ |
| OLD | NEW |