Index: webkit/support/test_webkit_platform_support.cc |
diff --git a/webkit/support/test_webkit_platform_support.cc b/webkit/support/test_webkit_platform_support.cc |
index 6fd34f32dd14dd9a66de29fd0c211b43c49bd9e4..71b7ca4f58214261b20a57320e9d672fb4753050 100644 |
--- a/webkit/support/test_webkit_platform_support.cc |
+++ b/webkit/support/test_webkit_platform_support.cc |
@@ -267,7 +267,8 @@ WebKit::WebData TestWebKitPlatformSupport::loadResource(const char* name) { |
WebKit::WebString TestWebKitPlatformSupport::queryLocalizedString( |
WebKit::WebLocalizedString::Name name) { |
// Returns messages same as WebKit's in DRT. |
- // We use different strings for form validation messages. |
+ // We use different strings for form validation messages and page popup UI |
+ // strings. |
switch (name) { |
case WebKit::WebLocalizedString::ValidationValueMissing: |
case WebKit::WebLocalizedString::ValidationValueMissingForCheckbox: |
@@ -291,6 +292,18 @@ WebKit::WebString TestWebKitPlatformSupport::queryLocalizedString( |
return ASCIIToUTF16("range overflow"); |
case WebKit::WebLocalizedString::ValidationStepMismatch: |
return ASCIIToUTF16("step mismatch"); |
+ case WebKit::WebLocalizedString::OtherDateLabel: |
+ return ASCIIToUTF16("OtherDateLabel"); |
tkent
2012/10/15 09:24:21
The string should have form with which we can dist
|
+ case WebKit::WebLocalizedString::OtherMonthLabel: |
+ return ASCIIToUTF16("OtherMonthLabel"); |
+ case WebKit::WebLocalizedString::OtherTimeLabel: |
+ return ASCIIToUTF16("OtherTimeLabel"); |
+ case WebKit::WebLocalizedString::OtherWeekLabel: |
+ return ASCIIToUTF16("OtherWeekLabel"); |
+ case WebKit::WebLocalizedString::CalendarClear: |
+ return ASCIIToUTF16("CalendarClear"); |
+ case WebKit::WebLocalizedString::CalendarToday: |
+ return ASCIIToUTF16("CalendarToday"); |
default: |
return WebKitPlatformSupportImpl::queryLocalizedString(name); |
} |