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

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

Issue 10407080: Add NetworkNotificationView to tray_network. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix NOTREACHED 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 90804c62583c7bb96840c46038ab8ebd8e495bfd..d26c592249558a1b2a21dbbee02fc52824074b8d 100644
--- a/ash/system/tray/system_tray_bubble.h
+++ b/ash/system/tray/system_tray_bubble.h
@@ -54,8 +54,11 @@ class SystemTrayBubbleView : public views::BubbleDelegateView {
virtual void OnMouseEntered(const views::MouseEvent& event) OVERRIDE;
virtual void OnMouseExited(const views::MouseEvent& event) OVERRIDE;
+ void set_max_height(int height) { max_height_ = height; }
+
SystemTrayBubble* host_;
bool can_activate_;
+ int max_height_;
DISALLOW_COPY_AND_ASSIGN(SystemTrayBubbleView);
};
@@ -82,6 +85,7 @@ class SystemTrayBubble : public base::MessagePumpObserver,
bool can_activate;
ash::user::LoginStatus login_status;
int arrow_offset;
+ int max_height;
};
SystemTrayBubble(ash::SystemTray* tray,
« 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