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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 bool valid() const; | 87 bool valid() const; |
88 virtual void setCustomValidity(const String&); | 88 virtual void setCustomValidity(const String&); |
89 | 89 |
90 void formAttributeTargetChanged(); | 90 void formAttributeTargetChanged(); |
91 | 91 |
92 typedef WillBeHeapVector<RawPtrWillBeMember<FormAssociatedElement> > List; | 92 typedef WillBeHeapVector<RawPtrWillBeMember<FormAssociatedElement> > List; |
93 | 93 |
94 protected: | 94 protected: |
95 FormAssociatedElement(); | 95 FormAssociatedElement(); |
96 | 96 |
97 void trace(Visitor*); | 97 virtual void trace(Visitor*); |
98 void insertedInto(ContainerNode*); | 98 void insertedInto(ContainerNode*); |
99 void removedFrom(ContainerNode*); | 99 void removedFrom(ContainerNode*); |
100 void didMoveToNewDocument(Document& oldDocument); | 100 void didMoveToNewDocument(Document& oldDocument); |
101 | 101 |
102 // FIXME: Remove usage of setForm. resetFormOwner should be enough, and | 102 // FIXME: Remove usage of setForm. resetFormOwner should be enough, and |
103 // setForm is confusing. | 103 // setForm is confusing. |
104 void setForm(HTMLFormElement*); | 104 void setForm(HTMLFormElement*); |
105 void associateByParser(HTMLFormElement*); | 105 void associateByParser(HTMLFormElement*); |
106 void formAttributeChanged(); | 106 void formAttributeChanged(); |
107 | 107 |
(...skipping 26 matching lines...) Expand all Loading... |
134 }; | 134 }; |
135 | 135 |
136 HTMLElement* toHTMLElement(FormAssociatedElement*); | 136 HTMLElement* toHTMLElement(FormAssociatedElement*); |
137 HTMLElement& toHTMLElement(FormAssociatedElement&); | 137 HTMLElement& toHTMLElement(FormAssociatedElement&); |
138 const HTMLElement* toHTMLElement(const FormAssociatedElement*); | 138 const HTMLElement* toHTMLElement(const FormAssociatedElement*); |
139 const HTMLElement& toHTMLElement(const FormAssociatedElement&); | 139 const HTMLElement& toHTMLElement(const FormAssociatedElement&); |
140 | 140 |
141 } // namespace | 141 } // namespace |
142 | 142 |
143 #endif // FormAssociatedElement_h | 143 #endif // FormAssociatedElement_h |
OLD | NEW |