| 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 <string> | |
| 8 | |
| 9 #include "base/cocoa_protocols_mac.h" | 7 #include "base/cocoa_protocols_mac.h" |
| 10 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
| 11 #include "chrome/browser/host_content_settings_map.h" | 9 #include "chrome/browser/host_content_settings_map.h" |
| 12 #include "chrome/common/content_settings_types.h" | 10 #include "chrome/common/content_settings_types.h" |
| 13 | 11 |
| 14 class ContentExceptionsTableModel; | 12 class ContentExceptionsTableModel; |
| 15 class UpdatingContentSettingsObserver; | 13 class UpdatingContentSettingsObserver; |
| 16 | 14 |
| 17 // Controller for the content exception dialogs. | 15 // Controller for the content exception dialogs. |
| 18 @interface ContentExceptionsWindowController : NSWindowController | 16 @interface ContentExceptionsWindowController : NSWindowController |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 - (IBAction)removeAllExceptions:(id)sender; | 69 - (IBAction)removeAllExceptions:(id)sender; |
| 72 // Closes the sheet and ends the modal loop. | 70 // Closes the sheet and ends the modal loop. |
| 73 - (IBAction)closeSheet:(id)sender; | 71 - (IBAction)closeSheet:(id)sender; |
| 74 | 72 |
| 75 @end | 73 @end |
| 76 | 74 |
| 77 @interface ContentExceptionsWindowController(VisibleForTesting) | 75 @interface ContentExceptionsWindowController(VisibleForTesting) |
| 78 - (void)cancel:(id)sender; | 76 - (void)cancel:(id)sender; |
| 79 - (BOOL)editingNewException; | 77 - (BOOL)editingNewException; |
| 80 @end | 78 @end |
| OLD | NEW |