diff options
author | tim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-09 16:50:14 +0000 |
---|---|---|
committer | tim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-09 16:50:14 +0000 |
commit | 91dfdd8d8f1b173c9c3801bd0351db1245183406 (patch) | |
tree | 8d009883599999967986da02940e9c5070655468 /chrome/browser/views/html_dialog_view.cc | |
parent | 15f63bc371d62d147ccbc05a877c0dc909f3c045 (diff) | |
download | chromium_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.cc | 2 |
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() { |