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

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: fix test failure on win_rel 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
« no previous file with comments | « ash/system/tray/system_tray.h ('k') | ash/system/tray_accessibility.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « ash/system/tray/system_tray.h ('k') | ash/system/tray_accessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698