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

Unified Diff: Source/platform/text/PlatformLocale.h

Issue 435753003: Implement minlength for <input> and <textarea>. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add layout tests for minlength & maxlength together; fix comments 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: Source/platform/text/PlatformLocale.h
diff --git a/Source/platform/text/PlatformLocale.h b/Source/platform/text/PlatformLocale.h
index 6fbdd17f2cf9740b93703dda7bbc3e4e9b96db8a..cb31cd3933f6149e9dda6270f0c549294a315ec0 100644
--- a/Source/platform/text/PlatformLocale.h
+++ b/Source/platform/text/PlatformLocale.h
@@ -44,6 +44,7 @@ public:
String queryString(blink::WebLocalizedString::Name, const String& parameter);
String queryString(blink::WebLocalizedString::Name, const String& parameter1, const String& parameter2);
String validationMessageTooLongText(unsigned valueLength, int maxLength);
+ String validationMessageTooShortText(unsigned valueLength, int minLength);
// Converts the specified number string to another number string localized
// for this Locale locale. The input string must conform to HTML

Powered by Google App Engine
This is Rietveld 408576698