summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/html_dialog_view.cc
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-09 16:50:14 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-09 16:50:14 +0000
commit91dfdd8d8f1b173c9c3801bd0351db1245183406 (patch)
tree8d009883599999967986da02940e9c5070655468 /chrome/browser/views/html_dialog_view.cc
parent15f63bc371d62d147ccbc05a877c0dc909f3c045 (diff)
downloadchromium_src-91dfdd8d8f1b173c9c3801bd0351db1245183406.zip
chromium_src-91dfdd8d8f1b173c9c3801bd0351db1245183406.tar.gz
chromium_src-91dfdd8d8f1b173c9c3801bd0351db1245183406.tar.bz2
HtmlDialogView is hard-wired to the gears application shortcut dialogs but it doesn't have to be. The delegates don't need to be strictly gears either, but for now they are only used by gears and this simple change allows re-use of HtmlDialogView + HtmlDialogContents + HtmlDialogContentsDelegate.
Review URL: http://codereview.chromium.org/17441 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7804 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/html_dialog_view.cc')
-rw-r--r--chrome/browser/views/html_dialog_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/html_dialog_view.cc b/chrome/browser/views/html_dialog_view.cc
index ea8fd14..58f9efe 100644
--- a/chrome/browser/views/html_dialog_view.cc
+++ b/chrome/browser/views/html_dialog_view.cc
@@ -46,7 +46,7 @@ bool HtmlDialogView::IsModal() const {
}
std::wstring HtmlDialogView::GetWindowTitle() const {
- return L"Google Gears";
+ return delegate_->GetWindowTitle();
}
void HtmlDialogView::WindowClosing() {