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

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: . 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
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,

Powered by Google App Engine
This is Rietveld 408576698