Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: chrome/browser/cocoa/content_settings_dialog_controller.mm

Issue 5367006: Refactor: move HostContentSettingsMap to content_settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #import "chrome/browser/cocoa/content_exceptions_window_controller.h" 12 #import "chrome/browser/cocoa/content_exceptions_window_controller.h"
13 #import "chrome/browser/cocoa/cookies_window_controller.h" 13 #import "chrome/browser/cocoa/cookies_window_controller.h"
14 #import "chrome/browser/cocoa/simple_content_exceptions_window_controller.h" 14 #import "chrome/browser/cocoa/simple_content_exceptions_window_controller.h"
15 #import "chrome/browser/cocoa/l10n_util.h" 15 #import "chrome/browser/cocoa/l10n_util.h"
16 #import "chrome/browser/cocoa/tab_view_picker_table.h" 16 #import "chrome/browser/cocoa/tab_view_picker_table.h"
17 #import "chrome/browser/content_settings/host_content_settings_map.h"
17 #import "chrome/browser/geolocation/geolocation_content_settings_map.h" 18 #import "chrome/browser/geolocation/geolocation_content_settings_map.h"
18 #import "chrome/browser/geolocation/geolocation_exceptions_table_model.h" 19 #import "chrome/browser/geolocation/geolocation_exceptions_table_model.h"
19 #import "chrome/browser/host_content_settings_map.h"
20 #import "chrome/browser/notifications/desktop_notification_service.h" 20 #import "chrome/browser/notifications/desktop_notification_service.h"
21 #import "chrome/browser/notifications/notification_exceptions_table_model.h" 21 #import "chrome/browser/notifications/notification_exceptions_table_model.h"
22 #include "chrome/browser/plugin_exceptions_table_model.h" 22 #include "chrome/browser/plugin_exceptions_table_model.h"
23 #include "chrome/browser/prefs/pref_service.h" 23 #include "chrome/browser/prefs/pref_service.h"
24 #include "chrome/browser/profile.h" 24 #include "chrome/browser/profile.h"
25 #include "chrome/browser/ui/browser.h" 25 #include "chrome/browser/ui/browser.h"
26 #include "chrome/browser/ui/browser_window.h" 26 #include "chrome/browser/ui/browser_window.h"
27 #include "chrome/common/chrome_switches.h" 27 #include "chrome/common/chrome_switches.h"
28 #include "chrome/common/notification_service.h" 28 #include "chrome/common/notification_service.h"
29 #include "chrome/common/pref_names.h" 29 #include "chrome/common/pref_names.h"
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 } 638 }
639 } 639 }
640 640
641 - (void)contentSettingsChanged: 641 - (void)contentSettingsChanged:
642 (HostContentSettingsMap::ContentSettingsDetails*)details { 642 (HostContentSettingsMap::ContentSettingsDetails*)details {
643 [self prefChanged:prefs::kBlockNonsandboxedPlugins]; 643 [self prefChanged:prefs::kBlockNonsandboxedPlugins];
644 [self prefChanged:prefs::kDefaultContentSettings]; 644 [self prefChanged:prefs::kDefaultContentSettings];
645 } 645 }
646 646
647 @end 647 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698