Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(855)

Unified Diff: chrome/browser/views/html_dialog_view.cc

Issue 4396001: Merge 64807 & 64824 - Cloud Print Dialog work (Closed) Base URL: svn://svn.chromium.org/chrome/branches/552/src/
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/html_dialog_view.h ('k') | chrome/browser/views/html_dialog_view_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/html_dialog_view.cc
===================================================================
--- chrome/browser/views/html_dialog_view.cc (revision 64933)
+++ chrome/browser/views/html_dialog_view.cc (working copy)
@@ -98,6 +98,10 @@
return this;
}
+bool HtmlDialogView::ShouldShowWindowTitle() const {
+ return ShouldShowDialogTitle();
+}
+
////////////////////////////////////////////////////////////////////////////////
// HtmlDialogUIDelegate implementation:
@@ -150,6 +154,13 @@
delegate_->OnCloseContents(source, out_close_dialog);
}
+bool HtmlDialogView::ShouldShowDialogTitle() const {
+ if (delegate_)
+ return delegate_->ShouldShowDialogTitle();
+ else
+ return true;
+}
+
////////////////////////////////////////////////////////////////////////////////
// TabContentsDelegate implementation:
« no previous file with comments | « chrome/browser/views/html_dialog_view.h ('k') | chrome/browser/views/html_dialog_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698