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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 bool isRenderedCharacter(int offsetInNode) const; | 210 bool isRenderedCharacter(int offsetInNode) const; |
211 | 211 |
212 void removeAndDestroyTextBoxes(); | 212 void removeAndDestroyTextBoxes(); |
213 | 213 |
214 PassRefPtr<AbstractInlineTextBox> firstAbstractInlineTextBox(); | 214 PassRefPtr<AbstractInlineTextBox> firstAbstractInlineTextBox(); |
215 | 215 |
216 float hyphenWidth(const Font&, TextDirection); | 216 float hyphenWidth(const Font&, TextDirection); |
217 | 217 |
218 LayoutRect debugRect() const override; | 218 LayoutRect debugRect() const override; |
219 | 219 |
| 220 void autosizingMultiplerChanged() { |
| 221 m_knownToHaveNoOverflowAndNoFallbackFonts = false; |
| 222 } |
| 223 |
220 protected: | 224 protected: |
221 void willBeDestroyed() override; | 225 void willBeDestroyed() override; |
222 | 226 |
223 void styleWillChange(StyleDifference, const ComputedStyle&) final {} | 227 void styleWillChange(StyleDifference, const ComputedStyle&) final {} |
224 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; | 228 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; |
225 | 229 |
226 virtual void setTextInternal(PassRefPtr<StringImpl>); | 230 virtual void setTextInternal(PassRefPtr<StringImpl>); |
227 virtual UChar previousCharacter() const; | 231 virtual UChar previousCharacter() const; |
228 | 232 |
229 void addLayerHitTestRects(LayerHitTestRects&, | 233 void addLayerHitTestRects(LayerHitTestRects&, |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 | 353 |
350 inline LayoutText* Text::layoutObject() const { | 354 inline LayoutText* Text::layoutObject() const { |
351 return toLayoutText(CharacterData::layoutObject()); | 355 return toLayoutText(CharacterData::layoutObject()); |
352 } | 356 } |
353 | 357 |
354 void applyTextTransform(const ComputedStyle*, String&, UChar); | 358 void applyTextTransform(const ComputedStyle*, String&, UChar); |
355 | 359 |
356 } // namespace blink | 360 } // namespace blink |
357 | 361 |
358 #endif // LayoutText_h | 362 #endif // LayoutText_h |
OLD | NEW |