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

Unified Diff: chrome/browser/chromeos/status/clock_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 | « no previous file | chrome/browser/chromeos/status/input_method_menu_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/status/clock_menu_button.cc
diff --git a/chrome/browser/chromeos/status/clock_menu_button.cc b/chrome/browser/chromeos/status/clock_menu_button.cc
index d8cc2b154971ab28e5c3472cf7e817f4c0821bca..c5c8bbaa7167e825fbf9415ee5364bfee11af109 100644
--- a/chrome/browser/chromeos/status/clock_menu_button.cc
+++ b/chrome/browser/chromeos/status/clock_menu_button.cc
@@ -92,6 +92,7 @@ void ClockMenuButton::UpdateText() {
use_24hour_clock ? base::k24HourClock : base::k12HourClock,
base::kDropAmPm)));
SetTooltipText(UTF16ToWide(base::TimeFormatShortDate(time)));
+ SetAccessibleName(base::TimeFormatFriendlyDateAndTime(time));
SchedulePaint();
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/status/input_method_menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698