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 <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
6 | 6 |
7 #include "base/cocoa_protocols_mac.h" | 7 #include "base/cocoa_protocols_mac.h" |
8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
9 #include "chrome/browser/host_content_settings_map.h" | 9 #include "chrome/browser/content_settings/host_content_settings_map.h" |
10 #include "chrome/common/content_settings_types.h" | 10 #include "chrome/common/content_settings_types.h" |
11 | 11 |
12 class ContentExceptionsTableModel; | 12 class ContentExceptionsTableModel; |
13 class ContentSettingComboModel; | 13 class ContentSettingComboModel; |
14 class UpdatingContentSettingsObserver; | 14 class UpdatingContentSettingsObserver; |
15 | 15 |
16 // Controller for the content exception dialogs. | 16 // Controller for the content exception dialogs. |
17 @interface ContentExceptionsWindowController : NSWindowController | 17 @interface ContentExceptionsWindowController : NSWindowController |
18 <NSWindowDelegate, | 18 <NSWindowDelegate, |
19 NSTableViewDataSource, | 19 NSTableViewDataSource, |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 - (IBAction)removeAllExceptions:(id)sender; | 65 - (IBAction)removeAllExceptions:(id)sender; |
66 // Closes the sheet and ends the modal loop. | 66 // Closes the sheet and ends the modal loop. |
67 - (IBAction)closeSheet:(id)sender; | 67 - (IBAction)closeSheet:(id)sender; |
68 | 68 |
69 @end | 69 @end |
70 | 70 |
71 @interface ContentExceptionsWindowController(VisibleForTesting) | 71 @interface ContentExceptionsWindowController(VisibleForTesting) |
72 - (void)cancel:(id)sender; | 72 - (void)cancel:(id)sender; |
73 - (BOOL)editingNewException; | 73 - (BOOL)editingNewException; |
74 @end | 74 @end |
OLD | NEW |