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

Unified Diff: chrome/browser/dom_ui/html_dialog_ui.h

Issue 4110010: Cloud Print Dialog work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Direct paths for prefs. Created 10 years, 2 months 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/dom_ui/constrained_html_ui_browsertest.cc ('k') | chrome/browser/gtk/html_dialog_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
};
« no previous file with comments | « chrome/browser/dom_ui/constrained_html_ui_browsertest.cc ('k') | chrome/browser/gtk/html_dialog_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698