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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 void styleWillChange(StyleDifference, const ComputedStyle&) final { } | 189 void styleWillChange(StyleDifference, const ComputedStyle&) final { } |
190 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 190 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
191 | 191 |
192 virtual void setTextInternal(PassRefPtr<StringImpl>); | 192 virtual void setTextInternal(PassRefPtr<StringImpl>); |
193 virtual UChar previousCharacter() const; | 193 virtual UChar previousCharacter() const; |
194 | 194 |
195 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentLayer
, const LayoutPoint& layerOffset, const LayoutRect& containerRect) const overrid
e; | 195 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentLayer
, const LayoutPoint& layerOffset, const LayoutRect& containerRect) const overrid
e; |
196 | 196 |
197 virtual InlineTextBox* createTextBox(int start, unsigned short length); // S
ubclassed by SVG. | 197 virtual InlineTextBox* createTextBox(int start, unsigned short length); // S
ubclassed by SVG. |
198 | 198 |
199 void invalidateDisplayItemClients(const LayoutBoxModelObject& paintInvalidat
ionContainer, PaintInvalidationReason, const LayoutRect* paintInvalidationRect)
const override; | 199 void invalidateDisplayItemClients(const LayoutBoxModelObject& paintInvalidat
ionContainer, PaintInvalidationReason) const override; |
200 | 200 |
201 private: | 201 private: |
202 void computePreferredLogicalWidths(float leadWidth); | 202 void computePreferredLogicalWidths(float leadWidth); |
203 void computePreferredLogicalWidths(float leadWidth, HashSet<const SimpleFont
Data*>& fallbackFonts, FloatRect& glyphBounds); | 203 void computePreferredLogicalWidths(float leadWidth, HashSet<const SimpleFont
Data*>& fallbackFonts, FloatRect& glyphBounds); |
204 | 204 |
205 bool computeCanUseSimpleFontCodePath() const; | 205 bool computeCanUseSimpleFontCodePath() const; |
206 | 206 |
207 // Make length() private so that callers that have a LayoutText* | 207 // Make length() private so that callers that have a LayoutText* |
208 // will use the more efficient textLength() instead, while | 208 // will use the more efficient textLength() instead, while |
209 // callers with a LayoutObject* can continue to use length(). | 209 // callers with a LayoutObject* can continue to use length(). |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 inline LayoutText* Text::layoutObject() const | 295 inline LayoutText* Text::layoutObject() const |
296 { | 296 { |
297 return toLayoutText(CharacterData::layoutObject()); | 297 return toLayoutText(CharacterData::layoutObject()); |
298 } | 298 } |
299 | 299 |
300 void applyTextTransform(const ComputedStyle*, String&, UChar); | 300 void applyTextTransform(const ComputedStyle*, String&, UChar); |
301 | 301 |
302 } // namespace blink | 302 } // namespace blink |
303 | 303 |
304 #endif // LayoutText_h | 304 #endif // LayoutText_h |
OLD | NEW |