Index: ash/system/tray/tray_background_view.cc |
diff --git a/ash/system/tray/tray_background_view.cc b/ash/system/tray/tray_background_view.cc |
index 766577f571808a53364c02fc77ec3e8b81ac5496..67e15580279f10b55588f5a1b50ba59a045a767b 100644 |
--- a/ash/system/tray/tray_background_view.cc |
+++ b/ash/system/tray/tray_background_view.cc |
@@ -189,11 +189,13 @@ void TrayBackgroundView::Initialize() { |
void TrayBackgroundView::OnMouseEntered(const ui::MouseEvent& event) { |
hover_background_animator_.SetPaintsBackground(true, |
internal::BackgroundAnimator::CHANGE_ANIMATE); |
+ UpdateShouldShowLauncher(); |
} |
void TrayBackgroundView::OnMouseExited(const ui::MouseEvent& event) { |
hover_background_animator_.SetPaintsBackground(false, |
internal::BackgroundAnimator::CHANGE_ANIMATE); |
+ UpdateShouldShowLauncher(); |
} |
void TrayBackgroundView::ChildPreferredSizeChanged(views::View* child) { |
@@ -270,5 +272,9 @@ void TrayBackgroundView::SetBorder() { |
} |
} |
+void TrayBackgroundView::UpdateShouldShowLauncher() { |
+ status_area_widget()->UpdateShouldShowLauncher(); |
+} |
+ |
} // namespace internal |
} // namespace ash |