From 609a1ec621cdcce03328b56e4b744ce9498b2177 Mon Sep 17 00:00:00 2001 From: "kuchhal@chromium.org" Date: Thu, 9 Jul 2009 19:22:35 +0000 Subject: Start Chrome button on First Run customize view should launch Chrome. BUG=16358 Review URL: http://codereview.chromium.org/149398 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20295 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browser_main.cc | 1 - chrome/browser/views/first_run_view.cc | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser') diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index d7eeb53..4907ebb 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -596,7 +596,6 @@ int BrowserMain(const MainFunctionParams& parameters) { if (is_first_run && !first_run_ui_bypass) { if (!OpenFirstRunDialog(profile, &process_singleton)) { // The user cancelled the first run dialog box, we should exit Chrome. - return ResultCodes::NORMAL_EXIT; } } diff --git a/chrome/browser/views/first_run_view.cc b/chrome/browser/views/first_run_view.cc index 00904e9..a80f7b9 100644 --- a/chrome/browser/views/first_run_view.cc +++ b/chrome/browser/views/first_run_view.cc @@ -198,6 +198,7 @@ bool FirstRunView::Cancel() { // Notification from the customize dialog that the user accepted. Since all // the work is done there we got nothing else to do. void FirstRunView::CustomizeAccepted() { + accepted_ = true; window()->Close(); } -- cgit v1.1