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

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

Issue 159261: When closing the download shelf, hide the buttons of the dangerous download w... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 5 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 | chrome/browser/views/frame/browser_view.cc » ('j') | 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 21225)
+++ chrome/browser/views/download_shelf_view.cc (working copy)
@@ -199,7 +199,7 @@
// Let our base class layout our child views
views::View::Layout();
- // If there is not enought room to show the first download item, show the
+ // If there is not enough room to show the first download item, show the
// "Show all downloads" link to the left to make it more visible that there is
// something to see.
bool show_link_only = !CanFitFirstDownloadItem();
@@ -297,8 +297,7 @@
}
bool DownloadShelfView::IsClosing() const {
- // TODO(estade): This is never called. For now just return false.
- return false;
+ return shelf_animation_->IsClosing();
}
void DownloadShelfView::Show() {
« no previous file with comments | « no previous file | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698