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

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

Issue 10836227: Fix status area accessability issues. (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 49fe1d5ff54c775cbf21395068785e8d610615ff..8cfe2bc963cd4ffb23fecb5dd723a133346790f9 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/15 16:47:01 Will this hide the launcher immediately?
stevenjb 2012/08/15 21:51:04 This will trigger a call to Shell::GetInstance()->
}
void SystemTrayBubble::OnClickedOutsideView() {
@@ -331,6 +333,10 @@ void SystemTrayBubble::OnClickedOutsideView() {
bubble_widget_->Close();
}
+string16 SystemTrayBubble::GetAccessibleName() {
+ return tray_->GetAccessibleName();
+}
+
void SystemTrayBubble::DestroyItemViews() {
for (std::vector<ash::SystemTrayItem*>::iterator it = items_.begin();
it != items_.end();

Powered by Google App Engine
This is Rietveld 408576698