summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-01 05:26:45 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-01 05:26:45 +0000
commit404bd8475209d386f8e0eefd62e05c388765032d (patch)
treec28fcd425c7cf9639fa8d68d36cafa757f1ddcf7
parent81df09cc437e620820891aaa590e5880e41d0be5 (diff)
downloadchromium_src-404bd8475209d386f8e0eefd62e05c388765032d.zip
chromium_src-404bd8475209d386f8e0eefd62e05c388765032d.tar.gz
chromium_src-404bd8475209d386f8e0eefd62e05c388765032d.tar.bz2
Add a title to the "download in progress" dialog.
R=thestig BUG=10681 TEST=Start a long download. Try to quit the browser. Notice the spiffy title on the dialog box. Review URL: http://codereview.chromium.org/100241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15035 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/views/frame/browser_view.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc
index 8830d09..6039045 100644
--- a/chrome/browser/views/frame/browser_view.cc
+++ b/chrome/browser/views/frame/browser_view.cc
@@ -251,6 +251,10 @@ class DownloadInProgressConfirmDialogDelegate : public views::DialogDelegate,
return this;
}
+ virtual std::wstring GetWindowTitle() const {
+ return l10n_util::GetString(IDS_PRODUCT_NAME);
+ }
+
private:
Browser* browser_;
views::Label* label_;