Change Browser::OpenApplication() to handle having no browser windows open.
Update Browser::OpenApplication() to create a new browser window if there are
no browser windows open for the profile.
Updated BackgroundModeManager and AppControllerMac to properly respect the
launch preference set by the user.
BUG=96075
TEST=Close browser window, open application via context menu, make sure there's just one tab.
Review URL: http://codereview.chromium.org/8059037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103314 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed