| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 void attachTextBox(InlineTextBox*); | 52 void attachTextBox(InlineTextBox*); |
| 53 void removeTextBox(InlineTextBox*); | 53 void removeTextBox(InlineTextBox*); |
| 54 | 54 |
| 55 const String& text() const { return m_text; } | 55 const String& text() const { return m_text; } |
| 56 virtual unsigned textStartOffset() const { return 0; } | 56 virtual unsigned textStartOffset() const { return 0; } |
| 57 String plainText() const; | 57 String plainText() const; |
| 58 | 58 |
| 59 InlineTextBox* createInlineTextBox(); | 59 InlineTextBox* createInlineTextBox(); |
| 60 void dirtyLineBoxes(bool fullLayout); | 60 void dirtyLineBoxes(bool fullLayout); |
| 61 | 61 |
| 62 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO
ffset) const override final; | |
| 63 void absoluteRectsForRange(Vector<IntRect>&, unsigned startOffset = 0, unsig
ned endOffset = INT_MAX, bool useSelectionHeight = false); | 62 void absoluteRectsForRange(Vector<IntRect>&, unsigned startOffset = 0, unsig
ned endOffset = INT_MAX, bool useSelectionHeight = false); |
| 64 | 63 |
| 65 virtual void absoluteQuads(Vector<FloatQuad>&) const override final; | 64 virtual void absoluteQuads(Vector<FloatQuad>&) const override final; |
| 66 void absoluteQuadsForRange(Vector<FloatQuad>&, unsigned startOffset = 0, uns
igned endOffset = INT_MAX, bool useSelectionHeight = false); | 65 void absoluteQuadsForRange(Vector<FloatQuad>&, unsigned startOffset = 0, uns
igned endOffset = INT_MAX, bool useSelectionHeight = false); |
| 67 | 66 |
| 68 enum ClippingOption { NoClipping, ClipToEllipsis }; | 67 enum ClippingOption { NoClipping, ClipToEllipsis }; |
| 69 void absoluteQuads(Vector<FloatQuad>&, ClippingOption = NoClipping) const; | 68 void absoluteQuads(Vector<FloatQuad>&, ClippingOption = NoClipping) const; |
| 70 | 69 |
| 71 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override; | 70 virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override; |
| 72 | 71 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 #endif | 215 #endif |
| 217 | 216 |
| 218 inline RenderText* Text::renderer() const | 217 inline RenderText* Text::renderer() const |
| 219 { | 218 { |
| 220 return toRenderText(CharacterData::renderer()); | 219 return toRenderText(CharacterData::renderer()); |
| 221 } | 220 } |
| 222 | 221 |
| 223 } // namespace blink | 222 } // namespace blink |
| 224 | 223 |
| 225 #endif // SKY_ENGINE_CORE_RENDERING_RENDERTEXT_H_ | 224 #endif // SKY_ENGINE_CORE_RENDERING_RENDERTEXT_H_ |
| OLD | NEW |