| 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 |
| 6 * reserved. |
| 6 * | 7 * |
| 7 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 11 * version 2 of the License, or (at your option) any later version. |
| 11 * | 12 * |
| 12 * This library is distributed in the hope that it will be useful, | 13 * This library is distributed in the hope that it will be useful, |
| 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 * Library General Public License for more details. | 16 * Library General Public License for more details. |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 virtual void appendToFormData(FormData&) {} | 62 virtual void appendToFormData(FormData&) {} |
| 62 | 63 |
| 63 void resetFormOwner(); | 64 void resetFormOwner(); |
| 64 | 65 |
| 65 void formRemovedFromTree(const Node& formRoot); | 66 void formRemovedFromTree(const Node& formRoot); |
| 66 | 67 |
| 67 // ValidityState attribute implementations | 68 // ValidityState attribute implementations |
| 68 bool customError() const; | 69 bool customError() const; |
| 69 | 70 |
| 70 // Override functions for patterMismatch, rangeOverflow, rangerUnderflow, | 71 // Override functions for patterMismatch, rangeOverflow, rangerUnderflow, |
| 71 // stepMismatch, tooLong, tooShort and valueMissing must call willValidate met
hod. | 72 // stepMismatch, tooLong, tooShort and valueMissing must call willValidate |
| 73 // method. |
| 72 virtual bool hasBadInput() const; | 74 virtual bool hasBadInput() const; |
| 73 virtual bool patternMismatch() const; | 75 virtual bool patternMismatch() const; |
| 74 virtual bool rangeOverflow() const; | 76 virtual bool rangeOverflow() const; |
| 75 virtual bool rangeUnderflow() const; | 77 virtual bool rangeUnderflow() const; |
| 76 virtual bool stepMismatch() const; | 78 virtual bool stepMismatch() const; |
| 77 virtual bool tooLong() const; | 79 virtual bool tooLong() const; |
| 78 virtual bool tooShort() const; | 80 virtual bool tooShort() const; |
| 79 virtual bool typeMismatch() const; | 81 virtual bool typeMismatch() const; |
| 80 virtual bool valueMissing() const; | 82 virtual bool valueMissing() const; |
| 81 virtual String validationMessage() const; | 83 virtual String validationMessage() const; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 }; | 125 }; |
| 124 | 126 |
| 125 CORE_EXPORT HTMLElement* toHTMLElement(FormAssociatedElement*); | 127 CORE_EXPORT HTMLElement* toHTMLElement(FormAssociatedElement*); |
| 126 CORE_EXPORT HTMLElement& toHTMLElement(FormAssociatedElement&); | 128 CORE_EXPORT HTMLElement& toHTMLElement(FormAssociatedElement&); |
| 127 CORE_EXPORT const HTMLElement* toHTMLElement(const FormAssociatedElement*); | 129 CORE_EXPORT const HTMLElement* toHTMLElement(const FormAssociatedElement*); |
| 128 CORE_EXPORT const HTMLElement& toHTMLElement(const FormAssociatedElement&); | 130 CORE_EXPORT const HTMLElement& toHTMLElement(const FormAssociatedElement&); |
| 129 | 131 |
| 130 } // namespace blink | 132 } // namespace blink |
| 131 | 133 |
| 132 #endif // FormAssociatedElement_h | 134 #endif // FormAssociatedElement_h |
| OLD | NEW |