summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/content_exceptions_window_controller.h
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 20:11:58 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 20:11:58 +0000
commit0f1c81978f0b9260fe3a14b831d67e3f7bf001f6 (patch)
treeb8e70effd837e28cd260929ea0187f96abf870c3 /chrome/browser/cocoa/content_exceptions_window_controller.h
parent46c2d4376ba925d135b0459be354e5d068f1b29e (diff)
downloadchromium_src-0f1c81978f0b9260fe3a14b831d67e3f7bf001f6.zip
chromium_src-0f1c81978f0b9260fe3a14b831d67e3f7bf001f6.tar.gz
chromium_src-0f1c81978f0b9260fe3a14b831d67e3f7bf001f6.tar.bz2
Obj-C readability review for thakis.
Review URL: http://codereview.chromium.org/790006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41753 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/content_exceptions_window_controller.h')
-rw-r--r--chrome/browser/cocoa/content_exceptions_window_controller.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/content_exceptions_window_controller.h b/chrome/browser/cocoa/content_exceptions_window_controller.h
index a42510e0..c1afacc8 100644
--- a/chrome/browser/cocoa/content_exceptions_window_controller.h
+++ b/chrome/browser/cocoa/content_exceptions_window_controller.h
@@ -29,11 +29,11 @@ class UpdatingContentSettingsObserver;
HostContentSettingsMap* settingsMap_; // weak
scoped_ptr<ContentExceptionsTableModel> model_;
- // Set if "Ask" should be a valid option in the "action" popup.
+ // Is set if "Ask" should be a valid option in the "action" popup.
BOOL showAsk_;
// Listens for changes to the content settings and reloads the data when they
- // change. See comment in |modelDidChange| in the mm file for details.
+ // change. See comment in -modelDidChange in the mm file for details.
scoped_ptr<UpdatingContentSettingsObserver> tableObserver_;
// If this is set to NO, notifications by |tableObserver_| are ignored. This
@@ -45,6 +45,8 @@ class UpdatingContentSettingsObserver;
scoped_ptr<HostContentSettingsMap::HostSettingPair> newException_;
}
+// Shows or makes frontmost the content exceptions window for |settingsType|.
+// Changes made by the user in the window are persisted in |settingsMap|.
+ (id)showForType:(ContentSettingsType)settingsType
settingsMap:(HostContentSettingsMap*)settingsMap;