Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Unified Diff: ash/system/tray/system_tray.cc

Issue 13454034: Disable system tray features that are not going to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray.cc
===================================================================
--- ash/system/tray/system_tray.cc (revision 192629)
+++ ash/system/tray/system_tray.cc (working copy)
@@ -135,31 +135,39 @@
}
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));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698