| Index: chrome/browser/ui/views/download/download_item_view.cc
|
| diff --git a/chrome/browser/ui/views/download/download_item_view.cc b/chrome/browser/ui/views/download/download_item_view.cc
|
| index d722fa794a371e457f6c2a8bf24dc54e04940a06..856f1d0ca1ee90a69c10da3bdff9b9d4cc33c950 100644
|
| --- a/chrome/browser/ui/views/download/download_item_view.cc
|
| +++ b/chrome/browser/ui/views/download/download_item_view.cc
|
| @@ -257,15 +257,17 @@ void DownloadItemView::OnDownloadUpdated(DownloadItem* download) {
|
| string16 old_tip = tooltip_text_;
|
| content::DownloadInterruptReason reason = download_->GetLastReason();
|
|
|
| + tooltip_text_ = download_->GetFileNameToReportUser().LossyDisplayName();
|
| +
|
| if ((download_->GetState() == DownloadItem::INTERRUPTED) &&
|
| (reason != content::DOWNLOAD_INTERRUPT_REASON_USER_CANCELED)) {
|
| + string16 new_line = ASCIIToUTF16("\n");
|
| // Use two lines: The file name, and the message.
|
| - tooltip_text_ = download_->GetFileNameToReportUser().LossyDisplayName();
|
| - tooltip_text_ += ASCIIToUTF16("\n");
|
| + tooltip_text_ += new_line;
|
| // The message is localized.
|
| tooltip_text_ += DownloadItemModel::InterruptReasonMessage(reason);
|
| - } else {
|
| - tooltip_text_ = download_->GetFileNameToReportUser().LossyDisplayName();
|
| + tooltip_text_ += new_line;
|
| + tooltip_text_ += model_->GetProgressText();
|
| }
|
|
|
| if (IsShowingWarningDialog() && !model_->IsDangerous()) {
|
|
|