summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLFormControlElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLFormControlElement.h')
-rw-r--r--WebCore/html/HTMLFormControlElement.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/html/HTMLFormControlElement.h b/WebCore/html/HTMLFormControlElement.h
index 2352182..eae7f0a 100644
--- a/WebCore/html/HTMLFormControlElement.h
+++ b/WebCore/html/HTMLFormControlElement.h
@@ -88,9 +88,6 @@ public:
// This must be called when a validation constraint or control value is changed.
void setNeedsValidityCheck();
void setCustomValidity(const String&);
- virtual bool valueMissing() const { return false; }
- virtual bool patternMismatch() const { return false; }
- virtual bool tooLong() const { return false; }
void formDestroyed() { m_form = 0; }
@@ -175,6 +172,9 @@ private:
// FIXME: Give this class its own header file.
class HTMLTextFormControlElement : public HTMLFormControlElementWithState {
public:
+ // Common flag for HTMLInputElement::tooLong() and HTMLTextAreaElement::tooLong().
+ enum NeedsToCheckDirtyFlag {CheckDirtyFlag, IgnoreDirtyFlag};
+
virtual ~HTMLTextFormControlElement();
String strippedPlaceholder() const;