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