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

Unified Diff: webkit/glue/webkitplatformsupport_impl.cc

Issue 10911141: Adds localized strings for accessibility of input type "time" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch 3 - Simplify message description and make labels Capital and use plural for time fields, e.g.… Created 8 years, 3 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 | « webkit/glue/webkit_strings.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webkitplatformsupport_impl.cc
diff --git a/webkit/glue/webkitplatformsupport_impl.cc b/webkit/glue/webkitplatformsupport_impl.cc
index b4c5d139dbf8df768dab55fc3d10bec0ad9d36fb..3a9590ba61f1aac7cdd380531dbd9f8fbb7b517a 100644
--- a/webkit/glue/webkitplatformsupport_impl.cc
+++ b/webkit/glue/webkitplatformsupport_impl.cc
@@ -125,12 +125,20 @@ namespace webkit_glue {
static int ToMessageID(WebLocalizedString::Name name) {
switch (name) {
+ case WebLocalizedString::AXAMPMFieldText:
+ return IDS_AX_AM_PM_FIELD_TEXT;
case WebLocalizedString::AXButtonActionVerb:
return IDS_AX_BUTTON_ACTION_VERB;
case WebLocalizedString::AXCheckedCheckBoxActionVerb:
return IDS_AX_CHECKED_CHECK_BOX_ACTION_VERB;
+ case WebLocalizedString::AXDateTimeFieldEmptyValueText:
+ return IDS_AX_DATE_TIME_FIELD_EMPTY_VALUE_TEXT;
+ case WebLocalizedString::AXDayOfMonthFieldText:
+ return IDS_AX_DAY_OF_MONTH_FIELD_TEXT;
case WebLocalizedString::AXHeadingText:
return IDS_AX_ROLE_HEADING;
+ case WebLocalizedString::AXHourFieldText:
+ return IDS_AX_HOUR_FIELD_TEXT;
case WebLocalizedString::AXImageMapText:
return IDS_AX_ROLE_IMAGE_MAP;
case WebLocalizedString::AXLinkActionVerb:
@@ -139,14 +147,26 @@ static int ToMessageID(WebLocalizedString::Name name) {
return IDS_AX_ROLE_LINK;
case WebLocalizedString::AXListMarkerText:
return IDS_AX_ROLE_LIST_MARKER;
+ case WebLocalizedString::AXMillisecondFieldText:
+ return IDS_AX_MILLISECOND_FIELD_TEXT;
+ case WebLocalizedString::AXMinuteFieldText:
+ return IDS_AX_MINUTE_FIELD_TEXT;
+ case WebLocalizedString::AXMonthFieldText:
+ return IDS_AX_MONTH_FIELD_TEXT;
case WebLocalizedString::AXRadioButtonActionVerb:
return IDS_AX_RADIO_BUTTON_ACTION_VERB;
+ case WebLocalizedString::AXSecondFieldText:
+ return IDS_AX_SECOND_FIELD_TEXT;
case WebLocalizedString::AXTextFieldActionVerb:
return IDS_AX_TEXT_FIELD_ACTION_VERB;
case WebLocalizedString::AXUncheckedCheckBoxActionVerb:
return IDS_AX_UNCHECKED_CHECK_BOX_ACTION_VERB;
case WebLocalizedString::AXWebAreaText:
return IDS_AX_ROLE_WEB_AREA;
+ case WebLocalizedString::AXWeekOfYearFieldText:
+ return IDS_AX_WEEK_OF_YEAR_FIELD_TEXT;
+ case WebLocalizedString::AXYearFieldText:
+ return IDS_AX_YEAR_FIELD_TEXT;
case WebLocalizedString::CalendarClear:
return IDS_FORM_CALENDAR_CLEAR;
case WebLocalizedString::CalendarToday:
« no previous file with comments | « webkit/glue/webkit_strings.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698