Index: ash/system/tray/system_tray.h |
diff --git a/ash/system/tray/system_tray.h b/ash/system/tray/system_tray.h |
index 24e8257e3ef94eaddda38f23ea5fc1d267c9417d..c818b4b1a0ce74cb2b2199359f6460845caf1a9f 100644 |
--- a/ash/system/tray/system_tray.h |
+++ b/ash/system/tray/system_tray.h |
@@ -80,6 +80,9 @@ class ASH_EXPORT SystemTray : public internal::ActionableView, |
// seconds. |
void SetDetailedViewCloseDelay(int close_delay); |
+ // Hides the detailed view for |item|. |
+ void HideDetailedView(SystemTrayItem* item); |
+ |
// Shows the notification view for |item|. |
void ShowNotificationView(SystemTrayItem* item); |
@@ -190,8 +193,11 @@ class ASH_EXPORT SystemTray : public internal::ActionableView, |
// Overridden from internal::BackgroundAnimatorDelegate. |
virtual void UpdateBackground(int alpha) OVERRIDE; |
+ // Owned items. |
ScopedVector<SystemTrayItem> items_; |
+ // Pointers to members of |items_|. |
+ SystemTrayItem* detailed_item_; |
std::vector<SystemTrayItem*> notification_items_; |
// The container for all the tray views of the items. |