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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 virtual bool typeMismatch() const; | 85 virtual bool typeMismatch() const; |
86 virtual bool valueMissing() const; | 86 virtual bool valueMissing() const; |
87 virtual String validationMessage() const; | 87 virtual String validationMessage() const; |
88 bool valid() const; | 88 bool valid() const; |
89 virtual void setCustomValidity(const String&); | 89 virtual void setCustomValidity(const String&); |
90 | 90 |
91 void formAttributeTargetChanged(); | 91 void formAttributeTargetChanged(); |
92 | 92 |
93 typedef WillBeHeapVector<RawPtrWillBeMember<FormAssociatedElement>> List; | 93 typedef WillBeHeapVector<RawPtrWillBeMember<FormAssociatedElement>> List; |
94 | 94 |
95 virtual void trace(Visitor*); | 95 DECLARE_VIRTUAL_TRACE(); |
96 | 96 |
97 protected: | 97 protected: |
98 FormAssociatedElement(); | 98 FormAssociatedElement(); |
99 | 99 |
100 void insertedInto(ContainerNode*); | 100 void insertedInto(ContainerNode*); |
101 void removedFrom(ContainerNode*); | 101 void removedFrom(ContainerNode*); |
102 void didMoveToNewDocument(Document& oldDocument); | 102 void didMoveToNewDocument(Document& oldDocument); |
103 | 103 |
104 // FIXME: Remove usage of setForm. resetFormOwner should be enough, and | 104 // FIXME: Remove usage of setForm. resetFormOwner should be enough, and |
105 // setForm is confusing. | 105 // setForm is confusing. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 }; | 140 }; |
141 | 141 |
142 HTMLElement* toHTMLElement(FormAssociatedElement*); | 142 HTMLElement* toHTMLElement(FormAssociatedElement*); |
143 HTMLElement& toHTMLElement(FormAssociatedElement&); | 143 HTMLElement& toHTMLElement(FormAssociatedElement&); |
144 const HTMLElement* toHTMLElement(const FormAssociatedElement*); | 144 const HTMLElement* toHTMLElement(const FormAssociatedElement*); |
145 const HTMLElement& toHTMLElement(const FormAssociatedElement&); | 145 const HTMLElement& toHTMLElement(const FormAssociatedElement&); |
146 | 146 |
147 } // namespace | 147 } // namespace |
148 | 148 |
149 #endif // FormAssociatedElement_h | 149 #endif // FormAssociatedElement_h |
OLD | NEW |