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

Unified Diff: chrome/browser/ui/cocoa/download/download_item_mac.mm

Issue 9968090: Added download error descriptions to tooltips for Mac & Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed tooltip to using the short error status string. Created 8 years, 8 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
Index: chrome/browser/ui/cocoa/download/download_item_mac.mm
diff --git a/chrome/browser/ui/cocoa/download/download_item_mac.mm b/chrome/browser/ui/cocoa/download/download_item_mac.mm
index ebe669cd828881ce75fbb98703a6f9b410fbde07..b5dc9b6323ceb0be7470b8bd1b8f2d8e9de44e96 100644
--- a/chrome/browser/ui/cocoa/download/download_item_mac.mm
+++ b/chrome/browser/ui/cocoa/download/download_item_mac.mm
@@ -57,10 +57,13 @@ void DownloadItemMac::OnDownloadUpdated(content::DownloadItem* download) {
download_util::NotifySystemOfDownloadComplete(download->GetFullPath());
// fall through
case DownloadItem::IN_PROGRESS:
- case DownloadItem::INTERRUPTED:
case DownloadItem::CANCELLED:
[item_controller_ setStateFromDownload:download_model_.get()];
break;
+ case DownloadItem::INTERRUPTED:
+ [item_controller_ updateToolTip];
+ [item_controller_ setStateFromDownload:download_model_.get()];
+ break;
default:
NOTREACHED();
}

Powered by Google App Engine
This is Rietveld 408576698