diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-29 15:54:48 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-29 15:54:48 +0000 |
commit | c1ca1c3b1a234281fd24b8ec9a1802c4055d07a0 (patch) | |
tree | d40bab9751445bce8ecdf5da8f238b6a18c1f497 /chrome/browser/cocoa/preferences_window_controller.h | |
parent | 0519e110045415c8d674a8a5d0cdd587b9ce8e1f (diff) | |
download | chromium_src-c1ca1c3b1a234281fd24b8ec9a1802c4055d07a0.zip chromium_src-c1ca1c3b1a234281fd24b8ec9a1802c4055d07a0.tar.gz chromium_src-c1ca1c3b1a234281fd24b8ec9a1802c4055d07a0.tar.bz2 |
[Mac] Hook up part of the download preferences
Enable the download location path and the prompt-for-download settings.
BUG=22047
TEST=Preferences --> Under the hood, set download location, downloaded file is in new location.
TEST=Enable prompt for download location, download file, save panel comes up.
Review URL: http://codereview.chromium.org/239008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27485 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/preferences_window_controller.h')
-rw-r--r-- | chrome/browser/cocoa/preferences_window_controller.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/preferences_window_controller.h b/chrome/browser/cocoa/preferences_window_controller.h index 5aa8b95..66bc78a 100644 --- a/chrome/browser/cocoa/preferences_window_controller.h +++ b/chrome/browser/cocoa/preferences_window_controller.h @@ -60,6 +60,9 @@ class Profile; BooleanPrefMember safeBrowsing_; BooleanPrefMember metricsRecording_; IntegerPrefMember cookieBehavior_; + IBOutlet NSPathControl* downloadLocationControl_; + StringPrefMember defaultDownloadLocation_; + BooleanPrefMember askForSaveLocation_; } // Designated initializer. |profile| should not be NULL. @@ -84,6 +87,9 @@ class Profile; - (IBAction)resetThemeToDefault:(id)sender; - (IBAction)themesGallery:(id)sender; +// Under the hood +- (IBAction)browseDownloadLocation:(id)sender; + // Usable from cocoa bindings to hook up the custom home pages table. @property(readonly) CustomHomePagesModel* customPagesSource; |