Index: chrome/browser/dom_ui/html_dialog_ui.h |
=================================================================== |
--- chrome/browser/dom_ui/html_dialog_ui.h (revision 64933) |
+++ chrome/browser/dom_ui/html_dialog_ui.h (working copy) |
@@ -51,6 +51,10 @@ |
// 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() {} |
}; |