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 12 matching lines...) Expand all Loading... |
23 | 23 |
24 #ifndef HTMLFormControlElement_h | 24 #ifndef HTMLFormControlElement_h |
25 #define HTMLFormControlElement_h | 25 #define HTMLFormControlElement_h |
26 | 26 |
27 #include "core/html/FormAssociatedElement.h" | 27 #include "core/html/FormAssociatedElement.h" |
28 #include "core/html/LabelableElement.h" | 28 #include "core/html/LabelableElement.h" |
29 | 29 |
30 namespace blink { | 30 namespace blink { |
31 | 31 |
32 class FormDataList; | 32 class FormDataList; |
33 class HTMLFieldSetElement; | |
34 class HTMLFormElement; | 33 class HTMLFormElement; |
35 class HTMLLegendElement; | |
36 class ValidationMessageClient; | 34 class ValidationMessageClient; |
37 class ValidityState; | |
38 | 35 |
39 // HTMLFormControlElement is the default implementation of FormAssociatedElement
, | 36 // HTMLFormControlElement is the default implementation of FormAssociatedElement
, |
40 // and form-associated element implementations should use HTMLFormControlElement | 37 // and form-associated element implementations should use HTMLFormControlElement |
41 // unless there is a special reason. | 38 // unless there is a special reason. |
42 class HTMLFormControlElement : public LabelableElement, public FormAssociatedEle
ment { | 39 class HTMLFormControlElement : public LabelableElement, public FormAssociatedEle
ment { |
43 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLFormControlElement); | 40 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLFormControlElement); |
44 | 41 |
45 public: | 42 public: |
46 virtual ~HTMLFormControlElement(); | 43 virtual ~HTMLFormControlElement(); |
47 virtual void trace(Visitor*) OVERRIDE; | 44 virtual void trace(Visitor*) OVERRIDE; |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 { | 187 { |
191 return element.isFormControlElement(); | 188 return element.isFormControlElement(); |
192 } | 189 } |
193 | 190 |
194 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); | 191 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); |
195 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro
l->isFormControlElement(), control.isFormControlElement()); | 192 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro
l->isFormControlElement(), control.isFormControlElement()); |
196 | 193 |
197 } // namespace | 194 } // namespace |
198 | 195 |
199 #endif | 196 #endif |
OLD | NEW |