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

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

Issue 11519036: A11y: Add a browser test of TrayAccessibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase (r172817) Created 8 years 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.cc
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc
index d225ce056ab0589a5577da55b18d52121a851a44..66688cfe8ede3d56168b4ba614ec3695a6542d26 100644
--- a/ash/system/tray/system_tray.cc
+++ b/ash/system/tray/system_tray.cc
@@ -131,7 +131,8 @@ void SystemTray::CreateItems(SystemTrayDelegate* delegate) {
AddTrayItem(new internal::TrayLogoutButton(this));
AddTrayItem(new internal::TrayUser(this));
AddTrayItem(new internal::TrayIME(this));
- AddTrayItem(new internal::TrayAccessibility(this));
+ tray_accessibility_ = new internal::TrayAccessibility(this);
+ AddTrayItem(tray_accessibility_);
AddTrayItem(new internal::TrayPower(this));
#if defined(OS_CHROMEOS)
AddTrayItem(new internal::TrayNetwork(this));

Powered by Google App Engine
This is Rietveld 408576698