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

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 by default 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
« no previous file with comments | « ash/common/system/tray/tray_item_more.cc ('k') | ash/common/system/update/tray_update.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray_accessibility.cc
diff --git a/ash/common/system/tray_accessibility.cc b/ash/common/system/tray_accessibility.cc
index 055ececc8f014f21f1eb3b138fd09b9ecbd5b005..6f997a832844c8ed3f40cb3e8e45f3bfe95f917b 100644
--- a/ash/common/system/tray_accessibility.cc
+++ b/ash/common/system/tray_accessibility.cc
@@ -303,6 +303,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
« no previous file with comments | « ash/common/system/tray/tray_item_more.cc ('k') | ash/common/system/update/tray_update.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698