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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc

Issue 130983007: Creating multi profile animations for switching users and teleporting of windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Created 6 years, 11 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
Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
index 80d59a21a952586a4ed781cdccac7b80188dc8e5..ebdc893eed7fa764b796ae376a5a6f089e324d06 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
@@ -903,6 +903,10 @@ class SystemTrayDelegate : public ash::SystemTrayDelegate,
IDS_SYSTEM_TRAY_MENU_BUBBLE_WIDTH_PIXELS);
}
+ virtual void ActiveUserWasChanged() OVERRIDE {
+ GetSystemTrayNotifier()->NotifyUserUpdate();
+ }
+
private:
ash::SystemTray* GetPrimarySystemTray() {
return ash::Shell::GetInstance()->GetPrimarySystemTray();
@@ -1299,10 +1303,6 @@ class SystemTrayDelegate : public ash::SystemTrayDelegate,
}
// Overridden from ash::SessionStateObserver
- virtual void ActiveUserChanged(const std::string& user_id) OVERRIDE {
- GetSystemTrayNotifier()->NotifyUserUpdate();
- }
-
virtual void UserAddedToSession(const std::string& user_id) OVERRIDE {
GetSystemTrayNotifier()->NotifyUserAddedToSession();
}

Powered by Google App Engine
This is Rietveld 408576698