Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / FormAssociatedElement.h
index 1cb7947..c7355ab 100644 (file)
@@ -38,7 +38,6 @@ class HTMLElement;
 class HTMLFormElement;
 class Node;
 class ValidityState;
-class VisibleSelection;
 
 class FormAssociatedElement : public WillBeGarbageCollectedMixin {
 public:
@@ -75,13 +74,14 @@ public:
     bool customError() const;
 
     // Override functions for patterMismatch, rangeOverflow, rangerUnderflow,
-    // stepMismatch, tooLong and valueMissing must call willValidate method.
+    // stepMismatch, tooLong, tooShort and valueMissing must call willValidate method.
     virtual bool hasBadInput() const;
     virtual bool patternMismatch() const;
     virtual bool rangeOverflow() const;
     virtual bool rangeUnderflow() const;
     virtual bool stepMismatch() const;
     virtual bool tooLong() const;
+    virtual bool tooShort() const;
     virtual bool typeMismatch() const;
     virtual bool valueMissing() const;
     virtual String validationMessage() const;
@@ -90,7 +90,7 @@ public:
 
     void formAttributeTargetChanged();
 
-    typedef WillBeHeapVector<RawPtrWillBeMember<FormAssociatedElement> > List;
+    typedef WillBeHeapVector<RawPtrWillBeMember<FormAssociatedElement>> List;
 
 protected:
     FormAssociatedElement();