| 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 case WebLocalizedString::ResetButtonDefaultLabel: | 308 case WebLocalizedString::ResetButtonDefaultLabel: |
| 309 return IDS_FORM_RESET_LABEL; | 309 return IDS_FORM_RESET_LABEL; |
| 310 case WebLocalizedString::SearchableIndexIntroduction: | 310 case WebLocalizedString::SearchableIndexIntroduction: |
| 311 return IDS_SEARCHABLE_INDEX_INTRO; | 311 return IDS_SEARCHABLE_INDEX_INTRO; |
| 312 case WebLocalizedString::SearchMenuClearRecentSearchesText: | 312 case WebLocalizedString::SearchMenuClearRecentSearchesText: |
| 313 return IDS_RECENT_SEARCHES_CLEAR; | 313 return IDS_RECENT_SEARCHES_CLEAR; |
| 314 case WebLocalizedString::SearchMenuNoRecentSearchesText: | 314 case WebLocalizedString::SearchMenuNoRecentSearchesText: |
| 315 return IDS_RECENT_SEARCHES_NONE; | 315 return IDS_RECENT_SEARCHES_NONE; |
| 316 case WebLocalizedString::SearchMenuRecentSearchesText: | 316 case WebLocalizedString::SearchMenuRecentSearchesText: |
| 317 return IDS_RECENT_SEARCHES; | 317 return IDS_RECENT_SEARCHES; |
| 318 case WebLocalizedString::SelectMenuListText: |
| 319 return IDS_FORM_SELECT_MENU_LIST_TEXT; |
| 318 case WebLocalizedString::SubmitButtonDefaultLabel: | 320 case WebLocalizedString::SubmitButtonDefaultLabel: |
| 319 return IDS_FORM_SUBMIT_LABEL; | 321 return IDS_FORM_SUBMIT_LABEL; |
| 320 case WebLocalizedString::ThisMonthButtonLabel: | 322 case WebLocalizedString::ThisMonthButtonLabel: |
| 321 return IDS_FORM_THIS_MONTH_LABEL; | 323 return IDS_FORM_THIS_MONTH_LABEL; |
| 322 case WebLocalizedString::ThisWeekButtonLabel: | 324 case WebLocalizedString::ThisWeekButtonLabel: |
| 323 return IDS_FORM_THIS_WEEK_LABEL; | 325 return IDS_FORM_THIS_WEEK_LABEL; |
| 324 case WebLocalizedString::ValidationBadInputForDateTime: | 326 case WebLocalizedString::ValidationBadInputForDateTime: |
| 325 return IDS_FORM_VALIDATION_BAD_INPUT_DATETIME; | 327 return IDS_FORM_VALIDATION_BAD_INPUT_DATETIME; |
| 326 case WebLocalizedString::ValidationBadInputForNumber: | 328 case WebLocalizedString::ValidationBadInputForNumber: |
| 327 return IDS_FORM_VALIDATION_BAD_INPUT_NUMBER; | 329 return IDS_FORM_VALIDATION_BAD_INPUT_NUMBER; |
| (...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1092 } | 1094 } |
| 1093 | 1095 |
| 1094 // static | 1096 // static |
| 1095 void BlinkPlatformImpl::DestroyCurrentThread(void* thread) { | 1097 void BlinkPlatformImpl::DestroyCurrentThread(void* thread) { |
| 1096 WebThreadImplForMessageLoop* impl = | 1098 WebThreadImplForMessageLoop* impl = |
| 1097 static_cast<WebThreadImplForMessageLoop*>(thread); | 1099 static_cast<WebThreadImplForMessageLoop*>(thread); |
| 1098 delete impl; | 1100 delete impl; |
| 1099 } | 1101 } |
| 1100 | 1102 |
| 1101 } // namespace content | 1103 } // namespace content |
| OLD | NEW |