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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 // TODO(eae): Rename and change to only handle the word measurements use | 176 // TODO(eae): Rename and change to only handle the word measurements use |
177 // case once the simple code path has been removed. crbug.com/404597 | 177 // case once the simple code path has been removed. crbug.com/404597 |
178 bool canUseSimpleFontCodePath() const { return m_canUseSimpleFontCodePath; } | 178 bool canUseSimpleFontCodePath() const { return m_canUseSimpleFontCodePath; } |
179 | 179 |
180 void removeAndDestroyTextBoxes(); | 180 void removeAndDestroyTextBoxes(); |
181 | 181 |
182 PassRefPtr<AbstractInlineTextBox> firstAbstractInlineTextBox(); | 182 PassRefPtr<AbstractInlineTextBox> firstAbstractInlineTextBox(); |
183 | 183 |
184 float hyphenWidth(const Font&, TextDirection); | 184 float hyphenWidth(const Font&, TextDirection); |
185 | 185 |
| 186 void invalidateDisplayItemClientsOfFirstLine() final; |
| 187 |
186 protected: | 188 protected: |
187 void willBeDestroyed() override; | 189 void willBeDestroyed() override; |
188 | 190 |
189 void styleWillChange(StyleDifference, const ComputedStyle&) final { } | 191 void styleWillChange(StyleDifference, const ComputedStyle&) final { } |
190 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 192 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
191 | 193 |
192 virtual void setTextInternal(PassRefPtr<StringImpl>); | 194 virtual void setTextInternal(PassRefPtr<StringImpl>); |
193 virtual UChar previousCharacter() const; | 195 virtual UChar previousCharacter() const; |
194 | 196 |
195 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentLayer
, const LayoutPoint& layerOffset, const LayoutRect& containerRect) const overrid
e; | 197 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentLayer
, const LayoutPoint& layerOffset, const LayoutRect& containerRect) const overrid
e; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 inline LayoutText* Text::layoutObject() const | 297 inline LayoutText* Text::layoutObject() const |
296 { | 298 { |
297 return toLayoutText(CharacterData::layoutObject()); | 299 return toLayoutText(CharacterData::layoutObject()); |
298 } | 300 } |
299 | 301 |
300 void applyTextTransform(const ComputedStyle*, String&, UChar); | 302 void applyTextTransform(const ComputedStyle*, String&, UChar); |
301 | 303 |
302 } // namespace blink | 304 } // namespace blink |
303 | 305 |
304 #endif // LayoutText_h | 306 #endif // LayoutText_h |
OLD | NEW |