| 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, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 107 |
| 108 virtual FormControlState saveFormControlState() const override; | 108 virtual FormControlState saveFormControlState() const override; |
| 109 virtual void restoreFormControlState(const FormControlState&) override; | 109 virtual void restoreFormControlState(const FormControlState&) override; |
| 110 | 110 |
| 111 virtual bool isTextFormControl() const override { return true; } | 111 virtual bool isTextFormControl() const override { return true; } |
| 112 | 112 |
| 113 virtual void childrenChanged(const ChildrenChange&) override; | 113 virtual void childrenChanged(const ChildrenChange&) override; |
| 114 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 114 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; |
| 115 virtual bool isPresentationAttribute(const QualifiedName&) const override; | 115 virtual bool isPresentationAttribute(const QualifiedName&) const override; |
| 116 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; | 116 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; |
| 117 virtual RenderObject* createRenderer(const RenderStyle&) override; | 117 virtual LayoutObject* createRenderer(const RenderStyle&) override; |
| 118 virtual bool appendFormData(FormDataList&, bool) override; | 118 virtual bool appendFormData(FormDataList&, bool) override; |
| 119 virtual void resetImpl() override; | 119 virtual void resetImpl() override; |
| 120 virtual bool hasCustomFocusLogic() const override; | 120 virtual bool hasCustomFocusLogic() const override; |
| 121 virtual bool shouldShowFocusRingOnMouseFocus() const override; | 121 virtual bool shouldShowFocusRingOnMouseFocus() const override; |
| 122 virtual bool isKeyboardFocusable() const override; | 122 virtual bool isKeyboardFocusable() const override; |
| 123 virtual void updateFocusAppearance(bool restorePreviousSelection) override; | 123 virtual void updateFocusAppearance(bool restorePreviousSelection) override; |
| 124 | 124 |
| 125 virtual void accessKeyAction(bool sendMouseEvents) override; | 125 virtual void accessKeyAction(bool sendMouseEvents) override; |
| 126 | 126 |
| 127 virtual bool matchesReadOnlyPseudoClass() const override; | 127 virtual bool matchesReadOnlyPseudoClass() const override; |
| 128 virtual bool matchesReadWritePseudoClass() const override; | 128 virtual bool matchesReadWritePseudoClass() const override; |
| 129 | 129 |
| 130 // If the String* argument is 0, apply this->value(). | 130 // If the String* argument is 0, apply this->value(). |
| 131 bool valueMissing(const String*) const; | 131 bool valueMissing(const String*) const; |
| 132 bool tooLong(const String*, NeedsToCheckDirtyFlag) const; | 132 bool tooLong(const String*, NeedsToCheckDirtyFlag) const; |
| 133 bool tooShort(const String*, NeedsToCheckDirtyFlag) const; | 133 bool tooShort(const String*, NeedsToCheckDirtyFlag) const; |
| 134 | 134 |
| 135 int m_rows; | 135 int m_rows; |
| 136 int m_cols; | 136 int m_cols; |
| 137 WrapMethod m_wrap; | 137 WrapMethod m_wrap; |
| 138 mutable String m_value; | 138 mutable String m_value; |
| 139 mutable bool m_isDirty; | 139 mutable bool m_isDirty; |
| 140 bool m_valueIsUpToDate; | 140 bool m_valueIsUpToDate; |
| 141 String m_suggestedValue; | 141 String m_suggestedValue; |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 } // namespace blink | 144 } // namespace blink |
| 145 | 145 |
| 146 #endif // HTMLTextAreaElement_h | 146 #endif // HTMLTextAreaElement_h |
| OLD | NEW |