OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/prefs/pref_change_registrar.h" | 11 #include "base/prefs/pref_change_registrar.h" |
12 #include "base/scoped_observer.h" | 12 #include "base/scoped_observer.h" |
13 #include "chrome/browser/content_settings/content_settings_observer.h" | |
14 #include "chrome/browser/pepper_flash_settings_manager.h" | 13 #include "chrome/browser/pepper_flash_settings_manager.h" |
15 #include "chrome/browser/ui/webui/options/options_ui.h" | 14 #include "chrome/browser/ui/webui/options/options_ui.h" |
16 #include "chrome/browser/ui/webui/options/pepper_flash_content_settings_utils.h" | 15 #include "chrome/browser/ui/webui/options/pepper_flash_content_settings_utils.h" |
| 16 #include "components/content_settings/core/browser/content_settings_observer.h" |
17 #include "components/content_settings/core/common/content_settings.h" | 17 #include "components/content_settings/core/common/content_settings.h" |
18 #include "components/content_settings/core/common/content_settings_types.h" | 18 #include "components/content_settings/core/common/content_settings_types.h" |
19 #include "content/public/browser/host_zoom_map.h" | 19 #include "content/public/browser/host_zoom_map.h" |
20 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" |
21 #include "content/public/browser/notification_registrar.h" | 21 #include "content/public/browser/notification_registrar.h" |
22 | 22 |
23 class HostContentSettingsMap; | 23 class HostContentSettingsMap; |
24 class ProtocolHandlerRegistry; | 24 class ProtocolHandlerRegistry; |
25 | 25 |
26 namespace options { | 26 namespace options { |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 MediaSettingsInfo media_settings_; | 232 MediaSettingsInfo media_settings_; |
233 scoped_ptr<content::HostZoomMap::Subscription> host_zoom_map_subscription_; | 233 scoped_ptr<content::HostZoomMap::Subscription> host_zoom_map_subscription_; |
234 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_; | 234 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_; |
235 | 235 |
236 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler); | 236 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler); |
237 }; | 237 }; |
238 | 238 |
239 } // namespace options | 239 } // namespace options |
240 | 240 |
241 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ | 241 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ |
OLD | NEW |