summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
authorpaul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-04 01:57:52 +0000
committerpaul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-04 01:57:52 +0000
commite23ed5427d0892d07480781f45b4367adebc0c00 (patch)
tree4319705f7c85f969170443045cc1c872a7dcbdd4 /chrome/browser/browser.cc
parentceba3fe8061aaefe743f22d641e11562e1c6e8d1 (diff)
downloadchromium_src-e23ed5427d0892d07480781f45b4367adebc0c00.zip
chromium_src-e23ed5427d0892d07480781f45b4367adebc0c00.tar.gz
chromium_src-e23ed5427d0892d07480781f45b4367adebc0c00.tar.bz2
Implement the download arrow animation for Mac.
TEST=Download something and notice the nice download arrow animation. BUG=14661 (http://crbug.com/14661) Review URL: http://codereview.chromium.org/159623 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22355 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 35a57d6..78eedaa 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -2018,8 +2018,6 @@ void Browser::OnStartDownload(DownloadItem* download) {
// GetDownloadShelf creates the download shelf if it was not yet created.
window()->GetDownloadShelf()->AddDownload(new DownloadItemModel(download));
-// TODO(port): port for mac.
-#if defined(OS_WIN) || defined(OS_LINUX)
// Don't show the animation for "Save file" downloads.
if (download->total_bytes() > 0) {
TabContents* current_tab = GetSelectedTabContents();
@@ -2028,7 +2026,6 @@ void Browser::OnStartDownload(DownloadItem* download) {
Animation::ShouldRenderRichAnimation())
DownloadStartedAnimation::Show(current_tab);
}
-#endif
}
void Browser::ConfirmAddSearchProvider(const TemplateURL* template_url,