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

Unified Diff: content/child/blink_platform_impl.cc

Issue 630793002: Add ValidationTooShort localized sring, in preparation for a message displayed when a form input co… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index 794fb812aacf62fe3adfd1325cda23f07e0decf5..079dc78ce3032abc4cb453935df92b96a27882a9 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -369,6 +369,8 @@ static int ToMessageID(WebLocalizedString::Name name) {
return IDS_FORM_VALIDATION_STEP_MISMATCH_CLOSE_TO_LIMIT;
case WebLocalizedString::ValidationTooLong:
return IDS_FORM_VALIDATION_TOO_LONG;
+ case WebLocalizedString::ValidationTooShort:
+ return IDS_FORM_VALIDATION_TOO_SHORT;
case WebLocalizedString::ValidationTypeMismatch:
return IDS_FORM_VALIDATION_TYPE_MISMATCH;
case WebLocalizedString::ValidationTypeMismatchForEmail:

Powered by Google App Engine
This is Rietveld 408576698