| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SETTINGS_SETTINGS_NAVIGATION_CONTROLLER_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_NAVIGATION_CONTROLLER_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_NAVIGATION_CONTROLLER_H_ | 6 #define IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_NAVIGATION_CONTROLLER_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 | 9 |
| 10 @class OpenUrlCommand; | 10 @class OpenUrlCommand; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 delegate: | 102 delegate: |
| 103 (id<SettingsNavigationControllerDelegate>)delegate; | 103 (id<SettingsNavigationControllerDelegate>)delegate; |
| 104 | 104 |
| 105 // Creates a new SavePasswordsCollectionViewController and the chrome around it. | 105 // Creates a new SavePasswordsCollectionViewController and the chrome around it. |
| 106 // |browserState| is used to personalize some settings aspects and should not be | 106 // |browserState| is used to personalize some settings aspects and should not be |
| 107 // nil. |delegate| may be nil. | 107 // nil. |delegate| may be nil. |
| 108 + (SettingsNavigationController*) | 108 + (SettingsNavigationController*) |
| 109 newSavePasswordsController:(ios::ChromeBrowserState*)browserState | 109 newSavePasswordsController:(ios::ChromeBrowserState*)browserState |
| 110 delegate:(id<SettingsNavigationControllerDelegate>)delegate; | 110 delegate:(id<SettingsNavigationControllerDelegate>)delegate; |
| 111 | 111 |
| 112 // Creates and displays a new PhysicalWebCollectionViewController and the chrome | |
| 113 // around it. |browserState| is used to personalize some settings aspects and | |
| 114 // should not be null. |delegate| may be nil. | |
| 115 + (SettingsNavigationController*) | |
| 116 newPhysicalWebController:(ios::ChromeBrowserState*)browserState | |
| 117 delegate:(id<SettingsNavigationControllerDelegate>)delegate; | |
| 118 | |
| 119 // Creates and displays a new UserFeedbackViewController. |browserState| is used | 112 // Creates and displays a new UserFeedbackViewController. |browserState| is used |
| 120 // to personalize some settings aspects and should not be nil. |dataSource| is | 113 // to personalize some settings aspects and should not be nil. |dataSource| is |
| 121 // used to populate the UserFeedbackViewController. |delegate| may be nil. | 114 // used to populate the UserFeedbackViewController. |delegate| may be nil. |
| 122 + (SettingsNavigationController*) | 115 + (SettingsNavigationController*) |
| 123 newUserFeedbackController:(ios::ChromeBrowserState*)browserState | 116 newUserFeedbackController:(ios::ChromeBrowserState*)browserState |
| 124 delegate:(id<SettingsNavigationControllerDelegate>)delegate | 117 delegate:(id<SettingsNavigationControllerDelegate>)delegate |
| 125 feedbackDataSource:(id<UserFeedbackDataSource>)dataSource; | 118 feedbackDataSource:(id<UserFeedbackDataSource>)dataSource; |
| 126 | 119 |
| 127 // Creates and displays a new ImportDataCollectionViewController. |browserState| | 120 // Creates and displays a new ImportDataCollectionViewController. |browserState| |
| 128 // should not be nil. | 121 // should not be nil. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 // Initializes the UINavigationController with |rootViewController|. | 154 // Initializes the UINavigationController with |rootViewController|. |
| 162 // User of this class should not call the normal |initWithRootViewController|. | 155 // User of this class should not call the normal |initWithRootViewController|. |
| 163 - (instancetype) | 156 - (instancetype) |
| 164 initWithRootViewController:(UIViewController*)rootViewController | 157 initWithRootViewController:(UIViewController*)rootViewController |
| 165 browserState:(ios::ChromeBrowserState*)browserState | 158 browserState:(ios::ChromeBrowserState*)browserState |
| 166 delegate:(id<SettingsNavigationControllerDelegate>)delegate; | 159 delegate:(id<SettingsNavigationControllerDelegate>)delegate; |
| 167 | 160 |
| 168 @end | 161 @end |
| 169 | 162 |
| 170 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_NAVIGATION_CONTROLLER_H_ | 163 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_NAVIGATION_CONTROLLER_H_ |
| OLD | NEW |