| 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 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2007 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 virtual void dirtyLineBoxes(bool fullLayout, bool isRootInlineBox = false); | 57 virtual void dirtyLineBoxes(bool fullLayout, bool isRootInlineBox = false); |
| 58 | 58 |
| 59 virtual void paint(PaintInfo&, int tx, int ty) { ASSERT_NOT_REACHED(); } | 59 virtual void paint(PaintInfo&, int tx, int ty) { ASSERT_NOT_REACHED(); } |
| 60 virtual void layout() { ASSERT_NOT_REACHED(); } | 60 virtual void layout() { ASSERT_NOT_REACHED(); } |
| 61 | 61 |
| 62 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int, int, in
t, int, HitTestAction) { ASSERT_NOT_REACHED(); return false; } | 62 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int, int, in
t, int, HitTestAction) { ASSERT_NOT_REACHED(); return false; } |
| 63 | 63 |
| 64 virtual void absoluteRects(Vector<IntRect>&, int tx, int ty, bool topLevel =
true); | 64 virtual void absoluteRects(Vector<IntRect>&, int tx, int ty, bool topLevel =
true); |
| 65 virtual void addLineBoxRects(Vector<IntRect>&, unsigned startOffset = 0, uns
igned endOffset = UINT_MAX, bool useSelectionHeight = false); | 65 virtual void addLineBoxRects(Vector<IntRect>&, unsigned startOffset = 0, uns
igned endOffset = UINT_MAX, bool useSelectionHeight = false); |
| 66 | 66 |
| 67 virtual void absoluteQuads(Vector<FloatQuad>&, bool topLevel = true); |
| 68 virtual void collectAbsoluteLineBoxQuads(Vector<FloatQuad>&, unsigned startO
ffset = 0, unsigned endOffset = UINT_MAX, bool useSelectionHeight = false); |
| 69 |
| 67 virtual VisiblePosition positionForCoordinates(int x, int y); | 70 virtual VisiblePosition positionForCoordinates(int x, int y); |
| 68 | 71 |
| 69 const UChar* characters() const { return m_text->characters(); } | 72 const UChar* characters() const { return m_text->characters(); } |
| 70 unsigned textLength() const { return m_text->length(); } // non virtual impl
ementation of length() | 73 unsigned textLength() const { return m_text->length(); } // non virtual impl
ementation of length() |
| 71 virtual void position(InlineBox*); | 74 virtual void position(InlineBox*); |
| 72 | 75 |
| 73 virtual unsigned width(unsigned from, unsigned len, const Font&, int xPos) c
onst; | 76 virtual unsigned width(unsigned from, unsigned len, const Font&, int xPos) c
onst; |
| 74 virtual unsigned width(unsigned from, unsigned len, int xPos, bool firstLine
= false) const; | 77 virtual unsigned width(unsigned from, unsigned len, int xPos, bool firstLine
= false) const; |
| 75 virtual int width() const; | 78 virtual int width() const; |
| 76 virtual int height() const; | 79 virtual int height() const; |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 175 |
| 173 #ifdef NDEBUG | 176 #ifdef NDEBUG |
| 174 inline void RenderText::checkConsistency() const | 177 inline void RenderText::checkConsistency() const |
| 175 { | 178 { |
| 176 } | 179 } |
| 177 #endif | 180 #endif |
| 178 | 181 |
| 179 } // namespace WebCore | 182 } // namespace WebCore |
| 180 | 183 |
| 181 #endif // RenderText_h | 184 #endif // RenderText_h |
| OLD | NEW |