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

Unified Diff: content/test/test_blink_web_unit_test_support.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
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_blink_web_unit_test_support.cc
diff --git a/content/test/test_blink_web_unit_test_support.cc b/content/test/test_blink_web_unit_test_support.cc
index 8f743ed88807f2c3d347f49c1147cec24d8f3ed6..1f599fbfb110dd17ff262759b282998abe49d20f 100644
--- a/content/test/test_blink_web_unit_test_support.cc
+++ b/content/test/test_blink_web_unit_test_support.cc
@@ -211,6 +211,8 @@ blink::WebString TestBlinkWebUnitTestSupport::queryLocalizedString(
const blink::WebString& value2) {
if (name == blink::WebLocalizedString::ValidationTooLong)
return base::ASCIIToUTF16("too long");
+ if (name == blink::WebLocalizedString::ValidationTooShort)
+ return base::ASCIIToUTF16("too short");
tkent 2014/10/07 01:37:17 I don't think this change is necessary. This func
Bartek Nowierski 2014/10/08 08:38:48 Done.
if (name == blink::WebLocalizedString::ValidationStepMismatch)
return base::ASCIIToUTF16("step mismatch");
return BlinkPlatformImpl::queryLocalizedString(name, value1, value2);
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698