| Index: ash/system/tray/system_tray.cc
|
| diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc
|
| index 7e442153a5b1912ef2db8543bc8d8c5717e21665..8257a8f34896817d97e2f223d35e74b2e4fdabfa 100644
|
| --- a/ash/system/tray/system_tray.cc
|
| +++ b/ash/system/tray/system_tray.cc
|
| @@ -12,6 +12,7 @@
|
| #include "ash/system/tray/system_tray_item.h"
|
| #include "ash/system/user/login_status.h"
|
| #include "ash/wm/shadow_types.h"
|
| +#include "ash/wm/shelf_layout_manager.h"
|
| #include "ash/wm/window_animations.h"
|
| #include "base/logging.h"
|
| #include "base/timer.h"
|
| @@ -526,6 +527,8 @@ void SystemTray::ShowItems(std::vector<SystemTrayItem*>& items,
|
| base::TimeDelta::FromMilliseconds(kAnimationDurationForPopupMS));
|
|
|
| bubble_->Show();
|
| +
|
| + Shell::GetInstance()->shelf()->UpdateAutoHideState();
|
| }
|
|
|
| bool SystemTray::OnKeyPressed(const views::KeyEvent& event) {
|
| @@ -573,6 +576,7 @@ void SystemTray::OnWidgetClosing(views::Widget* widget) {
|
| CHECK_EQ(popup_, widget);
|
| popup_ = NULL;
|
| bubble_ = NULL;
|
| + Shell::GetInstance()->shelf()->UpdateAutoHideState();
|
| }
|
|
|
| void SystemTray::UpdateBackground(int alpha) {
|
|
|