| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 116 |
| 117 const Vector<FormAssociatedElement*>& associatedElements() const { return m_
associatedElements; } | 117 const Vector<FormAssociatedElement*>& associatedElements() const { return m_
associatedElements; } |
| 118 const Vector<HTMLImageElement*>& imageElements() const { return m_imageEleme
nts; } | 118 const Vector<HTMLImageElement*>& imageElements() const { return m_imageEleme
nts; } |
| 119 | 119 |
| 120 void getTextFieldValues(StringPairVector& fieldNamesAndValues) const; | 120 void getTextFieldValues(StringPairVector& fieldNamesAndValues) const; |
| 121 void anonymousNamedGetter(const AtomicString& name, bool&, RefPtr<RadioNodeL
ist>&, bool&, RefPtr<Node>&); | 121 void anonymousNamedGetter(const AtomicString& name, bool&, RefPtr<RadioNodeL
ist>&, bool&, RefPtr<Node>&); |
| 122 | 122 |
| 123 private: | 123 private: |
| 124 explicit HTMLFormElement(Document&); | 124 explicit HTMLFormElement(Document&); |
| 125 | 125 |
| 126 virtual bool rendererIsNeeded(const RenderStyle&); | 126 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; |
| 127 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 127 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
| 128 virtual void removedFrom(ContainerNode*) OVERRIDE; | 128 virtual void removedFrom(ContainerNode*) OVERRIDE; |
| 129 virtual void finishParsingChildren() OVERRIDE; | 129 virtual void finishParsingChildren() OVERRIDE; |
| 130 | 130 |
| 131 virtual void handleLocalEvents(Event*); | 131 virtual void handleLocalEvents(Event*) OVERRIDE; |
| 132 | 132 |
| 133 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 133 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 134 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; | 134 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; |
| 135 | 135 |
| 136 virtual bool shouldRegisterAsNamedItem() const OVERRIDE { return true; } | 136 virtual bool shouldRegisterAsNamedItem() const OVERRIDE { return true; } |
| 137 | 137 |
| 138 virtual void copyNonAttributePropertiesFromElement(const Element&) OVERRIDE; | 138 virtual void copyNonAttributePropertiesFromElement(const Element&) OVERRIDE; |
| 139 | 139 |
| 140 void submitDialog(PassRefPtr<FormSubmission>); | 140 void submitDialog(PassRefPtr<FormSubmission>); |
| 141 void submit(Event*, bool activateSubmitButton, bool processingUserGesture, F
ormSubmissionTrigger); | 141 void submit(Event*, bool activateSubmitButton, bool processingUserGesture, F
ormSubmissionTrigger); |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 | 181 |
| 182 Vector<RefPtr<Event> > m_pendingAutocompleteEvents; | 182 Vector<RefPtr<Event> > m_pendingAutocompleteEvents; |
| 183 Timer<HTMLFormElement> m_requestAutocompleteTimer; | 183 Timer<HTMLFormElement> m_requestAutocompleteTimer; |
| 184 }; | 184 }; |
| 185 | 185 |
| 186 DEFINE_NODE_TYPE_CASTS(HTMLFormElement, hasTagName(HTMLNames::formTag)); | 186 DEFINE_NODE_TYPE_CASTS(HTMLFormElement, hasTagName(HTMLNames::formTag)); |
| 187 | 187 |
| 188 } // namespace WebCore | 188 } // namespace WebCore |
| 189 | 189 |
| 190 #endif // HTMLFormElement_h | 190 #endif // HTMLFormElement_h |
| OLD | NEW |