diff options
Diffstat (limited to 'ash/system/tray/system_tray.h')
-rw-r--r-- | ash/system/tray/system_tray.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ash/system/tray/system_tray.h b/ash/system/tray/system_tray.h index fc2fdc1..ce72c92 100644 --- a/ash/system/tray/system_tray.h +++ b/ash/system/tray/system_tray.h @@ -62,6 +62,9 @@ class ASH_EXPORT SystemTray : public views::View, // Updates the items when the login status of the system changes. void UpdateAfterLoginStatusChange(user::LoginStatus login_status); + // Returns true if a bubble is currently showing. + bool showing_bubble() const { return bubble_ != NULL; } + const ScopedVector<SystemTrayItem>& items() const { return items_; } // Sets whether the tray paints a background. Default is true, but is set to |