| 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 25 matching lines...) Expand all Loading... |
| 36 DEFINE_WRAPPERTYPEINFO(); | 36 DEFINE_WRAPPERTYPEINFO(); |
| 37 public: | 37 public: |
| 38 static PassRefPtrWillBeRawPtr<HTMLTextAreaElement> create(Document&, HTMLFor
mElement*); | 38 static PassRefPtrWillBeRawPtr<HTMLTextAreaElement> create(Document&, HTMLFor
mElement*); |
| 39 | 39 |
| 40 unsigned cols() const { return m_cols; } | 40 unsigned cols() const { return m_cols; } |
| 41 unsigned rows() const { return m_rows; } | 41 unsigned rows() const { return m_rows; } |
| 42 | 42 |
| 43 bool shouldWrapText() const { return m_wrap != NoWrap; } | 43 bool shouldWrapText() const { return m_wrap != NoWrap; } |
| 44 | 44 |
| 45 String value() const override; | 45 String value() const override; |
| 46 void setValue(const String&, TextFieldEventBehavior = DispatchNoEvent); | 46 void setValue(const String&, TextFieldEventBehavior = DispatchNoEvent) overr
ide; |
| 47 String defaultValue() const; | 47 String defaultValue() const; |
| 48 void setDefaultValue(const String&); | 48 void setDefaultValue(const String&); |
| 49 int textLength() const { return value().length(); } | 49 int textLength() const { return value().length(); } |
| 50 int maxLength() const; | 50 int maxLength() const; |
| 51 int minLength() const; | 51 int minLength() const; |
| 52 void setMaxLength(int, ExceptionState&); | 52 void setMaxLength(int, ExceptionState&); |
| 53 void setMinLength(int, ExceptionState&); | 53 void setMinLength(int, ExceptionState&); |
| 54 | 54 |
| 55 String suggestedValue() const; | 55 String suggestedValue() const; |
| 56 void setSuggestedValue(const String&); | 56 void setSuggestedValue(const String&); |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 mutable String m_value; | 144 mutable String m_value; |
| 145 mutable bool m_isDirty; | 145 mutable bool m_isDirty; |
| 146 bool m_valueIsUpToDate; | 146 bool m_valueIsUpToDate; |
| 147 unsigned m_isPlaceholderVisible : 1; | 147 unsigned m_isPlaceholderVisible : 1; |
| 148 String m_suggestedValue; | 148 String m_suggestedValue; |
| 149 }; | 149 }; |
| 150 | 150 |
| 151 } // namespace blink | 151 } // namespace blink |
| 152 | 152 |
| 153 #endif // HTMLTextAreaElement_h | 153 #endif // HTMLTextAreaElement_h |
| OLD | NEW |