| 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_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COORDINATOR_H_ | 9 #ifndef IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COORDINATOR_H_ |
| 10 #define IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COORDINATOR_H_ | 10 #define IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COORDINATOR_H_ |
| 11 | 11 |
| 12 #import <UIKit/UIKit.h> | 12 #import <UIKit/UIKit.h> |
| 13 | 13 |
| 14 #import "ios/chrome/browser/browser_coordinator.h" | 14 #import "ios/clean/chrome/browser/browser_coordinator.h" |
| 15 | 15 |
| 16 @protocol SettingsCommands; | 16 @protocol SettingsCommands; |
| 17 | 17 |
| 18 // A coordinator for the Settings UI, which is usually presented modally | 18 // A coordinator for the Settings UI, which is usually presented modally |
| 19 // on top of whatever other UI is currently active. | 19 // on top of whatever other UI is currently active. |
| 20 @interface SettingsCoordinator : BrowserCoordinator | 20 @interface SettingsCoordinator : BrowserCoordinator |
| 21 // Action delegate for this coordinator. | 21 // Action delegate for this coordinator. |
| 22 @property(nonatomic, weak) id<SettingsCommands> settingsCommandHandler; | 22 @property(nonatomic, weak) id<SettingsCommands> settingsCommandHandler; |
| 23 @end | 23 @end |
| 24 | 24 |
| 25 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COORDINATOR_H_ | 25 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COORDINATOR_H_ |
| OLD | NEW |