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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 bool shouldAutocomplete() const; | 65 bool shouldAutocomplete() const; |
66 | 66 |
67 void associate(FormAssociatedElement&); | 67 void associate(FormAssociatedElement&); |
68 void disassociate(FormAssociatedElement&); | 68 void disassociate(FormAssociatedElement&); |
69 void associate(HTMLImageElement&); | 69 void associate(HTMLImageElement&); |
70 void disassociate(HTMLImageElement&); | 70 void disassociate(HTMLImageElement&); |
71 WeakPtr<HTMLFormElement> createWeakPtr(); | 71 WeakPtr<HTMLFormElement> createWeakPtr(); |
72 void didAssociateByParser(); | 72 void didAssociateByParser(); |
73 | 73 |
74 bool prepareForSubmission(Event*); | 74 void prepareForSubmission(Event*); |
75 void submit(); | 75 void submit(); |
76 void submitFromJavaScript(); | 76 void submitFromJavaScript(); |
77 void reset(); | 77 void reset(); |
78 | 78 |
79 void setDemoted(bool); | 79 void setDemoted(bool); |
80 | 80 |
81 void submitImplicitly(Event*, bool fromImplicitSubmissionTrigger); | 81 void submitImplicitly(Event*, bool fromImplicitSubmissionTrigger); |
82 | 82 |
83 String name() const; | 83 String name() const; |
84 | 84 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 Vector<FormAssociatedElement*> m_associatedElements; | 165 Vector<FormAssociatedElement*> m_associatedElements; |
166 // Do not access m_imageElements directly. Use imageElements() instead. | 166 // Do not access m_imageElements directly. Use imageElements() instead. |
167 Vector<HTMLImageElement*> m_imageElements; | 167 Vector<HTMLImageElement*> m_imageElements; |
168 WeakPtrFactory<HTMLFormElement> m_weakPtrFactory; | 168 WeakPtrFactory<HTMLFormElement> m_weakPtrFactory; |
169 bool m_associatedElementsAreDirty; | 169 bool m_associatedElementsAreDirty; |
170 bool m_imageElementsAreDirty; | 170 bool m_imageElementsAreDirty; |
171 bool m_hasElementsAssociatedByParser; | 171 bool m_hasElementsAssociatedByParser; |
172 bool m_didFinishParsingChildren; | 172 bool m_didFinishParsingChildren; |
173 | 173 |
174 bool m_wasUserSubmitted; | 174 bool m_wasUserSubmitted; |
175 bool m_isSubmittingOrPreparingForSubmission; | 175 bool m_isSubmitting; |
176 bool m_shouldSubmit; | |
177 | 176 |
178 bool m_isInResetFunction; | 177 bool m_isInResetFunction; |
179 | 178 |
180 bool m_wasDemoted; | 179 bool m_wasDemoted; |
181 | 180 |
182 void requestAutocompleteTimerFired(Timer<HTMLFormElement>*); | 181 void requestAutocompleteTimerFired(Timer<HTMLFormElement>*); |
183 | 182 |
184 Vector<RefPtr<Event> > m_pendingAutocompleteEvents; | 183 Vector<RefPtr<Event> > m_pendingAutocompleteEvents; |
185 Timer<HTMLFormElement> m_requestAutocompleteTimer; | 184 Timer<HTMLFormElement> m_requestAutocompleteTimer; |
186 }; | 185 }; |
187 | 186 |
188 DEFINE_NODE_TYPE_CASTS(HTMLFormElement, hasTagName(HTMLNames::formTag)); | 187 DEFINE_NODE_TYPE_CASTS(HTMLFormElement, hasTagName(HTMLNames::formTag)); |
189 | 188 |
190 } // namespace WebCore | 189 } // namespace WebCore |
191 | 190 |
192 #endif // HTMLFormElement_h | 191 #endif // HTMLFormElement_h |
OLD | NEW |