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

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: . 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
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();
sadrul 2012/08/16 15:31:49 Can this hide the launcher immediately? Or after s
stevenjb 2012/08/16 16:59:04 Currently the launcher is hidden immediately, whic
}
void SystemTrayBubble::OnClickedOutsideView() {

Powered by Google App Engine
This is Rietveld 408576698