diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 20:11:58 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 20:11:58 +0000 |
commit | 0f1c81978f0b9260fe3a14b831d67e3f7bf001f6 (patch) | |
tree | b8e70effd837e28cd260929ea0187f96abf870c3 /chrome/browser/cocoa/content_exceptions_window_controller.h | |
parent | 46c2d4376ba925d135b0459be354e5d068f1b29e (diff) | |
download | chromium_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.h | 6 |
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; |