Index: chrome/browser/dom_ui/html_dialog_ui.h |
diff --git a/chrome/browser/dom_ui/html_dialog_ui.h b/chrome/browser/dom_ui/html_dialog_ui.h |
index 38673c4b759620ed74c6fef60a9375411ad70d60..d1cc849aa3e36351e0ba3ee44626fcda8fc10650 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() {} |
}; |