| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "webkit/glue/webkitplatformsupport_impl.h" | 5 #include "webkit/glue/webkitplatformsupport_impl.h" |
| 6 | 6 |
| 7 #if defined(OS_LINUX) | 7 #if defined(OS_LINUX) |
| 8 #include <malloc.h> | 8 #include <malloc.h> |
| 9 #endif | 9 #endif |
| 10 | 10 |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 case WebLocalizedString::ValidationValueMissingForCheckbox: | 252 case WebLocalizedString::ValidationValueMissingForCheckbox: |
| 253 return IDS_FORM_VALIDATION_VALUE_MISSING_CHECKBOX; | 253 return IDS_FORM_VALIDATION_VALUE_MISSING_CHECKBOX; |
| 254 case WebLocalizedString::ValidationValueMissingForFile: | 254 case WebLocalizedString::ValidationValueMissingForFile: |
| 255 return IDS_FORM_VALIDATION_VALUE_MISSING_FILE; | 255 return IDS_FORM_VALIDATION_VALUE_MISSING_FILE; |
| 256 case WebLocalizedString::ValidationValueMissingForMultipleFile: | 256 case WebLocalizedString::ValidationValueMissingForMultipleFile: |
| 257 return IDS_FORM_VALIDATION_VALUE_MISSING_MULTIPLE_FILE; | 257 return IDS_FORM_VALIDATION_VALUE_MISSING_MULTIPLE_FILE; |
| 258 case WebLocalizedString::ValidationValueMissingForRadio: | 258 case WebLocalizedString::ValidationValueMissingForRadio: |
| 259 return IDS_FORM_VALIDATION_VALUE_MISSING_RADIO; | 259 return IDS_FORM_VALIDATION_VALUE_MISSING_RADIO; |
| 260 case WebLocalizedString::ValidationValueMissingForSelect: | 260 case WebLocalizedString::ValidationValueMissingForSelect: |
| 261 return IDS_FORM_VALIDATION_VALUE_MISSING_SELECT; | 261 return IDS_FORM_VALIDATION_VALUE_MISSING_SELECT; |
| 262 case WebLocalizedString::WeekFormatTemplate: |
| 263 return IDS_FORM_INPUT_WEEK_TEMPLATE; |
| 262 // This "default:" line exists to avoid compile warnings about enum | 264 // This "default:" line exists to avoid compile warnings about enum |
| 263 // coverage when we add a new symbol to WebLocalizedString.h in WebKit. | 265 // coverage when we add a new symbol to WebLocalizedString.h in WebKit. |
| 264 // After a planned WebKit patch is landed, we need to add a case statement | 266 // After a planned WebKit patch is landed, we need to add a case statement |
| 265 // for the added symbol here. | 267 // for the added symbol here. |
| 266 default: | 268 default: |
| 267 break; | 269 break; |
| 268 } | 270 } |
| 269 return -1; | 271 return -1; |
| 270 } | 272 } |
| 271 | 273 |
| (...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 851 worker_task_runner->OnWorkerRunLoopStopped(runLoop); | 853 worker_task_runner->OnWorkerRunLoopStopped(runLoop); |
| 852 } | 854 } |
| 853 | 855 |
| 854 #if defined(OS_ANDROID) | 856 #if defined(OS_ANDROID) |
| 855 WebKit::WebFlingAnimator* WebKitPlatformSupportImpl::createFlingAnimator() { | 857 WebKit::WebFlingAnimator* WebKitPlatformSupportImpl::createFlingAnimator() { |
| 856 return new FlingAnimatorImpl(); | 858 return new FlingAnimatorImpl(); |
| 857 } | 859 } |
| 858 #endif | 860 #endif |
| 859 | 861 |
| 860 } // namespace webkit_glue | 862 } // namespace webkit_glue |
| OLD | NEW |