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