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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 delegate:(id<SettingsNavigationControllerDelegate>)delegate; | 72 delegate:(id<SettingsNavigationControllerDelegate>)delegate; |
73 | 73 |
74 // Creates a new SyncEncryptionPassphraseCollectionViewController and the chrome | 74 // Creates a new SyncEncryptionPassphraseCollectionViewController and the chrome |
75 // around it. |browserState| is used to personalize some settings aspects and | 75 // around it. |browserState| is used to personalize some settings aspects and |
76 // should not be nil. |delegate| may be nil. | 76 // should not be nil. |delegate| may be nil. |
77 + (SettingsNavigationController*) | 77 + (SettingsNavigationController*) |
78 newSyncEncryptionPassphraseController:(ios::ChromeBrowserState*)browserState | 78 newSyncEncryptionPassphraseController:(ios::ChromeBrowserState*)browserState |
79 delegate:(id<SettingsNavigationControllerDelegate>) | 79 delegate:(id<SettingsNavigationControllerDelegate>) |
80 delegate; | 80 delegate; |
81 | 81 |
82 // Creates a new NativeAppsCollectionViewController and the chrome around it. | |
83 // |browserState| is used to personalize some settings aspects and should not be | |
84 // nil. |delegate| may be nil. | |
85 + (SettingsNavigationController*) | |
86 newNativeAppsController:(ios::ChromeBrowserState*)browserState | |
87 delegate:(id<SettingsNavigationControllerDelegate>)delegate; | |
88 | |
89 // Creates a new ClearBrowsingDataCollectionViewController and the chrome around | 82 // Creates a new ClearBrowsingDataCollectionViewController and the chrome around |
90 // it. | 83 // it. |
91 // |browserState| is used to personalize some settings aspects and should not be | 84 // |browserState| is used to personalize some settings aspects and should not be |
92 // nil. |delegate| may be nil. | 85 // nil. |delegate| may be nil. |
93 + (SettingsNavigationController*) | 86 + (SettingsNavigationController*) |
94 newClearBrowsingDataController:(ios::ChromeBrowserState*)browserState | 87 newClearBrowsingDataController:(ios::ChromeBrowserState*)browserState |
95 delegate: | 88 delegate: |
96 (id<SettingsNavigationControllerDelegate>)delegate; | 89 (id<SettingsNavigationControllerDelegate>)delegate; |
97 | 90 |
98 + (SettingsNavigationController*) | 91 + (SettingsNavigationController*) |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 // Initializes the UINavigationController with |rootViewController|. | 152 // Initializes the UINavigationController with |rootViewController|. |
160 // User of this class should not call the normal |initWithRootViewController|. | 153 // User of this class should not call the normal |initWithRootViewController|. |
161 - (instancetype) | 154 - (instancetype) |
162 initWithRootViewController:(UIViewController*)rootViewController | 155 initWithRootViewController:(UIViewController*)rootViewController |
163 browserState:(ios::ChromeBrowserState*)browserState | 156 browserState:(ios::ChromeBrowserState*)browserState |
164 delegate:(id<SettingsNavigationControllerDelegate>)delegate; | 157 delegate:(id<SettingsNavigationControllerDelegate>)delegate; |
165 | 158 |
166 @end | 159 @end |
167 | 160 |
168 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_NAVIGATION_CONTROLLER_H_ | 161 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_NAVIGATION_CONTROLLER_H_ |
OLD | NEW |