diff options
author | atwilson@google.com <atwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 21:29:05 +0000 |
---|---|---|
committer | atwilson@google.com <atwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 21:29:05 +0000 |
commit | a24642a800c1712eeaa791f0fb0ed1527885c6fb (patch) | |
tree | 925671bf6414abcc8da68cd48a6085fa0007dd6b /chrome/browser/browser_init.cc | |
parent | 45e9bcaa8bd6ff0eb2bf61d7100b1faacd2ccef4 (diff) | |
download | chromium_src-a24642a800c1712eeaa791f0fb0ed1527885c6fb.zip chromium_src-a24642a800c1712eeaa791f0fb0ed1527885c6fb.tar.gz chromium_src-a24642a800c1712eeaa791f0fb0ed1527885c6fb.tar.bz2 |
Implement status icons on windows.
Refactor existing status icon code to allow platform-specific StatusTray implementation to
track common state for all status icons.
BUG=37375
TEST=new unit tests
Review URL: http://codereview.chromium.org/1136005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42538 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_init.cc')
-rw-r--r-- | chrome/browser/browser_init.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc index 34e61b3a..4d45cdd 100644 --- a/chrome/browser/browser_init.cc +++ b/chrome/browser/browser_init.cc @@ -421,17 +421,13 @@ bool BrowserInit::LaunchBrowser( chromeos::CrosLibrary::Get()->GetPowerLibrary()->AddObserver(observer); } #endif -#if defined(OS_MACOSX) - // TODO(atwilson): Status tray UI is currently only supported on the mac - // (http://crbug.com/37375). + if (command_line.HasSwitch(switches::kLongLivedExtensions)) { // Create status icons StatusTrayManager* tray = g_browser_process->status_tray_manager(); if (tray) tray->Init(profile); } -#endif - return true; } |