| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CONTENT_SETTINGS_COLLECTION_VIEW_CONTROLL
ER_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_SETTINGS_CONTENT_SETTINGS_COLLECTION_VIEW_CONTROLL
ER_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_SETTINGS_CONTENT_SETTINGS_COLLECTION_VIEW_CONTROLL
ER_H_ | 6 #define IOS_CHROME_BROWSER_UI_SETTINGS_CONTENT_SETTINGS_COLLECTION_VIEW_CONTROLL
ER_H_ |
| 7 | 7 |
| 8 #import "ios/chrome/browser/ui/settings/settings_root_collection_view_controller
.h" | 8 #import "ios/chrome/browser/ui/settings/settings_root_collection_view_controller
.h" |
| 9 #import "ios/chrome/browser/web/mailto_url_rewriter.h" |
| 9 | 10 |
| 10 namespace ios { | 11 namespace ios { |
| 11 class ChromeBrowserState; | 12 class ChromeBrowserState; |
| 12 } // namespace ios | 13 } // namespace ios |
| 13 | 14 |
| 14 // Controller for the UI that allows the user to change content settings like | 15 // Controller for the UI that allows the user to change content settings like |
| 15 // blocking popups. | 16 // blocking popups. |
| 16 @interface ContentSettingsCollectionViewController | 17 @interface ContentSettingsCollectionViewController |
| 17 : SettingsRootCollectionViewController | 18 : SettingsRootCollectionViewController<MailtoURLRewriterObserver> |
| 18 | 19 |
| 19 // The designated initializer. |browserState| must not be nil. | 20 // The designated initializer. |browserState| must not be nil. |
| 20 - (instancetype)initWithBrowserState:(ios::ChromeBrowserState*)browserState | 21 - (instancetype)initWithBrowserState:(ios::ChromeBrowserState*)browserState |
| 21 NS_DESIGNATED_INITIALIZER; | 22 NS_DESIGNATED_INITIALIZER; |
| 22 - (instancetype)init NS_UNAVAILABLE; | 23 - (instancetype)init NS_UNAVAILABLE; |
| 23 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style | 24 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style |
| 24 NS_UNAVAILABLE; | 25 NS_UNAVAILABLE; |
| 25 @end | 26 @end |
| 26 | 27 |
| 27 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_CONTENT_SETTINGS_COLLECTION_VIEW_CONTR
OLLER_H_ | 28 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_CONTENT_SETTINGS_COLLECTION_VIEW_CONTR
OLLER_H_ |
| OLD | NEW |