| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/child/blink_platform_impl.h" | 5 #include "content/child/blink_platform_impl.h" |
| 6 | 6 |
| 7 #include <math.h> | 7 #include <math.h> |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 case WebLocalizedString::AXAMPMFieldText: | 168 case WebLocalizedString::AXAMPMFieldText: |
| 169 return IDS_AX_AM_PM_FIELD_TEXT; | 169 return IDS_AX_AM_PM_FIELD_TEXT; |
| 170 case WebLocalizedString::AXButtonActionVerb: | 170 case WebLocalizedString::AXButtonActionVerb: |
| 171 return IDS_AX_BUTTON_ACTION_VERB; | 171 return IDS_AX_BUTTON_ACTION_VERB; |
| 172 case WebLocalizedString::AXCalendarShowMonthSelector: | 172 case WebLocalizedString::AXCalendarShowMonthSelector: |
| 173 return IDS_AX_CALENDAR_SHOW_MONTH_SELECTOR; | 173 return IDS_AX_CALENDAR_SHOW_MONTH_SELECTOR; |
| 174 case WebLocalizedString::AXCalendarShowNextMonth: | 174 case WebLocalizedString::AXCalendarShowNextMonth: |
| 175 return IDS_AX_CALENDAR_SHOW_NEXT_MONTH; | 175 return IDS_AX_CALENDAR_SHOW_NEXT_MONTH; |
| 176 case WebLocalizedString::AXCalendarShowPreviousMonth: | 176 case WebLocalizedString::AXCalendarShowPreviousMonth: |
| 177 return IDS_AX_CALENDAR_SHOW_PREVIOUS_MONTH; | 177 return IDS_AX_CALENDAR_SHOW_PREVIOUS_MONTH; |
| 178 case WebLocalizedString::AXCalendarWeekDescription: |
| 179 return IDS_AX_CALENDAR_WEEK_DESCRIPTION; |
| 178 case WebLocalizedString::AXCheckedCheckBoxActionVerb: | 180 case WebLocalizedString::AXCheckedCheckBoxActionVerb: |
| 179 return IDS_AX_CHECKED_CHECK_BOX_ACTION_VERB; | 181 return IDS_AX_CHECKED_CHECK_BOX_ACTION_VERB; |
| 180 case WebLocalizedString::AXDateTimeFieldEmptyValueText: | 182 case WebLocalizedString::AXDateTimeFieldEmptyValueText: |
| 181 return IDS_AX_DATE_TIME_FIELD_EMPTY_VALUE_TEXT; | 183 return IDS_AX_DATE_TIME_FIELD_EMPTY_VALUE_TEXT; |
| 182 case WebLocalizedString::AXDayOfMonthFieldText: | 184 case WebLocalizedString::AXDayOfMonthFieldText: |
| 183 return IDS_AX_DAY_OF_MONTH_FIELD_TEXT; | 185 return IDS_AX_DAY_OF_MONTH_FIELD_TEXT; |
| 184 case WebLocalizedString::AXHeadingText: | 186 case WebLocalizedString::AXHeadingText: |
| 185 return IDS_AX_ROLE_HEADING; | 187 return IDS_AX_ROLE_HEADING; |
| 186 case WebLocalizedString::AXHourFieldText: | 188 case WebLocalizedString::AXHourFieldText: |
| 187 return IDS_AX_HOUR_FIELD_TEXT; | 189 return IDS_AX_HOUR_FIELD_TEXT; |
| (...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1201 } | 1203 } |
| 1202 | 1204 |
| 1203 // static | 1205 // static |
| 1204 void BlinkPlatformImpl::DestroyCurrentThread(void* thread) { | 1206 void BlinkPlatformImpl::DestroyCurrentThread(void* thread) { |
| 1205 WebThreadImplForMessageLoop* impl = | 1207 WebThreadImplForMessageLoop* impl = |
| 1206 static_cast<WebThreadImplForMessageLoop*>(thread); | 1208 static_cast<WebThreadImplForMessageLoop*>(thread); |
| 1207 delete impl; | 1209 delete impl; |
| 1208 } | 1210 } |
| 1209 | 1211 |
| 1210 } // namespace content | 1212 } // namespace content |
| OLD | NEW |