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

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

Issue 496563002: Multiprofile security: Show a warning messagebox when desktop casting/sharing is turned on upon user (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed release unit test failure on server Created 6 years, 4 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 | « ash/system/tray/system_tray.h ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray.cc
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc
index 9bd30a016436bd6ba49874f137e2528f86410131..cbd5f13bd2c02bb3e4db8b16ff951de99264e3b7 100644
--- a/ash/system/tray/system_tray.cc
+++ b/ash/system/tray/system_tray.cc
@@ -182,8 +182,10 @@ void SystemTray::CreateItems(SystemTrayDelegate* delegate) {
AddTrayItem(new TraySms(this));
AddTrayItem(new TrayBluetooth(this));
AddTrayItem(new TrayDisplay(this));
- AddTrayItem(new ScreenCaptureTrayItem(this));
- AddTrayItem(new ScreenShareTrayItem(this));
+ screen_capture_tray_item_ = new ScreenCaptureTrayItem(this);
+ AddTrayItem(screen_capture_tray_item_);
+ screen_share_tray_item_ = new ScreenShareTrayItem(this);
+ AddTrayItem(screen_share_tray_item_);
AddTrayItem(new MultiProfileMediaTrayItem(this));
AddTrayItem(new TrayAudioChromeOs(this));
AddTrayItem(new TrayBrightness(this));
« no previous file with comments | « ash/system/tray/system_tray.h ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698