summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/content_exceptions_window_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/content_exceptions_window_controller.h')
-rw-r--r--chrome/browser/cocoa/content_exceptions_window_controller.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/content_exceptions_window_controller.h b/chrome/browser/cocoa/content_exceptions_window_controller.h
index e7eab5e..a42510e0 100644
--- a/chrome/browser/cocoa/content_exceptions_window_controller.h
+++ b/chrome/browser/cocoa/content_exceptions_window_controller.h
@@ -40,7 +40,8 @@ class UpdatingContentSettingsObserver;
// is used to suppress updates at bad times.
BOOL updatesEnabled_;
- // This is non-NULL only while a new element is being added.
+ // This is non-NULL only while a new element is being added and its host
+ // is being edited.
scoped_ptr<HostContentSettingsMap::HostSettingPair> newException_;
}
@@ -52,3 +53,8 @@ class UpdatingContentSettingsObserver;
- (IBAction)removeAllExceptions:(id)sender;
@end
+
+@interface ContentExceptionsWindowController(VisibleForTesting)
+- (void)cancel:(id)sender;
+- (BOOL)editingNewException;
+@end