diff options
Diffstat (limited to 'WebCore/wml/WMLInputElement.cpp')
-rw-r--r-- | WebCore/wml/WMLInputElement.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/WebCore/wml/WMLInputElement.cpp b/WebCore/wml/WMLInputElement.cpp index eb31502..560fd09 100644 --- a/WebCore/wml/WMLInputElement.cpp +++ b/WebCore/wml/WMLInputElement.cpp @@ -123,6 +123,11 @@ const AtomicString& WMLInputElement::formControlName() const return m_data.name(); } +const String& WMLInputElement::suggestedValue() const
+{
+ return m_data.suggestedValue();
+}
+ String WMLInputElement::value() const { String value = m_data.value(); @@ -132,7 +137,7 @@ String WMLInputElement::value() const return value; } -void WMLInputElement::setValue(const String& value) +void WMLInputElement::setValue(const String& value, bool sendChangeEvent) { setFormControlValueMatchesRenderer(false); m_data.setValue(constrainValue(value)); @@ -151,6 +156,13 @@ void WMLInputElement::setValue(const String& value) InputElement::notifyFormStateChanged(this); } +void WMLInputElement::setValueForUser(const String& value) +{ + /* InputElement class defines pure virtual function 'setValueForUser', which + will be useful only in HTMLInputElement. Do nothing in 'WMLInputElement'. + */ +} + void WMLInputElement::setValueFromRenderer(const String& value) { InputElement::setValueFromRenderer(m_data, this, this, value); |