summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkitclient_impl.h
diff options
context:
space:
mode:
authortkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-25 05:37:37 +0000
committertkent@chromium.org <tkent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-25 05:37:37 +0000
commit8ef5716c097776a9ae5c93e895c0effe7695a985 (patch)
tree197a96d2fdcf0ffcd0e90f205222b877b14506e5 /webkit/glue/webkitclient_impl.h
parent7fb865207d11400bc69b15fef20c5e4826c221c2 (diff)
downloadchromium_src-8ef5716c097776a9ae5c93e895c0effe7695a985.zip
chromium_src-8ef5716c097776a9ae5c93e895c0effe7695a985.tar.gz
chromium_src-8ef5716c097776a9ae5c93e895c0effe7695a985.tar.bz2
Add form validation message strings.
* webkit/glue/ - Add overloads of queryLocalizedString() functions They will be added to WebKit::WebKitClient later. - Add implementations for WebLocalizedString::Validation* - Add message strings The English strings are different from WebKit's to avoid the brusque WebKit's strings. Port some messages from Mozilla. * webkit/tools/test_shell/ and webkit/support/ Hook queryLocalizedString() functions in order to return messages same as WebKit in layout test. BUG=28264 TEST=LayoutTests/fast/forms/validationMessage.html Review URL: http://codereview.chromium.org/4678006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67382 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkitclient_impl.h')
-rw-r--r--webkit/glue/webkitclient_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/glue/webkitclient_impl.h b/webkit/glue/webkitclient_impl.h
index 68d0eaf..3061548 100644
--- a/webkit/glue/webkitclient_impl.h
+++ b/webkit/glue/webkitclient_impl.h
@@ -52,6 +52,11 @@ class WebKitClientImpl : public WebKit::WebKitClient {
WebKit::WebLocalizedString::Name name);
virtual WebKit::WebString queryLocalizedString(
WebKit::WebLocalizedString::Name name, int numeric_value);
+ virtual WebKit::WebString queryLocalizedString(
+ WebKit::WebLocalizedString::Name name, const WebKit::WebString& value);
+ virtual WebKit::WebString queryLocalizedString(
+ WebKit::WebLocalizedString::Name name,
+ const WebKit::WebString& value1, const WebKit::WebString& value2);
virtual void suddenTerminationChanged(bool enabled) { }
virtual double currentTime();
virtual void setSharedTimerFiredFunction(void (*func)());