Chromium Code Reviews| 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 static HTMLFormControlElement* enclosingFormControlElement(Node*); | 103 static HTMLFormControlElement* enclosingFormControlElement(Node*); |
| 104 | 104 |
| 105 String nameForAutofill() const; | 105 String nameForAutofill() const; |
| 106 | 106 |
| 107 virtual void setFocus(bool flag) OVERRIDE; | 107 virtual void setFocus(bool flag) OVERRIDE; |
| 108 | 108 |
| 109 using Node::ref; | 109 using Node::ref; |
| 110 using Node::deref; | 110 using Node::deref; |
| 111 | 111 |
| 112 virtual void trace(Visitor*) OVERRIDE; | |
|
Mads Ager (chromium)
2014/05/08 11:52:43
Ditto.
| |
| 113 | |
| 112 protected: | 114 protected: |
| 113 HTMLFormControlElement(const QualifiedName& tagName, Document&, HTMLFormElem ent*); | 115 HTMLFormControlElement(const QualifiedName& tagName, Document&, HTMLFormElem ent*); |
| 114 | 116 |
| 115 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; | 117 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; |
| 116 virtual void requiredAttributeChanged(); | 118 virtual void requiredAttributeChanged(); |
| 117 virtual void disabledAttributeChanged(); | 119 virtual void disabledAttributeChanged(); |
| 118 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; | 120 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
| 119 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 121 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
| 120 virtual void removedFrom(ContainerNode*) OVERRIDE; | 122 virtual void removedFrom(ContainerNode*) OVERRIDE; |
| 121 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; | 123 virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 179 { | 181 { |
| 180 return element.isFormControlElement(); | 182 return element.isFormControlElement(); |
| 181 } | 183 } |
| 182 | 184 |
| 183 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); | 185 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); |
| 184 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro l->isFormControlElement(), control.isFormControlElement()); | 186 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro l->isFormControlElement(), control.isFormControlElement()); |
| 185 | 187 |
| 186 } // namespace | 188 } // namespace |
| 187 | 189 |
| 188 #endif | 190 #endif |
| OLD | NEW |