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 7791748bf6185b1e7257e503f4c2e6f1d58d3005..8859e6be93475b8e6310d1d4183032d5f8e73475 100644 |
--- a/ash/system/tray/system_tray_bubble.h |
+++ b/ash/system/tray/system_tray_bubble.h |
@@ -53,8 +53,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); |
}; |
@@ -81,6 +84,7 @@ class SystemTrayBubble : public base::MessagePumpObserver, |
bool can_activate; |
ash::user::LoginStatus login_status; |
int arrow_offset; |
+ int max_height; |
}; |
SystemTrayBubble(ash::SystemTray* tray, |