| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 String acceptCharset() const { return m_formDataBuilder.acceptCharset(); } | 91 String acceptCharset() const { return m_formDataBuilder.acceptCharset(); } |
| 92 | 92 |
| 93 String action() const; | 93 String action() const; |
| 94 void setAction(const String&); | 94 void setAction(const String&); |
| 95 | 95 |
| 96 String method() const; | 96 String method() const; |
| 97 void setMethod(const String&); | 97 void setMethod(const String&); |
| 98 | 98 |
| 99 virtual String target() const; | 99 virtual String target() const; |
| 100 | 100 |
| 101 FormSubmissionTrigger submissionTrigger() const; | |
| 102 | |
| 103 HTMLFormControlElement* defaultButton() const; | 101 HTMLFormControlElement* defaultButton() const; |
| 104 | 102 |
| 105 bool checkValidity(); | 103 bool checkValidity(); |
| 106 | 104 |
| 107 PassRefPtr<HTMLFormControlElement> elementForAlias(const AtomicString&); | 105 PassRefPtr<HTMLFormControlElement> elementForAlias(const AtomicString&); |
| 108 void addElementAlias(HTMLFormControlElement*, const AtomicString& alias); | 106 void addElementAlias(HTMLFormControlElement*, const AtomicString& alias); |
| 109 | 107 |
| 110 CheckedRadioButtons& checkedRadioButtons() { return m_checkedRadioButtons; } | 108 CheckedRadioButtons& checkedRadioButtons() { return m_checkedRadioButtons; } |
| 111 | 109 |
| 112 const Vector<HTMLFormControlElement*>& associatedElements() const { return m
_associatedElements; } | 110 const Vector<HTMLFormControlElement*>& associatedElements() const { return m
_associatedElements; } |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 146 |
| 149 FormDataBuilder m_formDataBuilder; | 147 FormDataBuilder m_formDataBuilder; |
| 150 OwnPtr<AliasMap> m_elementAliases; | 148 OwnPtr<AliasMap> m_elementAliases; |
| 151 OwnPtr<CollectionCache> m_collectionCache; | 149 OwnPtr<CollectionCache> m_collectionCache; |
| 152 | 150 |
| 153 CheckedRadioButtons m_checkedRadioButtons; | 151 CheckedRadioButtons m_checkedRadioButtons; |
| 154 | 152 |
| 155 Vector<HTMLFormControlElement*> m_associatedElements; | 153 Vector<HTMLFormControlElement*> m_associatedElements; |
| 156 Vector<HTMLImageElement*> m_imageElements; | 154 Vector<HTMLImageElement*> m_imageElements; |
| 157 | 155 |
| 158 FormSubmissionTrigger m_submissionTrigger; | |
| 159 | |
| 160 bool m_autocomplete : 1; | 156 bool m_autocomplete : 1; |
| 161 bool m_insubmit : 1; | 157 bool m_insubmit : 1; |
| 162 bool m_doingsubmit : 1; | 158 bool m_doingsubmit : 1; |
| 163 bool m_inreset : 1; | 159 bool m_inreset : 1; |
| 164 bool m_malformed : 1; | 160 bool m_malformed : 1; |
| 165 bool m_demoted : 1; | 161 bool m_demoted : 1; |
| 166 AtomicString m_name; | 162 AtomicString m_name; |
| 167 }; | 163 }; |
| 168 | 164 |
| 169 } // namespace WebCore | 165 } // namespace WebCore |
| 170 | 166 |
| 171 #endif // HTMLFormElement_h | 167 #endif // HTMLFormElement_h |
| OLD | NEW |