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

Unified Diff: ash/system/tray/system_tray_bubble.h

Issue 10384178: ash: Make sure all the sub-popups retain the same height as the main popup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/system_tray_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/system_tray_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698