| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of the WebKit project. | 2 * This file is part of the WebKit project. |
| 3 * | 3 * |
| 4 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> | 4 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> |
| 5 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. |
| 6 * (C) 2008 Rob Buis <buis@kde.org> | 6 * (C) 2008 Rob Buis <buis@kde.org> |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 public: | 34 public: |
| 35 RenderSVGInlineText(Node*, PassRefPtr<StringImpl>); | 35 RenderSVGInlineText(Node*, PassRefPtr<StringImpl>); |
| 36 virtual const char* renderName() const { return "RenderSVGInlineText"; } | 36 virtual const char* renderName() const { return "RenderSVGInlineText"; } |
| 37 | 37 |
| 38 virtual void styleDidChange(StyleDifference, const RenderStyle*); | 38 virtual void styleDidChange(StyleDifference, const RenderStyle*); |
| 39 | 39 |
| 40 virtual void absoluteRects(Vector<IntRect>& rects, int tx, int ty, bool topL
evel = true); | 40 virtual void absoluteRects(Vector<IntRect>& rects, int tx, int ty, bool topL
evel = true); |
| 41 virtual void absoluteQuads(Vector<FloatQuad>&, bool topLevel = true); | 41 virtual void absoluteQuads(Vector<FloatQuad>&, bool topLevel = true); |
| 42 | 42 |
| 43 virtual bool requiresLayer() const { return false; } | 43 virtual bool requiresLayer() const { return false; } |
| 44 virtual IntRect selectionRectForRepaint(RenderBoxModelObject* repaintContain
er, bool clipToVisibleContent = true); | 44 virtual IntRect selectionRectForRepaint(RenderBox* repaintContainer, bool cl
ipToVisibleContent = true); |
| 45 virtual bool isSVGText() const { return true; } | 45 virtual bool isSVGText() const { return true; } |
| 46 virtual InlineTextBox* createInlineTextBox(); | 46 virtual InlineTextBox* createInlineTextBox(); |
| 47 | 47 |
| 48 virtual IntRect localCaretRect(InlineBox*, int caretOffset, int* extraWidthT
oEndOfLine = 0); | 48 virtual IntRect localCaretRect(InlineBox*, int caretOffset, int* extraWidthT
oEndOfLine = 0); |
| 49 virtual VisiblePosition positionForCoordinates(int x, int y); | 49 virtual VisiblePosition positionForCoordinates(int x, int y); |
| 50 | 50 |
| 51 virtual void destroy(); | 51 virtual void destroy(); |
| 52 | 52 |
| 53 private: | 53 private: |
| 54 IntRect computeRepaintRectForRange(RenderBoxModelObject* repaintContainer, i
nt startPos, int endPos); | 54 IntRect computeRepaintRectForRange(RenderBox* repaintContainer, int startPos
, int endPos); |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } | 57 } |
| 58 | 58 |
| 59 #endif // ENABLE(SVG) | 59 #endif // ENABLE(SVG) |
| 60 | 60 |
| 61 #endif // !RenderSVGInlineText_h | 61 #endif // !RenderSVGInlineText_h |
| OLD | NEW |