diff options
Diffstat (limited to 'ash/system/tray/system_tray.h')
-rw-r--r-- | ash/system/tray/system_tray.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/system/tray/system_tray.h b/ash/system/tray/system_tray.h index 13de3f6..0fcd5e6 100644 --- a/ash/system/tray/system_tray.h +++ b/ash/system/tray/system_tray.h @@ -7,6 +7,7 @@ #pragma once #include "ash/ash_export.h" +#include "ash/system/user/login_status.h" #include "base/basictypes.h" #include "ui/views/view.h" #include "ui/views/widget/widget.h" @@ -32,6 +33,9 @@ class ASH_EXPORT SystemTray : public views::View, // Shows details of a particular item. void ShowDetailedView(SystemTrayItem* item); + // Updates the items when the login status of the system changes. + void UpdateAfterLoginStatusChange(user::LoginStatus login_status); + const std::vector<SystemTrayItem*>& items() const { return items_; } private: |