From 5275c3dbc87f48da96a2880c2ac12e956c18784c Mon Sep 17 00:00:00 2001 From: "davemoore@chromium.org" Date: Mon, 19 Oct 2009 17:15:22 +0000 Subject: Do work necessary to make Views About panel work on Chrome OS. This is to be used for forcing Chrome OS updates. There were many things that needed to be fixed for this to work. Make skia's canvas return height of font for size of strings, instead of the actual height of the characters to bring it in line with Windows. Make average character widths use pango metrics and windows dialog units. Make this lazy, to avoid most calls. Fix bug in About panel that failed to adjust the embedded links to allow for the padding that Link adds so they can be focused. Support gtk about panel in regular build, views in chrome os only. Fix WindowGtk to call WindowClosing() Fix canvas_linux::SetupPangoLayout() to wrap correctly, if passed a width Fix Label::ComputeMultiLineFlags() to turn off eliding. With eliding the pango routines always return 1 line. Enable focus manager in dialogs. Version loader crashed in debug. Review URL: http://codereview.chromium.org/282002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29414 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/browser_dialogs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 chrome/browser/views/browser_dialogs.h (limited to 'chrome/browser/views/browser_dialogs.h') diff --git a/chrome/browser/views/browser_dialogs.h b/chrome/browser/views/browser_dialogs.h old mode 100644 new mode 100755 index d4c2420..691eee6 --- a/chrome/browser/views/browser_dialogs.h +++ b/chrome/browser/views/browser_dialogs.h @@ -64,7 +64,7 @@ bool IsBookmarkBubbleViewShowing(); void ShowBookmarkManagerView(Profile* profile); // Shows the about dialog. See AboutChromeView. -void ShowAboutChromeView(views::Widget* parent, +void ShowAboutChromeView(gfx::NativeWindow parent, Profile* profile); // Shows an HTML dialog. See HtmlDialogView. -- cgit v1.1