| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 void formAttributeTargetChanged(); | 92 void formAttributeTargetChanged(); |
| 93 | 93 |
| 94 typedef WillBeHeapVector<RawPtrWillBeMember<FormAssociatedElement>> List; | 94 typedef WillBeHeapVector<RawPtrWillBeMember<FormAssociatedElement>> List; |
| 95 | 95 |
| 96 DECLARE_VIRTUAL_TRACE(); | 96 DECLARE_VIRTUAL_TRACE(); |
| 97 | 97 |
| 98 protected: | 98 protected: |
| 99 FormAssociatedElement(); | 99 FormAssociatedElement(); |
| 100 | 100 |
| 101 void insertedInto(ContainerNode*); | 101 void insertedInto(ContainerNode*); |
| 102 void removedFrom(ContainerNode*); | 102 void removedFrom(ContainerNode* insertionPoint, Node* next); |
| 103 void didMoveToNewDocument(Document& oldDocument); | 103 void didMoveToNewDocument(Document& oldDocument); |
| 104 | 104 |
| 105 // FIXME: Remove usage of setForm. resetFormOwner should be enough, and | 105 // FIXME: Remove usage of setForm. resetFormOwner should be enough, and |
| 106 // setForm is confusing. | 106 // setForm is confusing. |
| 107 void setForm(HTMLFormElement*); | 107 void setForm(HTMLFormElement*); |
| 108 void associateByParser(HTMLFormElement*); | 108 void associateByParser(HTMLFormElement*); |
| 109 void formAttributeChanged(); | 109 void formAttributeChanged(); |
| 110 | 110 |
| 111 // If you add an override of willChangeForm() or didChangeForm() to a class | 111 // If you add an override of willChangeForm() or didChangeForm() to a class |
| 112 // derived from this one, you will need to add a call to setForm(0) to the | 112 // derived from this one, you will need to add a call to setForm(0) to the |
| (...skipping 24 matching lines...) Expand all Loading... |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 HTMLElement* toHTMLElement(FormAssociatedElement*); | 139 HTMLElement* toHTMLElement(FormAssociatedElement*); |
| 140 HTMLElement& toHTMLElement(FormAssociatedElement&); | 140 HTMLElement& toHTMLElement(FormAssociatedElement&); |
| 141 const HTMLElement* toHTMLElement(const FormAssociatedElement*); | 141 const HTMLElement* toHTMLElement(const FormAssociatedElement*); |
| 142 const HTMLElement& toHTMLElement(const FormAssociatedElement&); | 142 const HTMLElement& toHTMLElement(const FormAssociatedElement&); |
| 143 | 143 |
| 144 } // namespace | 144 } // namespace |
| 145 | 145 |
| 146 #endif // FormAssociatedElement_h | 146 #endif // FormAssociatedElement_h |
| OLD | NEW |