Commit 4abeebc4 authored by cpu@chromium.org's avatar cpu@chromium.org

Disable system tray features that are not going to

be in the launch release.

We are disabling for windows
- Logon / Logoff / user
- Power
- Bluetooth
- Volume
- Caps lock
- Screen brigthness


BUG=227247
TEST=see bug
Review URL: https://codereview.chromium.org/13454034

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192842 0039d316-1c4b-4281-b951-d872f2087c98
parent a5e95526
......@@ -135,31 +135,39 @@ void SystemTray::InitializeTrayItems(SystemTrayDelegate* delegate) {
}
void SystemTray::CreateItems(SystemTrayDelegate* delegate) {
#if !defined(OS_WIN)
AddTrayItem(new internal::TraySessionLengthLimit(this));
AddTrayItem(new internal::TrayLogoutButton(this));
AddTrayItem(new internal::TrayUser(this));
#endif
#if defined(OS_CHROMEOS)
AddTrayItem(new internal::TrayEnterprise(this));
#endif
AddTrayItem(new internal::TrayIME(this));
tray_accessibility_ = new internal::TrayAccessibility(this);
AddTrayItem(tray_accessibility_);
#if !defined(OS_WIN)
AddTrayItem(new internal::TrayPower(this));
#endif
#if defined(OS_CHROMEOS)
AddTrayItem(new internal::TrayNetwork(this));
AddTrayItem(new internal::TrayVPN(this));
AddTrayItem(new internal::TraySms(this));
#endif
#if !defined(OS_WIN)
AddTrayItem(new internal::TrayBluetooth(this));
#endif
AddTrayItem(new internal::TrayDrive(this));
AddTrayItem(new internal::TrayLocale(this));
#if defined(OS_CHROMEOS)
AddTrayItem(new internal::TrayDisplay(this));
AddTrayItem(new internal::TrayScreenCapture(this));
#endif
#if !defined(OS_WIN)
AddTrayItem(new internal::TrayVolume(this));
AddTrayItem(new internal::TrayBrightness(this));
AddTrayItem(new internal::TrayCapsLock(this));
#endif
AddTrayItem(new internal::TraySettings(this));
AddTrayItem(new internal::TrayUpdate(this));
AddTrayItem(new internal::TrayDate(this));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment