diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-22 16:47:07 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-22 16:47:07 +0000 |
commit | b1d963d60e08720fab32ea5d582e636895feb0d7 (patch) | |
tree | c3945bbc5e80e92b369b52b7abbe982f0798e456 /chrome/browser/cocoa/content_settings_dialog_controller.h | |
parent | 5b9eb6cd8f4428c4647e1546aa2461d0062e0301 (diff) | |
download | chromium_src-b1d963d60e08720fab32ea5d582e636895feb0d7.zip chromium_src-b1d963d60e08720fab32ea5d582e636895feb0d7.tar.gz chromium_src-b1d963d60e08720fab32ea5d582e636895feb0d7.tar.bz2 |
Mac: Implement most of the content settings dialog.
xib changes: Added a tab view with all the UI, set up bindings for radio groups and checkboxes. Hooked up buttons.
Missing for now:
* "Exception" dialogs ("exception" buttons are disabled until then)
* Some polish
* The cookie "ask" dialog
BUG=34894
TEST=Open content settings dialog. Set different things, click various things, and make sure they all have the expected effect.
Review URL: http://codereview.chromium.org/652037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39601 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/content_settings_dialog_controller.h')
-rw-r--r-- | chrome/browser/cocoa/content_settings_dialog_controller.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/content_settings_dialog_controller.h b/chrome/browser/cocoa/content_settings_dialog_controller.h index b5512c7..ff2ef523 100644 --- a/chrome/browser/cocoa/content_settings_dialog_controller.h +++ b/chrome/browser/cocoa/content_settings_dialog_controller.h @@ -14,8 +14,10 @@ class Profile; // settings for several content setting types. @interface ContentSettingsDialogController : NSWindowController<NSWindowDelegate> { + @private Profile* profile_; // weak IntegerPrefMember lastSelectedTab_; + BooleanPrefMember clearSiteDataOnExit_; } // Show the content settings dialog associated with the given profile (or the @@ -25,7 +27,7 @@ class Profile; +(id)showContentSettingsForType:(ContentSettingsType)settingsType profile:(Profile*)profile; -// Shows the cookies controller. - (IBAction)showCookies:(id)sender; +- (IBAction)openFlashPlayerSettings:(id)sender; @end |