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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 // OptionsPageUIHandler implementation. | 42 // OptionsPageUIHandler implementation. |
43 void GetLocalizedValues(base::DictionaryValue* localized_strings) override; | 43 void GetLocalizedValues(base::DictionaryValue* localized_strings) override; |
44 void InitializeHandler() override; | 44 void InitializeHandler() override; |
45 void InitializePage() override; | 45 void InitializePage() override; |
46 void RegisterMessages() override; | 46 void RegisterMessages() override; |
47 | 47 |
48 // content_settings::Observer implementation. | 48 // content_settings::Observer implementation. |
49 void OnContentSettingChanged(const ContentSettingsPattern& primary_pattern, | 49 void OnContentSettingChanged(const ContentSettingsPattern& primary_pattern, |
50 const ContentSettingsPattern& secondary_pattern, | 50 const ContentSettingsPattern& secondary_pattern, |
51 ContentSettingsType content_type, | 51 ContentSettingsType content_type, |
| 52 ContentSetting previous_value, |
52 std::string resource_identifier) override; | 53 std::string resource_identifier) override; |
53 | 54 |
54 // content::NotificationObserver implementation. | 55 // content::NotificationObserver implementation. |
55 void Observe(int type, | 56 void Observe(int type, |
56 const content::NotificationSource& source, | 57 const content::NotificationSource& source, |
57 const content::NotificationDetails& details) override; | 58 const content::NotificationDetails& details) override; |
58 | 59 |
59 // PepperFlashSettingsManager::Client implementation. | 60 // PepperFlashSettingsManager::Client implementation. |
60 void OnGetPermissionSettingsCompleted( | 61 void OnGetPermissionSettingsCompleted( |
61 uint32_t request_id, | 62 uint32_t request_id, |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 scoped_ptr<content::HostZoomMap::Subscription> | 292 scoped_ptr<content::HostZoomMap::Subscription> |
292 signin_host_zoom_map_subscription_; | 293 signin_host_zoom_map_subscription_; |
293 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_; | 294 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_; |
294 | 295 |
295 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler); | 296 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler); |
296 }; | 297 }; |
297 | 298 |
298 } // namespace options | 299 } // namespace options |
299 | 300 |
300 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ | 301 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ |
OLD | NEW |