summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLInputElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLInputElement.cpp')
-rw-r--r--Source/WebCore/html/HTMLInputElement.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/WebCore/html/HTMLInputElement.cpp b/Source/WebCore/html/HTMLInputElement.cpp
index 732cab41d..9248f0bc2 100644
--- a/Source/WebCore/html/HTMLInputElement.cpp
+++ b/Source/WebCore/html/HTMLInputElement.cpp
@@ -1220,6 +1220,11 @@ FileList* HTMLInputElement::files()
return m_inputType->files();
}
+void HTMLInputElement::setFiles(PassRefPtr<FileList> files)
+{
+ m_inputType->setFiles(files);
+}
+
void HTMLInputElement::receiveDroppedFiles(const Vector<String>& filenames)
{
m_inputType->receiveDroppedFiles(filenames);
@@ -1266,6 +1271,13 @@ String HTMLInputElement::sanitizeValue(const String& proposedValue) const
return m_inputType->sanitizeValue(proposedValue);
}
+String HTMLInputElement::localizeValue(const String& proposedValue) const
+{
+ if (proposedValue.isNull())
+ return proposedValue;
+ return m_inputType->localizeValue(proposedValue);
+}
+
bool HTMLInputElement::hasUnacceptableValue() const
{
return m_inputType->hasUnacceptableValue();