| 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 // ====== New Architecture ===== | 5 // ====== New Architecture ===== |
| 6 // = This code is only used in the new iOS Chrome architecture. = | 6 // = This code is only used in the new iOS Chrome architecture. = |
| 7 // ============================================================================ | 7 // ============================================================================ |
| 8 | 8 |
| 9 #ifndef IOS_CLEAN_CHROME_BROWSER_BROWSER_COORDINATOR_H_ | 9 #ifndef IOS_CLEAN_CHROME_BROWSER_BROWSER_COORDINATOR_H_ |
| 10 #define IOS_CLEAN_CHROME_BROWSER_BROWSER_COORDINATOR_H_ | 10 #define IOS_CLEAN_CHROME_BROWSER_BROWSER_COORDINATOR_H_ |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 @property(nonatomic, assign) ios::ChromeBrowserState* browserState; | 32 @property(nonatomic, assign) ios::ChromeBrowserState* browserState; |
| 33 | 33 |
| 34 // The basic lifecycle methods for coordinators are -start and -stop. These | 34 // The basic lifecycle methods for coordinators are -start and -stop. These |
| 35 // are blank template methods; child classes are expected to implement them and | 35 // are blank template methods; child classes are expected to implement them and |
| 36 // do not need to invoke the superclass methods. | 36 // do not need to invoke the superclass methods. |
| 37 // Starts the user interaction managed by the receiver. Typical implementations | 37 // Starts the user interaction managed by the receiver. Typical implementations |
| 38 // will create a view controller and then use |baseViewController| to present | 38 // will create a view controller and then use |baseViewController| to present |
| 39 // it. | 39 // it. |
| 40 - (void)start; | 40 - (void)start; |
| 41 | 41 |
| 42 // Stops the user interaction managed by the receiver. Called on dealloc. | 42 // Stops the user interaction managed by the receiver. |
| 43 - (void)stop; | 43 - (void)stop; |
| 44 | 44 |
| 45 @end | 45 @end |
| 46 | 46 |
| 47 #endif // IOS_CLEAN_CHROME_BROWSER_BROWSER_COORDINATOR_H_ | 47 #endif // IOS_CLEAN_CHROME_BROWSER_BROWSER_COORDINATOR_H_ |
| OLD | NEW |