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