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

Unified Diff: ash/system/tray/system_tray_item.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_bubble.cc ('k') | ash/system/tray/system_tray_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_item.h
diff --git a/ash/system/tray/system_tray_item.h b/ash/system/tray/system_tray_item.h
index fb898318e2b5081c4a43f1bfa9028289ab6243ea..e91bda490dfe2f9e0ba120ab9649983ad2bc9777 100644
--- a/ash/system/tray/system_tray_item.h
+++ b/ash/system/tray/system_tray_item.h
@@ -58,6 +58,14 @@ class ASH_EXPORT SystemTrayItem {
// default/detailed popup is closed when login status changes.
virtual void UpdateAfterLoginStatusChange(user::LoginStatus status) = 0;
+ // Shows the detailed view for this item. If the main popup for the tray is
+ // currently visible, then making this call would use the existing window to
+ // display the detailed item. The detailed item will inherit the bounds of the
+ // existing window.
+ // If there is no existing view, then this is equivalent to calling
+ // PopupDetailedView(0, true).
+ void TransitionDetailedView();
+
// Pops up the detailed view for this item. An item can request to show its
// detailed view using this function (e.g. from an observer callback when
// something, e.g. volume, network availability etc. changes). If
« no previous file with comments | « ash/system/tray/system_tray_bubble.cc ('k') | ash/system/tray/system_tray_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698