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, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 145 |
146 protected: | 146 protected: |
147 virtual void computePreferredLogicalWidths(float leadWidth); | 147 virtual void computePreferredLogicalWidths(float leadWidth); |
148 virtual void willBeDestroyed(); | 148 virtual void willBeDestroyed(); |
149 | 149 |
150 virtual void styleWillChange(StyleDifference, const RenderStyle*) OVERRIDE F
INAL { } | 150 virtual void styleWillChange(StyleDifference, const RenderStyle*) OVERRIDE F
INAL { } |
151 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 151 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
152 | 152 |
153 virtual void setTextInternal(PassRefPtr<StringImpl>); | 153 virtual void setTextInternal(PassRefPtr<StringImpl>); |
154 virtual UChar previousCharacter() const; | 154 virtual UChar previousCharacter() const; |
| 155 |
| 156 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur
rentLayer, const LayoutPoint& layerOffset) const OVERRIDE; |
155 | 157 |
156 virtual InlineTextBox* createTextBox(); // Subclassed by SVG. | 158 virtual InlineTextBox* createTextBox(); // Subclassed by SVG. |
157 | 159 |
158 private: | 160 private: |
159 void computePreferredLogicalWidths(float leadWidth, HashSet<const SimpleFont
Data*>& fallbackFonts, GlyphOverflow&); | 161 void computePreferredLogicalWidths(float leadWidth, HashSet<const SimpleFont
Data*>& fallbackFonts, GlyphOverflow&); |
160 | 162 |
161 bool computeCanUseSimpleFontCodePath() const; | 163 bool computeCanUseSimpleFontCodePath() const; |
162 | 164 |
163 // Make length() private so that callers that have a RenderText* | 165 // Make length() private so that callers that have a RenderText* |
164 // will use the more efficient textLength() instead, while | 166 // will use the more efficient textLength() instead, while |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 inline void RenderText::checkConsistency() const | 240 inline void RenderText::checkConsistency() const |
239 { | 241 { |
240 } | 242 } |
241 #endif | 243 #endif |
242 | 244 |
243 void applyTextTransform(const RenderStyle*, String&, UChar); | 245 void applyTextTransform(const RenderStyle*, String&, UChar); |
244 | 246 |
245 } // namespace WebCore | 247 } // namespace WebCore |
246 | 248 |
247 #endif // RenderText_h | 249 #endif // RenderText_h |
OLD | NEW |