summaryrefslogtreecommitdiffstats
path: root/chrome/browser/modal_html_dialog_delegate.h
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/modal_html_dialog_delegate.h
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/modal_html_dialog_delegate.h')
-rw-r--r--chrome/browser/modal_html_dialog_delegate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/modal_html_dialog_delegate.h b/chrome/browser/modal_html_dialog_delegate.h
index 34dd0ef..dd5e5d60 100644
--- a/chrome/browser/modal_html_dialog_delegate.h
+++ b/chrome/browser/modal_html_dialog_delegate.h
@@ -29,6 +29,7 @@ class ModalHtmlDialogDelegate
// views::WindowDelegate implementation:
virtual bool IsModal() const;
+ virtual std::wstring GetWindowTitle() const { return L"Google Gears"; }
// ModalHtmlDialogContents::ModalHTMLDialogContentsDelegate implementation:
virtual GURL GetDialogContentURL() const;