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

Unified Diff: ash/system/user/tray_user.cc

Issue 11421167: Fixed non-speaking Sign out buttons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/logout_button/tray_logout_button.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/user/tray_user.cc
diff --git a/ash/system/user/tray_user.cc b/ash/system/user/tray_user.cc
index 8e947396c1385aa586aff3e5ab74ad4606bf430e..d55ac7da0720eee2bd1c8d9748ae44d15430dd4f 100644
--- a/ash/system/user/tray_user.cc
+++ b/ash/system/user/tray_user.cc
@@ -129,8 +129,10 @@ class UserView : public views::View,
// Create container for buttons.
void AddButtonContainer() {
- TrayPopupLabelButton* button = new TrayPopupLabelButton(this,
- ash::user::GetLocalizedSignOutStringForStatus(login_, true));
+ const string16 title = ash::user::GetLocalizedSignOutStringForStatus(login_,
+ true);
+ TrayPopupLabelButton* button = new TrayPopupLabelButton(this, title);
+ button->SetAccessibleName(title);
AddChildView(button);
signout_ = button;
}
« no previous file with comments | « ash/system/logout_button/tray_logout_button.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698