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

Unified Diff: ash/common/system/tray_accessibility.cc

Issue 2330403002: Do not activate system tray bubble by default (Closed)
Patch Set: Do not activate system tray bubble Created 4 years, 3 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/common/system/tray_accessibility.cc
diff --git a/ash/common/system/tray_accessibility.cc b/ash/common/system/tray_accessibility.cc
index 273a93937a0aff907e732b51e109e1b83d867279..b0f5b4db38247497856a66cc0015636fb8d451cf 100644
--- a/ash/common/system/tray_accessibility.cc
+++ b/ash/common/system/tray_accessibility.cc
@@ -291,6 +291,9 @@ void AccessibilityDetailedView::HandleButtonPressed(views::Button* sender,
tray_delegate->ShowAccessibilityHelp();
else if (sender == settings_view_)
tray_delegate->ShowAccessibilitySettings();
+ else
+ return;
+ owner()->system_tray()->CloseSystemBubble();
}
} // namespace tray

Powered by Google App Engine
This is Rietveld 408576698