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

Unified Diff: content/test/test_webkit_platform_support.cc

Issue 593113003: Add test support for setting selected text option for <select> multiple (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_webkit_platform_support.cc
diff --git a/content/test/test_webkit_platform_support.cc b/content/test/test_webkit_platform_support.cc
index 49992c91e848c47477efca7c94abe8b16643b1ad..804c2d34b83e694c97641144e43f505849a0b10f 100644
--- a/content/test/test_webkit_platform_support.cc
+++ b/content/test/test_webkit_platform_support.cc
@@ -200,6 +200,8 @@ blink::WebString TestWebKitPlatformSupport::queryLocalizedString(
return base::ASCIIToUTF16("range underflow");
if (name == blink::WebLocalizedString::ValidationRangeOverflow)
return base::ASCIIToUTF16("range overflow");
+ if (name == blink::WebLocalizedString::SelectMenuListText)
+ return base::ASCIIToUTF16("$1 selected");
return BlinkPlatformImpl::queryLocalizedString(name, value);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698