Index: chrome/browser/views/html_dialog_view.cc |
diff --git a/chrome/browser/views/html_dialog_view.cc b/chrome/browser/views/html_dialog_view.cc |
index 7d12d78bc2c82fc18334bd4b2e7b0a2b90ae2030..f28e6095cfc574b585fa0ba72789db8efcfb683c 100644 |
--- a/chrome/browser/views/html_dialog_view.cc |
+++ b/chrome/browser/views/html_dialog_view.cc |
@@ -98,6 +98,10 @@ views::View* HtmlDialogView::GetInitiallyFocusedView() { |
return this; |
} |
+bool HtmlDialogView::ShouldShowWindowTitle() const { |
+ return ShouldShowDialogTitle(); |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
// HtmlDialogUIDelegate implementation: |
@@ -150,6 +154,13 @@ void HtmlDialogView::OnCloseContents(TabContents* source, |
delegate_->OnCloseContents(source, out_close_dialog); |
} |
+bool HtmlDialogView::ShouldShowDialogTitle() const { |
+ if (delegate_) |
+ return delegate_->ShouldShowDialogTitle(); |
+ else |
+ return true; |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
// TabContentsDelegate implementation: |