OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999 Lars Knoll (knoll@kde.org) | 2 * (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Dirk Mueller (mueller@kde.org) | 3 * (C) 2000 Dirk Mueller (mueller@kde.org) |
4 * Copyright (C) 2004-2009, 2013 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004-2009, 2013 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 int previousOffset(int current) const final; | 128 int previousOffset(int current) const final; |
129 int previousOffsetForBackwardDeletion(int current) const final; | 129 int previousOffsetForBackwardDeletion(int current) const final; |
130 int nextOffset(int current) const final; | 130 int nextOffset(int current) const final; |
131 | 131 |
132 bool containsReversedText() const { return m_containsReversedText; } | 132 bool containsReversedText() const { return m_containsReversedText; } |
133 | 133 |
134 bool isSecure() const { return style()->textSecurity() != TSNONE; } | 134 bool isSecure() const { return style()->textSecurity() != TSNONE; } |
135 void momentarilyRevealLastTypedCharacter(unsigned lastTypedCharacterOffset); | 135 void momentarilyRevealLastTypedCharacter(unsigned lastTypedCharacterOffset); |
136 | 136 |
137 bool isAllCollapsibleWhitespace() const; | 137 bool isAllCollapsibleWhitespace() const; |
| 138 bool isRenderedCharacter(int offsetInNode) const; |
138 | 139 |
139 bool canUseSimpleFontCodePath() const { return m_canUseSimpleFontCodePath; } | 140 bool canUseSimpleFontCodePath() const { return m_canUseSimpleFontCodePath; } |
140 | 141 |
141 void removeAndDestroyTextBoxes(); | 142 void removeAndDestroyTextBoxes(); |
142 | 143 |
143 PassRefPtr<AbstractInlineTextBox> firstAbstractInlineTextBox(); | 144 PassRefPtr<AbstractInlineTextBox> firstAbstractInlineTextBox(); |
144 | 145 |
145 float hyphenWidth(const Font&, TextDirection); | 146 float hyphenWidth(const Font&, TextDirection); |
146 | 147 |
147 protected: | 148 protected: |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 inline LayoutText* Text::layoutObject() const | 245 inline LayoutText* Text::layoutObject() const |
245 { | 246 { |
246 return toLayoutText(CharacterData::layoutObject()); | 247 return toLayoutText(CharacterData::layoutObject()); |
247 } | 248 } |
248 | 249 |
249 void applyTextTransform(const ComputedStyle*, String&, UChar); | 250 void applyTextTransform(const ComputedStyle*, String&, UChar); |
250 | 251 |
251 } // namespace blink | 252 } // namespace blink |
252 | 253 |
253 #endif // LayoutText_h | 254 #endif // LayoutText_h |
OLD | NEW |