[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
tkent at chromium.org
tkent at chromium.org
Wed Dec 22 15:39:05 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 1d47d728fdf21d8957919b9b1c2df08bd4768265
Author: tkent at chromium.org <tkent at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Nov 9 23:29:51 2010 +0000
2010-11-09 Kent Tamura <tkent at chromium.org>
Reviewed by Dimitri Glazkov.
[Chromium] Add form validation message support to WebLocalizedString.h
https://bugs.webkit.org/show_bug.cgi?id=49239
* DEPS: Roll Chromium revision to r65502 to have crrev.com/65502
* public/WebLocalizedString.h: Add new symbols
* src/LocalizedStrings.cpp: Call query() with the new symbols in the following functions.
(WebCore::validationMessageValueMissingText):
(WebCore::validationMessageTypeMismatchText):
(WebCore::validationMessagePatternMismatchText):
(WebCore::validationMessageTooLongText):
(WebCore::validationMessageRangeUnderflowText):
(WebCore::validationMessageRangeOverflowText):
(WebCore::validationMessageStepMismatchText):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/chromium/ChangeLog b/WebKit/chromium/ChangeLog
index b1100ec..ed78d51 100644
--- a/WebKit/chromium/ChangeLog
+++ b/WebKit/chromium/ChangeLog
@@ -1,3 +1,21 @@
+2010-11-09 Kent Tamura <tkent at chromium.org>
+
+ Reviewed by Dimitri Glazkov.
+
+ [Chromium] Add form validation message support to WebLocalizedString.h
+ https://bugs.webkit.org/show_bug.cgi?id=49239
+
+ * DEPS: Roll Chromium revision to r65502 to have crrev.com/65502
+ * public/WebLocalizedString.h: Add new symbols
+ * src/LocalizedStrings.cpp: Call query() with the new symbols in the following functions.
+ (WebCore::validationMessageValueMissingText):
+ (WebCore::validationMessageTypeMismatchText):
+ (WebCore::validationMessagePatternMismatchText):
+ (WebCore::validationMessageTooLongText):
+ (WebCore::validationMessageRangeUnderflowText):
+ (WebCore::validationMessageRangeOverflowText):
+ (WebCore::validationMessageStepMismatchText):
+
2010-11-09 Tony Chang <tony at chromium.org>
Unreviewed, rolling chromium DEPS.
diff --git a/WebKit/chromium/DEPS b/WebKit/chromium/DEPS
index ecc4c61..c4f7dda 100644
--- a/WebKit/chromium/DEPS
+++ b/WebKit/chromium/DEPS
@@ -32,7 +32,7 @@
vars = {
'chromium_svn': 'http://src.chromium.org/svn/trunk/src',
- 'chromium_rev': '65462'
+ 'chromium_rev': '65502'
}
deps = {
diff --git a/WebKit/chromium/public/WebLocalizedString.h b/WebKit/chromium/public/WebLocalizedString.h
index 99a7d23..bb45b6e 100644
--- a/WebKit/chromium/public/WebLocalizedString.h
+++ b/WebKit/chromium/public/WebLocalizedString.h
@@ -58,6 +58,13 @@ struct WebLocalizedString {
AXLinkActionVerb,
KeygenMenuHighGradeKeySize,
KeygenMenuMediumGradeKeySize,
+ ValidationValueMissing,
+ ValidationTypeMismatch,
+ ValidationPatternMismatch,
+ ValidationTooLong,
+ ValidationRangeUnderflow,
+ ValidationRangeOverflow,
+ ValidationStepMismatch,
};
};
diff --git a/WebKit/chromium/src/LocalizedStrings.cpp b/WebKit/chromium/src/LocalizedStrings.cpp
index fbc35ce..614aac3 100644
--- a/WebKit/chromium/src/LocalizedStrings.cpp
+++ b/WebKit/chromium/src/LocalizedStrings.cpp
@@ -296,44 +296,37 @@ String localizedMediaTimeDescription(float /*time*/)
String validationMessageValueMissingText()
{
- notImplemented();
- return String();
+ return query(WebLocalizedString::ValidationValueMissing);
}
String validationMessageTypeMismatchText()
{
- notImplemented();
- return String();
+ return query(WebLocalizedString::ValidationTypeMismatch);
}
String validationMessagePatternMismatchText()
{
- notImplemented();
- return String();
+ return query(WebLocalizedString::ValidationPatternMismatch);
}
String validationMessageTooLongText()
{
- notImplemented();
- return String();
+ return query(WebLocalizedString::ValidationTooLong);
}
String validationMessageRangeUnderflowText()
{
- notImplemented();
- return String();
+ return query(WebLocalizedString::ValidationRangeUnderflow);
}
String validationMessageRangeOverflowText()
{
- notImplemented();
- return String();
+ return query(WebLocalizedString::ValidationRangeOverflow);
}
String validationMessageStepMismatchText()
{
- notImplemented();
- return String();
+ return query(WebLocalizedString::ValidationStepMismatch);
}
} // namespace WebCore
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list