summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderText.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/RenderText.h')
-rw-r--r--WebCore/rendering/RenderText.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/WebCore/rendering/RenderText.h b/WebCore/rendering/RenderText.h
index f46f053..6ab73f6 100644
--- a/WebCore/rendering/RenderText.h
+++ b/WebCore/rendering/RenderText.h
@@ -62,6 +62,9 @@ public:
virtual void absoluteQuads(Vector<FloatQuad>&);
void absoluteQuadsForRange(Vector<FloatQuad>&, unsigned startOffset = 0, unsigned endOffset = UINT_MAX, bool useSelectionHeight = false);
+ enum ClippingOption { NoClipping, ClipToEllipsis };
+ void absoluteQuads(Vector<FloatQuad>&, ClippingOption option = NoClipping);
+
virtual VisiblePosition positionForPoint(const IntPoint&);
const UChar* characters() const { return m_text.characters(); }
@@ -83,7 +86,7 @@ public:
int& beginMaxW, int& endMaxW,
int& minW, int& maxW, bool& stripFrontSpaces);
- IntRect linesBoundingBox() const;
+ virtual IntRect linesBoundingBox() const;
IntPoint firstRunOrigin() const;
int firstRunX() const;