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

Unified Diff: ash/system/tray/system_tray_item.cc

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_item.h ('k') | ash/system/tray/system_tray_unittest.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.cc
diff --git a/ash/system/tray/system_tray_item.cc b/ash/system/tray/system_tray_item.cc
index ed5cdd25e4b548836fdd9db1430c030397918afd..61ea10f528247980b67663161e583bf5605c9fe7 100644
--- a/ash/system/tray/system_tray_item.cc
+++ b/ash/system/tray/system_tray_item.cc
@@ -44,8 +44,14 @@ void SystemTrayItem::DestroyDetailedView() {
void SystemTrayItem::DestroyNotificationView() {
}
+void SystemTrayItem::TransitionDetailedView() {
+ Shell::GetInstance()->tray()->ShowDetailedView(this, 0, true,
+ BUBBLE_USE_EXISTING);
+}
+
void SystemTrayItem::PopupDetailedView(int for_seconds, bool activate) {
- Shell::GetInstance()->tray()->ShowDetailedView(this, for_seconds, activate);
+ Shell::GetInstance()->tray()->ShowDetailedView(this, for_seconds, activate,
+ BUBBLE_CREATE_NEW);
}
void SystemTrayItem::SetDetailedViewCloseDelay(int for_seconds) {
« no previous file with comments | « ash/system/tray/system_tray_item.h ('k') | ash/system/tray/system_tray_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698