OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #import "chrome/browser/ui/cocoa/content_settings_dialog_controller.h" | 5 #import "chrome/browser/ui/cocoa/content_settings_dialog_controller.h" |
6 | 6 |
7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
8 | 8 |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/mac_util.h" | 11 #include "base/mac_util.h" |
12 #import "chrome/browser/content_settings/content_settings_details.h" | 12 #import "chrome/browser/content_settings/content_settings_details.h" |
13 #import "chrome/browser/content_settings/host_content_settings_map.h" | 13 #import "chrome/browser/content_settings/host_content_settings_map.h" |
14 #import "chrome/browser/geolocation/geolocation_content_settings_map.h" | 14 #import "chrome/browser/geolocation/geolocation_content_settings_map.h" |
15 #import "chrome/browser/geolocation/geolocation_exceptions_table_model.h" | 15 #import "chrome/browser/geolocation/geolocation_exceptions_table_model.h" |
16 #import "chrome/browser/notifications/desktop_notification_service.h" | 16 #import "chrome/browser/notifications/desktop_notification_service.h" |
17 #import "chrome/browser/notifications/notification_exceptions_table_model.h" | 17 #import "chrome/browser/notifications/notification_exceptions_table_model.h" |
18 #include "chrome/browser/plugin_exceptions_table_model.h" | 18 #include "chrome/browser/plugin_exceptions_table_model.h" |
19 #include "chrome/browser/prefs/pref_service.h" | 19 #include "chrome/browser/prefs/pref_service.h" |
20 #include "chrome/browser/profile.h" | 20 #include "chrome/browser/profiles/profile.h" |
21 #include "chrome/browser/ui/browser.h" | 21 #include "chrome/browser/ui/browser.h" |
22 #include "chrome/browser/ui/browser_window.h" | 22 #include "chrome/browser/ui/browser_window.h" |
23 #import "chrome/browser/ui/cocoa/content_exceptions_window_controller.h" | 23 #import "chrome/browser/ui/cocoa/content_exceptions_window_controller.h" |
24 #import "chrome/browser/ui/cocoa/cookies_window_controller.h" | 24 #import "chrome/browser/ui/cocoa/cookies_window_controller.h" |
25 #import "chrome/browser/ui/cocoa/l10n_util.h" | 25 #import "chrome/browser/ui/cocoa/l10n_util.h" |
26 #import "chrome/browser/ui/cocoa/simple_content_exceptions_window_controller.h" | 26 #import "chrome/browser/ui/cocoa/simple_content_exceptions_window_controller.h" |
27 #import "chrome/browser/ui/cocoa/tab_view_picker_table.h" | 27 #import "chrome/browser/ui/cocoa/tab_view_picker_table.h" |
28 #include "chrome/common/chrome_switches.h" | 28 #include "chrome/common/chrome_switches.h" |
29 #include "chrome/common/notification_service.h" | 29 #include "chrome/common/notification_service.h" |
30 #include "chrome/common/pref_names.h" | 30 #include "chrome/common/pref_names.h" |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 [self didChangeValueForKey:@"notificationsSettingIndex"]; | 637 [self didChangeValueForKey:@"notificationsSettingIndex"]; |
638 } | 638 } |
639 } | 639 } |
640 | 640 |
641 - (void)contentSettingsChanged:(ContentSettingsDetails*)details { | 641 - (void)contentSettingsChanged:(ContentSettingsDetails*)details { |
642 [self prefChanged:prefs::kBlockNonsandboxedPlugins]; | 642 [self prefChanged:prefs::kBlockNonsandboxedPlugins]; |
643 [self prefChanged:prefs::kDefaultContentSettings]; | 643 [self prefChanged:prefs::kDefaultContentSettings]; |
644 } | 644 } |
645 | 645 |
646 @end | 646 @end |
OLD | NEW |