| 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 | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights |
| 6 * reserved. | 6 * reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 static HTMLFormControlElement* enclosingFormControlElement(Node*); | 126 static HTMLFormControlElement* enclosingFormControlElement(Node*); |
| 127 | 127 |
| 128 String nameForAutofill() const; | 128 String nameForAutofill() const; |
| 129 | 129 |
| 130 void copyNonAttributePropertiesFromElement(const Element&) override; | 130 void copyNonAttributePropertiesFromElement(const Element&) override; |
| 131 | 131 |
| 132 FormAssociated* toFormAssociatedOrNull() override { return this; }; | 132 FormAssociated* toFormAssociatedOrNull() override { return this; }; |
| 133 void associateWith(HTMLFormElement*) override; | 133 void associateWith(HTMLFormElement*) override; |
| 134 | 134 |
| 135 protected: | 135 protected: |
| 136 HTMLFormControlElement(const QualifiedName& tagName, | 136 HTMLFormControlElement(const QualifiedName& tagName, Document&); |
| 137 Document&, | |
| 138 HTMLFormElement*); | |
| 139 | 137 |
| 140 void parseAttribute(const QualifiedName&, | 138 void parseAttribute(const QualifiedName&, |
| 141 const AtomicString&, | 139 const AtomicString&, |
| 142 const AtomicString&) override; | 140 const AtomicString&) override; |
| 143 virtual void requiredAttributeChanged(); | 141 virtual void requiredAttributeChanged(); |
| 144 virtual void disabledAttributeChanged(); | 142 virtual void disabledAttributeChanged(); |
| 145 void attachLayoutTree(const AttachContext& = AttachContext()) override; | 143 void attachLayoutTree(const AttachContext& = AttachContext()) override; |
| 146 InsertionNotificationRequest insertedInto(ContainerNode*) override; | 144 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
| 147 void removedFrom(ContainerNode*) override; | 145 void removedFrom(ContainerNode*) override; |
| 148 void willChangeForm() override; | 146 void willChangeForm() override; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); | 217 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); |
| 220 DEFINE_TYPE_CASTS(HTMLFormControlElement, | 218 DEFINE_TYPE_CASTS(HTMLFormControlElement, |
| 221 ListedElement, | 219 ListedElement, |
| 222 control, | 220 control, |
| 223 control->isFormControlElement(), | 221 control->isFormControlElement(), |
| 224 control.isFormControlElement()); | 222 control.isFormControlElement()); |
| 225 | 223 |
| 226 } // namespace blink | 224 } // namespace blink |
| 227 | 225 |
| 228 #endif | 226 #endif |
| OLD | NEW |