OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 virtual bool appendFormData(FormDataList&, bool) { return false; } | 67 virtual bool appendFormData(FormDataList&, bool) { return false; } |
68 | 68 |
69 void resetFormOwner(); | 69 void resetFormOwner(); |
70 | 70 |
71 void formRemovedFromTree(const Node& formRoot); | 71 void formRemovedFromTree(const Node& formRoot); |
72 | 72 |
73 // ValidityState attribute implementations | 73 // ValidityState attribute implementations |
74 bool customError() const; | 74 bool customError() const; |
75 | 75 |
76 // Override functions for patterMismatch, rangeOverflow, rangerUnderflow, | 76 // Override functions for patterMismatch, rangeOverflow, rangerUnderflow, |
77 // stepMismatch, tooLong and valueMissing must call willValidate method. | 77 // stepMismatch, tooLong, tooShort and valueMissing must call willValidate m
ethod. |
78 virtual bool hasBadInput() const; | 78 virtual bool hasBadInput() const; |
79 virtual bool patternMismatch() const; | 79 virtual bool patternMismatch() const; |
80 virtual bool rangeOverflow() const; | 80 virtual bool rangeOverflow() const; |
81 virtual bool rangeUnderflow() const; | 81 virtual bool rangeUnderflow() const; |
82 virtual bool stepMismatch() const; | 82 virtual bool stepMismatch() const; |
83 virtual bool tooLong() const; | 83 virtual bool tooLong() const; |
| 84 virtual bool tooShort() const; |
84 virtual bool typeMismatch() const; | 85 virtual bool typeMismatch() const; |
85 virtual bool valueMissing() const; | 86 virtual bool valueMissing() const; |
86 virtual String validationMessage() const; | 87 virtual String validationMessage() const; |
87 bool valid() const; | 88 bool valid() const; |
88 virtual void setCustomValidity(const String&); | 89 virtual void setCustomValidity(const String&); |
89 | 90 |
90 void formAttributeTargetChanged(); | 91 void formAttributeTargetChanged(); |
91 | 92 |
92 typedef WillBeHeapVector<RawPtrWillBeMember<FormAssociatedElement> > List; | 93 typedef WillBeHeapVector<RawPtrWillBeMember<FormAssociatedElement> > List; |
93 | 94 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 }; | 139 }; |
139 | 140 |
140 HTMLElement* toHTMLElement(FormAssociatedElement*); | 141 HTMLElement* toHTMLElement(FormAssociatedElement*); |
141 HTMLElement& toHTMLElement(FormAssociatedElement&); | 142 HTMLElement& toHTMLElement(FormAssociatedElement&); |
142 const HTMLElement* toHTMLElement(const FormAssociatedElement*); | 143 const HTMLElement* toHTMLElement(const FormAssociatedElement*); |
143 const HTMLElement& toHTMLElement(const FormAssociatedElement&); | 144 const HTMLElement& toHTMLElement(const FormAssociatedElement&); |
144 | 145 |
145 } // namespace | 146 } // namespace |
146 | 147 |
147 #endif // FormAssociatedElement_h | 148 #endif // FormAssociatedElement_h |
OLD | NEW |