diff options
author | skerner@google.com <skerner@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-22 20:24:57 +0000 |
---|---|---|
committer | skerner@google.com <skerner@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-22 20:24:57 +0000 |
commit | b69aaa3563503d5ce21f2d7b6308f89adb135694 (patch) | |
tree | 11830663fad8b15450538aecab8d03b2ea85df3e /chrome/browser/ui/browser_init.h | |
parent | e679429362f5e6b973e6be674026dcc696f9ea77 (diff) | |
download | chromium_src-b69aaa3563503d5ce21f2d7b6308f89adb135694.zip chromium_src-b69aaa3563503d5ce21f2d7b6308f89adb135694.tar.gz chromium_src-b69aaa3563503d5ce21f2d7b6308f89adb135694.tar.bz2 |
Refactor app launching code for clarity. Add unit tests.
BUG=None
TEST=BrowserInitTest.*
Review URL: http://codereview.chromium.org/6543006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75625 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_init.h')
-rw-r--r-- | chrome/browser/ui/browser_init.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/ui/browser_init.h b/chrome/browser/ui/browser_init.h index 17e91e7..323b0626 100644 --- a/chrome/browser/ui/browser_init.h +++ b/chrome/browser/ui/browser_init.h @@ -140,6 +140,10 @@ class BrowserInit { // returns false to specify default processing. bool OpenApplicationWindow(Profile* profile); + // If IsAppLaunch is true and the user set a pref indicating that the app + // should open in a tab, do so. + bool OpenApplicationTab(Profile* profile); + // Invoked from OpenURLsInBrowser to handle processing of urls. This may // do any of the following: // . Invoke ProcessStartupURLs if |process_startup| is true. |