summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/first_run_dialog.mm
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 21:31:17 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 21:31:17 +0000
commit008b85036666ad1b49c0525682904950df3777cb (patch)
treeefa76a5c06d5f566e2e9fc89c8f6fba8fa34cfe3 /chrome/browser/cocoa/first_run_dialog.mm
parent602e6865dda0510c26520bb5f86787b817d5048c (diff)
downloadchromium_src-008b85036666ad1b49c0525682904950df3777cb.zip
chromium_src-008b85036666ad1b49c0525682904950df3777cb.tar.gz
chromium_src-008b85036666ad1b49c0525682904950df3777cb.tar.bz2
First Run Import Progress UI.
First run code needed some reworking in order to get things in order for progress notification. BUG=18773 TEST=When importing another browser's settings, a progress dialog should be displayed. Review URL: http://codereview.chromium.org/164290 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23080 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/first_run_dialog.mm')
-rw-r--r--chrome/browser/cocoa/first_run_dialog.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/first_run_dialog.mm b/chrome/browser/cocoa/first_run_dialog.mm
index d5c9737..6fdadcb7 100644
--- a/chrome/browser/cocoa/first_run_dialog.mm
+++ b/chrome/browser/cocoa/first_run_dialog.mm
@@ -41,6 +41,7 @@
// Display dialog.
NSWindow* win = [self window];
+ [win center];
[NSApp runModalForWindow:win];
}