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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 virtual void dispatchFormControlChangeEvent(); | 63 virtual void dispatchFormControlChangeEvent(); |
64 void dispatchChangeEvent(); | 64 void dispatchChangeEvent(); |
65 void dispatchFormControlInputEvent(); | 65 void dispatchFormControlInputEvent(); |
66 | 66 |
67 HTMLFormElement* formOwner() const final; | 67 HTMLFormElement* formOwner() const final; |
68 | 68 |
69 bool isDisabledFormControl() const override; | 69 bool isDisabledFormControl() const override; |
70 | 70 |
71 bool matchesEnabledPseudoClass() const override; | 71 bool matchesEnabledPseudoClass() const override; |
72 | 72 |
| 73 bool matchesDisabledPseudoClass() const override; |
| 74 |
73 bool isEnumeratable() const override { return false; } | 75 bool isEnumeratable() const override { return false; } |
74 | 76 |
75 bool isRequired() const; | 77 bool isRequired() const; |
76 | 78 |
77 const AtomicString& type() const { return formControlType(); } | 79 const AtomicString& type() const { return formControlType(); } |
78 | 80 |
79 virtual const AtomicString& formControlType() const = 0; | 81 virtual const AtomicString& formControlType() const = 0; |
80 | 82 |
81 virtual bool canTriggerImplicitSubmission() const { return false; } | 83 virtual bool canTriggerImplicitSubmission() const { return false; } |
82 | 84 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 { | 197 { |
196 return element.isFormControlElement(); | 198 return element.isFormControlElement(); |
197 } | 199 } |
198 | 200 |
199 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); | 201 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); |
200 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro
l->isFormControlElement(), control.isFormControlElement()); | 202 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro
l->isFormControlElement(), control.isFormControlElement()); |
201 | 203 |
202 } // namespace blink | 204 } // namespace blink |
203 | 205 |
204 #endif | 206 #endif |
OLD | NEW |