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

Unified Diff: chrome/browser/ui/gtk/html_dialog_gtk.cc

Issue 8479042: UI polish for certificate viewer (Closed) Base URL: /usr/local/google/home/bshe/NoTouchChromium/../TouchChromium/src/@trunk
Patch Set: Remove body margins of two internal pages(due to the changes in tabs.css file). Created 9 years, 1 month 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
Index: chrome/browser/ui/gtk/html_dialog_gtk.cc
diff --git a/chrome/browser/ui/gtk/html_dialog_gtk.cc b/chrome/browser/ui/gtk/html_dialog_gtk.cc
index ff6945a9d6a4fc7e5c629701f978f4449594f104..14b2ddeb51319841076259413fbab0f1062ff6c3 100644
--- a/chrome/browser/ui/gtk/html_dialog_gtk.cc
+++ b/chrome/browser/ui/gtk/html_dialog_gtk.cc
@@ -21,10 +21,13 @@
namespace browser {
gfx::NativeWindow ShowHtmlDialog(gfx::NativeWindow parent, Profile* profile,
- HtmlDialogUIDelegate* delegate) {
+ HtmlDialogUIDelegate* delegate,
+ DialogStyle style) {
// It's not always safe to display an html dialog with an off the record
// profile. If the last browser with that profile is closed it will go
// away.
+ // Ignore style for now. The style parameter only used in the implementation
+ // in html_dialog_view.cc file.
flackr 2011/11/21 20:43:31 TODO: Add style parameter to HtmlDialogGtk.
bshe 2011/11/22 16:26:24 Done.
DCHECK(!profile->IsOffTheRecord() || delegate->IsDialogModal());
HtmlDialogGtk* html_dialog =
new HtmlDialogGtk(profile, delegate, parent);

Powered by Google App Engine
This is Rietveld 408576698