| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 147 |
| 148 // Validates each of the controls, and stores controls of which 'invalid' | 148 // Validates each of the controls, and stores controls of which 'invalid' |
| 149 // event was not canceled to the specified vector. Returns true if there | 149 // event was not canceled to the specified vector. Returns true if there |
| 150 // are any invalid controls in this form. | 150 // are any invalid controls in this form. |
| 151 bool checkInvalidControlsAndCollectUnhandled(WillBeHeapVector<RefPtrWillBeMe
mber<FormAssociatedElement> >*); | 151 bool checkInvalidControlsAndCollectUnhandled(WillBeHeapVector<RefPtrWillBeMe
mber<FormAssociatedElement> >*); |
| 152 | 152 |
| 153 Element* elementFromPastNamesMap(const AtomicString&); | 153 Element* elementFromPastNamesMap(const AtomicString&); |
| 154 void addToPastNamesMap(Element*, const AtomicString& pastName); | 154 void addToPastNamesMap(Element*, const AtomicString& pastName); |
| 155 void removeFromPastNamesMap(HTMLElement&); | 155 void removeFromPastNamesMap(HTMLElement&); |
| 156 | 156 |
| 157 typedef HashMap<AtomicString, Element*> PastNamesMap; | 157 typedef WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<Element> > PastNa
mesMap; |
| 158 | 158 |
| 159 FormSubmission::Attributes m_attributes; | 159 FormSubmission::Attributes m_attributes; |
| 160 OwnPtr<PastNamesMap> m_pastNamesMap; | 160 OwnPtrWillBeMember<PastNamesMap> m_pastNamesMap; |
| 161 | 161 |
| 162 RadioButtonGroupScope m_radioButtonGroupScope; | 162 RadioButtonGroupScope m_radioButtonGroupScope; |
| 163 | 163 |
| 164 // Do not access m_associatedElements directly. Use associatedElements() ins
tead. | 164 // Do not access m_associatedElements directly. Use associatedElements() ins
tead. |
| 165 FormAssociatedElement::List m_associatedElements; | 165 FormAssociatedElement::List 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 | 175 |
| 176 bool m_isInResetFunction; | 176 bool m_isInResetFunction; |
| 177 | 177 |
| 178 bool m_wasDemoted; | 178 bool m_wasDemoted; |
| 179 | 179 |
| 180 OwnPtr<GenericEventQueue> m_pendingAutocompleteEventsQueue; | 180 OwnPtr<GenericEventQueue> m_pendingAutocompleteEventsQueue; |
| 181 }; | 181 }; |
| 182 | 182 |
| 183 } // namespace WebCore | 183 } // namespace WebCore |
| 184 | 184 |
| 185 #endif // HTMLFormElement_h | 185 #endif // HTMLFormElement_h |
| OLD | NEW |