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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 | 138 |
139 bool canUseSimpleFontCodePath() const { return m_canUseSimpleFontCodePath; } | 139 bool canUseSimpleFontCodePath() const { return m_canUseSimpleFontCodePath; } |
140 | 140 |
141 void removeAndDestroyTextBoxes(); | 141 void removeAndDestroyTextBoxes(); |
142 | 142 |
143 PassRefPtr<AbstractInlineTextBox> firstAbstractInlineTextBox(); | 143 PassRefPtr<AbstractInlineTextBox> firstAbstractInlineTextBox(); |
144 | 144 |
145 protected: | 145 protected: |
146 virtual void willBeDestroyed() override; | 146 virtual void willBeDestroyed() override; |
147 | 147 |
148 virtual void styleWillChange(StyleDifference, const LayoutStyle&) override f
inal { } | 148 virtual void styleWillChange(StyleDifference, const ComputedStyle&) override
final { } |
149 virtual void styleDidChange(StyleDifference, const LayoutStyle* oldStyle) ov
erride; | 149 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle)
override; |
150 | 150 |
151 virtual void setTextInternal(PassRefPtr<StringImpl>); | 151 virtual void setTextInternal(PassRefPtr<StringImpl>); |
152 virtual UChar previousCharacter() const; | 152 virtual UChar previousCharacter() const; |
153 | 153 |
154 virtual void addLayerHitTestRects(LayerHitTestRects&, const DeprecatedPaintL
ayer* currentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerR
ect) const override; | 154 virtual void addLayerHitTestRects(LayerHitTestRects&, const DeprecatedPaintL
ayer* currentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerR
ect) const override; |
155 | 155 |
156 virtual InlineTextBox* createTextBox(int start, unsigned short length); // S
ubclassed by SVG. | 156 virtual InlineTextBox* createTextBox(int start, unsigned short length); // S
ubclassed by SVG. |
157 | 157 |
158 virtual void invalidateDisplayItemClients(const LayoutBoxModelObject& paintI
nvalidationContainer) const override; | 158 virtual void invalidateDisplayItemClients(const LayoutBoxModelObject& paintI
nvalidationContainer) const override; |
159 | 159 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 inline void LayoutText::checkConsistency() const | 233 inline void LayoutText::checkConsistency() const |
234 { | 234 { |
235 } | 235 } |
236 #endif | 236 #endif |
237 | 237 |
238 inline LayoutText* Text::layoutObject() const | 238 inline LayoutText* Text::layoutObject() const |
239 { | 239 { |
240 return toLayoutText(CharacterData::layoutObject()); | 240 return toLayoutText(CharacterData::layoutObject()); |
241 } | 241 } |
242 | 242 |
243 void applyTextTransform(const LayoutStyle*, String&, UChar); | 243 void applyTextTransform(const ComputedStyle*, String&, UChar); |
244 | 244 |
245 } // namespace blink | 245 } // namespace blink |
246 | 246 |
247 #endif // LayoutText_h | 247 #endif // LayoutText_h |
OLD | NEW |