summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/html_dialog_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/html_dialog_view.cc')
-rw-r--r--chrome/browser/views/html_dialog_view.cc12
1 files changed, 10 insertions, 2 deletions
diff --git a/chrome/browser/views/html_dialog_view.cc b/chrome/browser/views/html_dialog_view.cc
index 2ff93b7..0ef3b9e 100644
--- a/chrome/browser/views/html_dialog_view.cc
+++ b/chrome/browser/views/html_dialog_view.cc
@@ -42,11 +42,11 @@ bool HtmlDialogView::CanResize() const {
}
bool HtmlDialogView::IsModal() const {
- return delegate_->IsModal();
+ return delegate_->IsDialogModal();
}
std::wstring HtmlDialogView::GetWindowTitle() const {
- return delegate_->GetWindowTitle();
+ return delegate_->GetDialogTitle();
}
void HtmlDialogView::WindowClosing() {
@@ -68,6 +68,14 @@ views::View* HtmlDialogView::GetInitiallyFocusedView() {
////////////////////////////////////////////////////////////////////////////////
// HtmlDialogContentsDelegate implementation:
+bool HtmlDialogView::IsDialogModal() const {
+ return IsModal();
+}
+
+std::wstring HtmlDialogView::GetDialogTitle() const {
+ return GetWindowTitle();
+}
+
GURL HtmlDialogView::GetDialogContentURL() const {
return delegate_->GetDialogContentURL();
}