diff options
author | paul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-30 00:14:11 +0000 |
---|---|---|
committer | paul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-30 00:14:11 +0000 |
commit | 6bb9643698ffd0679a5ac1b8ec1bfb3420724312 (patch) | |
tree | 6030a9665bda1e1e315ab41df1867a987c88fbff /chrome/browser/download | |
parent | 58734d6a4fb8aa8caaece4b07f875c5c396afcc5 (diff) | |
download | chromium_src-6bb9643698ffd0679a5ac1b8ec1bfb3420724312.zip chromium_src-6bb9643698ffd0679a5ac1b8ec1bfb3420724312.tar.gz chromium_src-6bb9643698ffd0679a5ac1b8ec1bfb3420724312.tar.bz2 |
Enable "Save As" on Mac.
TEST=Right clicking an image and choosing "Save As" now works.
BUG=15638
Review URL: http://codereview.chromium.org/151042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19565 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download')
-rw-r--r-- | chrome/browser/download/download_manager.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/download/download_manager.cc b/chrome/browser/download/download_manager.cc index bd74f91..7cceb9e 100644 --- a/chrome/browser/download/download_manager.cc +++ b/chrome/browser/download/download_manager.cc @@ -635,7 +635,6 @@ void DownloadManager::OnPathExistenceAvailable(DownloadCreateInfo* info) { DCHECK(info); if (info->save_as) { -#if defined(OS_WIN) || defined(OS_LINUX) // We must ask the user for the place to put the download. if (!select_file_dialog_.get()) select_file_dialog_ = SelectFileDialog::Create(this); @@ -655,10 +654,6 @@ void DownloadManager::OnPathExistenceAvailable(DownloadCreateInfo* info) { info->suggested_path, &file_type_info, 0, FILE_PATH_LITERAL(""), owning_window, info); -#elif defined(OS_MACOSX) - // TODO(port): port this file -- need dialogs. - NOTIMPLEMENTED(); -#endif } else { // No prompting for download, just continue with the suggested name. ContinueStartDownload(info, info->suggested_path); |