| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 virtual void setCustomValidity(const String&) override final; | 100 virtual void setCustomValidity(const String&) override final; |
| 101 void findCustomValidationMessageTextDirection(const String& message, TextDir
ection &messageDir, String& subMessage, TextDirection& subMessageDir); | 101 void findCustomValidationMessageTextDirection(const String& message, TextDir
ection &messageDir, String& subMessage, TextDirection& subMessageDir); |
| 102 | 102 |
| 103 bool isReadOnly() const { return m_isReadOnly; } | 103 bool isReadOnly() const { return m_isReadOnly; } |
| 104 bool isDisabledOrReadOnly() const { return isDisabledFormControl() || m_isRe
adOnly; } | 104 bool isDisabledOrReadOnly() const { return isDisabledFormControl() || m_isRe
adOnly; } |
| 105 | 105 |
| 106 bool isAutofocusable() const; | 106 bool isAutofocusable() const; |
| 107 | 107 |
| 108 bool isAutofilled() const { return m_isAutofilled; } | 108 bool isAutofilled() const { return m_isAutofilled; } |
| 109 void setAutofilled(bool = true); | 109 void setAutofilled(bool = true); |
| 110 | 110 bool isSubmittableElement(); |
| 111 static HTMLFormControlElement* enclosingFormControlElement(Node*); | 111 static HTMLFormControlElement* enclosingFormControlElement(Node*); |
| 112 | 112 |
| 113 String nameForAutofill() const; | 113 String nameForAutofill() const; |
| 114 | 114 |
| 115 virtual void setFocus(bool flag) override; | 115 virtual void setFocus(bool flag) override; |
| 116 virtual void copyNonAttributePropertiesFromElement(const Element&) override; | 116 virtual void copyNonAttributePropertiesFromElement(const Element&) override; |
| 117 | 117 |
| 118 #if !ENABLE(OILPAN) | 118 #if !ENABLE(OILPAN) |
| 119 using Node::ref; | 119 using Node::ref; |
| 120 using Node::deref; | 120 using Node::deref; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 { | 203 { |
| 204 return element.isFormControlElement(); | 204 return element.isFormControlElement(); |
| 205 } | 205 } |
| 206 | 206 |
| 207 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); | 207 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLFormControlElement); |
| 208 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro
l->isFormControlElement(), control.isFormControlElement()); | 208 DEFINE_TYPE_CASTS(HTMLFormControlElement, FormAssociatedElement, control, contro
l->isFormControlElement(), control.isFormControlElement()); |
| 209 | 209 |
| 210 } // namespace | 210 } // namespace |
| 211 | 211 |
| 212 #endif | 212 #endif |
| OLD | NEW |