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