diff options
Diffstat (limited to 'chrome/browser/dom_ui/html_dialog_ui.h')
-rw-r--r-- | chrome/browser/dom_ui/html_dialog_ui.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/dom_ui/html_dialog_ui.h b/chrome/browser/dom_ui/html_dialog_ui.h index 38673c4..d1cc849 100644 --- a/chrome/browser/dom_ui/html_dialog_ui.h +++ b/chrome/browser/dom_ui/html_dialog_ui.h @@ -51,6 +51,10 @@ class HtmlDialogUIDelegate { // is set to true, then the dialog is closed. The default is false. virtual void OnCloseContents(TabContents* source, bool* out_close_dialog) = 0; + // A callback to allow the delegate to dictate that the window should not + // have a title bar. This is useful when presenting branded interfaces. + virtual bool ShouldShowDialogTitle() const = 0; + protected: virtual ~HtmlDialogUIDelegate() {} }; |