Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8239)

Unified Diff: chrome/browser/views/download_shelf_view.cc

Issue 17312: Fixes 6007 (download shelf won't close) by moving the call to show the downlo... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/download_shelf_view.cc
===================================================================
--- chrome/browser/views/download_shelf_view.cc (revision 7587)
+++ chrome/browser/views/download_shelf_view.cc (working copy)
@@ -111,6 +111,8 @@
}
void DownloadShelfView::AddDownloadView(View* view) {
+ shelf_animation_->Show();
+
DCHECK(view);
download_views_.push_back(view);
AddChildView(view);
@@ -128,8 +130,6 @@
}
void DownloadShelfView::AddDownload(DownloadItem* download) {
- shelf_animation_->Show();
-
DownloadItemView* view = new DownloadItemView(
download, this, new DownloadItemModel(download));
AddDownloadView(view);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698