| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 virtual bool isMouseFocusable() const; | 125 virtual bool isMouseFocusable() const; |
| 126 | 126 |
| 127 virtual void didRecalcStyle(StyleChange) OVERRIDE; | 127 virtual void didRecalcStyle(StyleChange) OVERRIDE; |
| 128 | 128 |
| 129 virtual void dispatchBlurEvent(PassRefPtr<Node> newFocusedNode); | 129 virtual void dispatchBlurEvent(PassRefPtr<Node> newFocusedNode); |
| 130 | 130 |
| 131 // This must be called any time the result of willValidate() has changed. | 131 // This must be called any time the result of willValidate() has changed. |
| 132 void setNeedsWillValidateCheck(); | 132 void setNeedsWillValidateCheck(); |
| 133 virtual bool recalcWillValidate() const; | 133 virtual bool recalcWillValidate() const; |
| 134 | 134 |
| 135 bool validationMessageShadowTreeContains(Node*) const; |
| 136 |
| 135 private: | 137 private: |
| 136 virtual void refFormAssociatedElement() { ref(); } | 138 virtual void refFormAssociatedElement() { ref(); } |
| 137 virtual void derefFormAssociatedElement() { deref(); } | 139 virtual void derefFormAssociatedElement() { deref(); } |
| 138 | 140 |
| 139 virtual bool isFormControlElement() const { return true; } | 141 virtual bool isFormControlElement() const { return true; } |
| 140 | 142 |
| 141 virtual short tabIndex() const; | 143 virtual short tabIndex() const; |
| 142 | 144 |
| 143 virtual HTMLFormElement* virtualForm() const; | 145 virtual HTMLFormElement* virtualForm() const; |
| 144 virtual bool isDefaultButtonForForm() const; | 146 virtual bool isDefaultButtonForForm() const; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 168 bool m_isValid : 1; | 170 bool m_isValid : 1; |
| 169 | 171 |
| 170 bool m_wasChangedSinceLastFormControlChangeEvent : 1; | 172 bool m_wasChangedSinceLastFormControlChangeEvent : 1; |
| 171 | 173 |
| 172 bool m_hasAutofocused : 1; | 174 bool m_hasAutofocused : 1; |
| 173 }; | 175 }; |
| 174 | 176 |
| 175 } // namespace | 177 } // namespace |
| 176 | 178 |
| 177 #endif | 179 #endif |
| OLD | NEW |