Index: ash/system/tray/system_tray_bubble.h |
diff --git a/ash/system/tray/system_tray_bubble.h b/ash/system/tray/system_tray_bubble.h |
index a29e7488342e8db5a0051d04595d986bb16eb7ec..32a87d542389ef135424ab761619238fa2f3b6c3 100644 |
--- a/ash/system/tray/system_tray_bubble.h |
+++ b/ash/system/tray/system_tray_bubble.h |
@@ -75,6 +75,10 @@ class SystemTrayBubble : public base::MessagePumpObserver, |
BubbleType bubble_type); |
virtual ~SystemTrayBubble(); |
+ // Change the items displayed in the bubble. |
+ void UpdateView(const std::vector<ash::SystemTrayItem*>& items, |
+ BubbleType bubble_type); |
+ |
// Creates |bubble_view_| and a child views for each member of |items_|. |
// Also creates |bubble_widget_| and sets up animations. |
void InitView(views::View* anchor, |
@@ -94,6 +98,8 @@ class SystemTrayBubble : public base::MessagePumpObserver, |
void Close(); |
private: |
+ void CreateItemViews(user::LoginStatus login_status); |
+ |
// Overridden from base::MessagePumpObserver. |
virtual base::EventStatus WillProcessEvent( |
const base::NativeEvent& event) OVERRIDE; |