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/cocoa/content_settings_dialog_controller.h" | 5 #import "chrome/browser/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 #include "chrome/browser/browser.h" | 12 #include "chrome/browser/browser.h" |
13 #include "chrome/browser/browser_window.h" | 13 #include "chrome/browser/browser_window.h" |
14 #import "chrome/browser/cocoa/content_exceptions_window_controller.h" | 14 #import "chrome/browser/cocoa/content_exceptions_window_controller.h" |
15 #import "chrome/browser/cocoa/cookies_window_controller.h" | 15 #import "chrome/browser/cocoa/cookies_window_controller.h" |
16 #import "chrome/browser/cocoa/simple_content_exceptions_window_controller.h" | 16 #import "chrome/browser/cocoa/simple_content_exceptions_window_controller.h" |
17 #import "chrome/browser/cocoa/l10n_util.h" | 17 #import "chrome/browser/cocoa/l10n_util.h" |
18 #import "chrome/browser/cocoa/tab_view_picker_table.h" | 18 #import "chrome/browser/cocoa/tab_view_picker_table.h" |
19 #import "chrome/browser/geolocation/geolocation_content_settings_map.h" | 19 #import "chrome/browser/geolocation/geolocation_content_settings_map.h" |
20 #import "chrome/browser/geolocation/geolocation_exceptions_table_model.h" | 20 #import "chrome/browser/geolocation/geolocation_exceptions_table_model.h" |
21 #import "chrome/browser/host_content_settings_map.h" | 21 #import "chrome/browser/host_content_settings_map.h" |
22 #import "chrome/browser/notifications/desktop_notification_service.h" | 22 #import "chrome/browser/notifications/desktop_notification_service.h" |
23 #import "chrome/browser/notifications/notification_exceptions_table_model.h" | 23 #import "chrome/browser/notifications/notification_exceptions_table_model.h" |
24 #include "chrome/browser/pref_service.h" | 24 #include "chrome/browser/prefs/pref_service.h" |
25 #include "chrome/browser/profile.h" | 25 #include "chrome/browser/profile.h" |
26 #include "chrome/common/chrome_switches.h" | 26 #include "chrome/common/chrome_switches.h" |
27 #include "chrome/common/notification_service.h" | 27 #include "chrome/common/notification_service.h" |
28 #include "chrome/common/pref_names.h" | 28 #include "chrome/common/pref_names.h" |
29 #include "chrome/common/url_constants.h" | 29 #include "chrome/common/url_constants.h" |
30 #include "grit/locale_settings.h" | 30 #include "grit/locale_settings.h" |
31 #include "grit/generated_resources.h" | 31 #include "grit/generated_resources.h" |
32 | 32 |
33 namespace { | 33 namespace { |
34 | 34 |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 [self willChangeValueForKey:@"geolocationSettingIndex"]; | 534 [self willChangeValueForKey:@"geolocationSettingIndex"]; |
535 [self didChangeValueForKey:@"geolocationSettingIndex"]; | 535 [self didChangeValueForKey:@"geolocationSettingIndex"]; |
536 } | 536 } |
537 if (*prefName == prefs::kDesktopNotificationDefaultContentSetting) { | 537 if (*prefName == prefs::kDesktopNotificationDefaultContentSetting) { |
538 [self willChangeValueForKey:@"notificationsSettingIndex"]; | 538 [self willChangeValueForKey:@"notificationsSettingIndex"]; |
539 [self didChangeValueForKey:@"notificationsSettingIndex"]; | 539 [self didChangeValueForKey:@"notificationsSettingIndex"]; |
540 } | 540 } |
541 } | 541 } |
542 | 542 |
543 @end | 543 @end |
OLD | NEW |