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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 87 |
88 virtual bool supportsPlaceholder() const override { return true; } | 88 virtual bool supportsPlaceholder() const override { return true; } |
89 virtual void updatePlaceholderText() override; | 89 virtual void updatePlaceholderText() override; |
90 virtual bool isEmptyValue() const override { return value().isEmpty(); } | 90 virtual bool isEmptyValue() const override { return value().isEmpty(); } |
91 virtual bool isEmptySuggestedValue() const override final { return suggested
Value().isEmpty(); } | 91 virtual bool isEmptySuggestedValue() const override final { return suggested
Value().isEmpty(); } |
92 | 92 |
93 virtual bool isOptionalFormControl() const override { return !isRequiredForm
Control(); } | 93 virtual bool isOptionalFormControl() const override { return !isRequiredForm
Control(); } |
94 virtual bool isRequiredFormControl() const override { return isRequired(); } | 94 virtual bool isRequiredFormControl() const override { return isRequired(); } |
95 | 95 |
96 virtual void defaultEventHandler(Event*) override; | 96 virtual void defaultEventHandler(Event*) override; |
97 virtual void handleFocusEvent(Element* oldFocusedNode, FocusType) override; | 97 virtual void handleFocusEvent(Element* oldFocusedNode, WebFocusType) overrid
e; |
98 | 98 |
99 virtual void subtreeHasChanged() override; | 99 virtual void subtreeHasChanged() override; |
100 | 100 |
101 virtual bool isEnumeratable() const override { return true; } | 101 virtual bool isEnumeratable() const override { return true; } |
102 virtual bool isInteractiveContent() const override; | 102 virtual bool isInteractiveContent() const override; |
103 virtual bool supportsAutofocus() const override; | 103 virtual bool supportsAutofocus() const override; |
104 virtual bool supportLabels() const override { return true; } | 104 virtual bool supportLabels() const override { return true; } |
105 | 105 |
106 virtual const AtomicString& formControlType() const override; | 106 virtual const AtomicString& formControlType() const override; |
107 | 107 |
(...skipping 29 matching lines...) Expand all Loading... |
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 |