| 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 28 matching lines...) Expand all Loading... |
| 39 // HTMLFormControlElement is the default implementation of FormAssociatedElement
, | 39 // HTMLFormControlElement is the default implementation of FormAssociatedElement
, |
| 40 // and form-associated element implementations should use HTMLFormControlElement | 40 // and form-associated element implementations should use HTMLFormControlElement |
| 41 // unless there is a special reason. | 41 // unless there is a special reason. |
| 42 class CORE_EXPORT HTMLFormControlElement : public LabelableElement, public FormA
ssociatedElement { | 42 class CORE_EXPORT HTMLFormControlElement : public LabelableElement, public FormA
ssociatedElement { |
| 43 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLFormControlElement); | 43 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLFormControlElement); |
| 44 | 44 |
| 45 public: | 45 public: |
| 46 ~HTMLFormControlElement() override; | 46 ~HTMLFormControlElement() override; |
| 47 DECLARE_VIRTUAL_TRACE(); | 47 DECLARE_VIRTUAL_TRACE(); |
| 48 | 48 |
| 49 String formAction() const; |
| 50 void setFormAction(const AtomicString&); |
| 49 String formEnctype() const; | 51 String formEnctype() const; |
| 50 void setFormEnctype(const AtomicString&); | 52 void setFormEnctype(const AtomicString&); |
| 51 String formMethod() const; | 53 String formMethod() const; |
| 52 void setFormMethod(const AtomicString&); | 54 void setFormMethod(const AtomicString&); |
| 53 bool formNoValidate() const; | 55 bool formNoValidate() const; |
| 54 | 56 |
| 55 void ancestorDisabledStateWasChanged(); | 57 void ancestorDisabledStateWasChanged(); |
| 56 | 58 |
| 57 void reset(); | 59 void reset(); |
| 58 | 60 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 { | 207 { |
| 206 return element.isFormControlElement(); | 208 return element.isFormControlElement(); |
| 207 } | 209 } |
| 208 | 210 |
| 209 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); | 211 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); |
| 210 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro
l->isFormControlElement(), control.isFormControlElement()); | 212 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro
l->isFormControlElement(), control.isFormControlElement()); |
| 211 | 213 |
| 212 } // namespace | 214 } // namespace |
| 213 | 215 |
| 214 #endif | 216 #endif |
| OLD | NEW |