summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_plugin_host.cc
diff options
context:
space:
mode:
authorscottbyer@google.com <scottbyer@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-03 22:17:10 +0000
committerscottbyer@google.com <scottbyer@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-03 22:17:10 +0000
commitda7c9a863d90d90c276209bcbf13915796596632 (patch)
tree7e8f840d61bdbd21a6abcd2fb373a32ce23b6de1 /chrome/browser/chrome_plugin_host.cc
parent5ec05c0018c0b6c9fa72a2134283d6593b28defe (diff)
downloadchromium_src-da7c9a863d90d90c276209bcbf13915796596632.zip
chromium_src-da7c9a863d90d90c276209bcbf13915796596632.tar.gz
chromium_src-da7c9a863d90d90c276209bcbf13915796596632.tar.bz2
Merge 64807 - Minimum UI change for Cloud Print dialog.
Minimum change to remove the title and get the initial dialog size correct. Still has gobs of whitespace at the top. Merge 64824 - Cloud Print Dialog work (extends 64807) Allow an HTML dialog to suppress the title bar in a Chromium OS bubble window. For the Cloud Print dialog, remember the last size requested by the contents. Bug Url: http://code.google.com/p/chromium-os/issues/detail?id=8494 BUG=chromium-os:8494 TEST=none Review URL for 64807: http://codereview.chromium.org/4146015 Review URL for 64824: http://codereview.chromium.org/4110010 TBR=scottbyer@google.com Review URL: http://codereview.chromium.org/4396001 git-svn-id: svn://svn.chromium.org/chrome/branches/552/src@64977 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_plugin_host.cc')
-rw-r--r--chrome/browser/chrome_plugin_host.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/chrome_plugin_host.cc b/chrome/browser/chrome_plugin_host.cc
index 3b48914..cc4d9b6 100644
--- a/chrome/browser/chrome_plugin_host.cc
+++ b/chrome/browser/chrome_plugin_host.cc
@@ -327,6 +327,7 @@ class ModelessHtmlDialogDelegate : public HtmlDialogUIDelegate {
this, &ModelessHtmlDialogDelegate::ReportResults, json_retval));
}
virtual void OnCloseContents(TabContents* source, bool* out_close_dialog) { }
+ virtual bool ShouldShowDialogTitle() const { return true; }
private:
// Actually shows the dialog on the UI thread.