| 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 protected: | 139 protected: |
| 140 virtual void willBeDestroyed() override; | 140 virtual void willBeDestroyed() override; |
| 141 | 141 |
| 142 virtual void styleWillChange(StyleDifference, const RenderStyle&) override f
inal { } | 142 virtual void styleWillChange(StyleDifference, const RenderStyle&) override f
inal { } |
| 143 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov
erride; | 143 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov
erride; |
| 144 | 144 |
| 145 virtual void setTextInternal(PassRefPtr<StringImpl>); | 145 virtual void setTextInternal(PassRefPtr<StringImpl>); |
| 146 virtual UChar previousCharacter() const; | 146 virtual UChar previousCharacter() const; |
| 147 | 147 |
| 148 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur
rentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) cons
t override; | |
| 149 | |
| 150 InlineTextBox* createTextBox(); | 148 InlineTextBox* createTextBox(); |
| 151 | 149 |
| 152 private: | 150 private: |
| 153 void computePreferredLogicalWidths(float leadWidth); | 151 void computePreferredLogicalWidths(float leadWidth); |
| 154 void computePreferredLogicalWidths(float leadWidth, HashSet<const SimpleFont
Data*>& fallbackFonts, GlyphOverflow&); | 152 void computePreferredLogicalWidths(float leadWidth, HashSet<const SimpleFont
Data*>& fallbackFonts, GlyphOverflow&); |
| 155 | 153 |
| 156 bool computeCanUseSimpleFontCodePath() const; | 154 bool computeCanUseSimpleFontCodePath() const; |
| 157 | 155 |
| 158 // Make length() private so that callers that have a RenderText* | 156 // Make length() private so that callers that have a RenderText* |
| 159 // will use the more efficient textLength() instead, while | 157 // will use the more efficient textLength() instead, while |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 #endif | 219 #endif |
| 222 | 220 |
| 223 inline RenderText* Text::renderer() const | 221 inline RenderText* Text::renderer() const |
| 224 { | 222 { |
| 225 return toRenderText(CharacterData::renderer()); | 223 return toRenderText(CharacterData::renderer()); |
| 226 } | 224 } |
| 227 | 225 |
| 228 } // namespace blink | 226 } // namespace blink |
| 229 | 227 |
| 230 #endif // RenderText_h | 228 #endif // RenderText_h |
| OLD | NEW |