| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 | 102 |
| 103 bool isAutofilled() const { return m_isAutofilled; } | 103 bool isAutofilled() const { return m_isAutofilled; } |
| 104 void setAutofilled(bool = true); | 104 void setAutofilled(bool = true); |
| 105 | 105 |
| 106 static HTMLFormControlElement* enclosingFormControlElement(Node*); | 106 static HTMLFormControlElement* enclosingFormControlElement(Node*); |
| 107 | 107 |
| 108 String nameForAutofill() const; | 108 String nameForAutofill() const; |
| 109 | 109 |
| 110 virtual void setFocus(bool flag) OVERRIDE; | 110 virtual void setFocus(bool flag) OVERRIDE; |
| 111 | 111 |
| 112 #if !ENABLE(OILPAN) |
| 112 using Node::ref; | 113 using Node::ref; |
| 113 using Node::deref; | 114 using Node::deref; |
| 115 #endif |
| 114 | 116 |
| 115 protected: | 117 protected: |
| 116 HTMLFormControlElement(const QualifiedName& tagName, Document&, HTMLFormElem
ent*); | 118 HTMLFormControlElement(const QualifiedName& tagName, Document&, HTMLFormElem
ent*); |
| 117 | 119 |
| 118 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 120 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 119 virtual void requiredAttributeChanged(); | 121 virtual void requiredAttributeChanged(); |
| 120 virtual void disabledAttributeChanged(); | 122 virtual void disabledAttributeChanged(); |
| 121 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; | 123 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
| 122 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 124 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
| 123 virtual void removedFrom(ContainerNode*) OVERRIDE; | 125 virtual void removedFrom(ContainerNode*) OVERRIDE; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 { | 186 { |
| 185 return element.isFormControlElement(); | 187 return element.isFormControlElement(); |
| 186 } | 188 } |
| 187 | 189 |
| 188 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); | 190 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); |
| 189 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro
l->isFormControlElement(), control.isFormControlElement()); | 191 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro
l->isFormControlElement(), control.isFormControlElement()); |
| 190 | 192 |
| 191 } // namespace | 193 } // namespace |
| 192 | 194 |
| 193 #endif | 195 #endif |
| OLD | NEW |