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

Unified Diff: chrome/browser/chromeos/status/input_method_menu_button.cc

Issue 7205027: Add accessible text to Language and clock buttons (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code Review Created 9 years, 6 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 | « chrome/browser/chromeos/status/clock_menu_button.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/status/input_method_menu_button.cc
diff --git a/chrome/browser/chromeos/status/input_method_menu_button.cc b/chrome/browser/chromeos/status/input_method_menu_button.cc
index 47f139afa36463d64c17dc443f57ac88b45c5858..5e82ba3fa4d6a93acdd95f29ffa25e79823abaf8 100644
--- a/chrome/browser/chromeos/status/input_method_menu_button.cc
+++ b/chrome/browser/chromeos/status/input_method_menu_button.cc
@@ -133,6 +133,7 @@ void InputMethodMenuButton::UpdateUI(const std::string& input_method_id,
SetTooltipText(tooltip);
}
SetText(name);
+ SetAccessibleName(WideToUTF16(tooltip));
if (WindowIsActive()) {
// We don't call these functions if the |current_window| is not active since
« no previous file with comments | « chrome/browser/chromeos/status/clock_menu_button.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698