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

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

Issue 10823350: Re-factor system tray code controlling launcher visibility (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 4 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.cc ('k') | ash/system/tray/tray_background_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_bubble.cc
diff --git a/ash/system/tray/system_tray_bubble.cc b/ash/system/tray/system_tray_bubble.cc
index cac7ebeb9008713ad9822af9e2236dda345ce124..695bb9d0c42da3b47ca6c51e3fd6fa3d69b462d1 100644
--- a/ash/system/tray/system_tray_bubble.cc
+++ b/ash/system/tray/system_tray_bubble.cc
@@ -320,10 +320,12 @@ void SystemTrayBubble::BubbleViewDestroyed() {
void SystemTrayBubble::OnMouseEnteredView() {
StopAutoCloseTimer();
+ tray_->UpdateShouldShowLauncher();
}
void SystemTrayBubble::OnMouseExitedView() {
RestartAutoCloseTimer();
+ tray_->UpdateShouldShowLauncher();
}
void SystemTrayBubble::OnClickedOutsideView() {
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/tray_background_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698