diff options
author | Steve Block <steveblock@google.com> | 2010-09-29 17:32:26 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-09-29 17:35:08 +0100 |
commit | 68513a70bcd92384395513322f1b801e7bf9c729 (patch) | |
tree | 161b50f75a5921d61731bb25e730005994fcec85 /WebCore/rendering/RenderSVGInlineText.h | |
parent | fd5c6425ce58eb75211be7718d5dee960842a37e (diff) | |
download | external_webkit-68513a70bcd92384395513322f1b801e7bf9c729.zip external_webkit-68513a70bcd92384395513322f1b801e7bf9c729.tar.gz external_webkit-68513a70bcd92384395513322f1b801e7bf9c729.tar.bz2 |
Merge WebKit at r67908: Initial merge by Git
Change-Id: I43a553e7b3299b28cb6ee8aa035ed70fe342b972
Diffstat (limited to 'WebCore/rendering/RenderSVGInlineText.h')
-rw-r--r-- | WebCore/rendering/RenderSVGInlineText.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/WebCore/rendering/RenderSVGInlineText.h b/WebCore/rendering/RenderSVGInlineText.h index 08b4a47..f606918 100644 --- a/WebCore/rendering/RenderSVGInlineText.h +++ b/WebCore/rendering/RenderSVGInlineText.h @@ -26,14 +26,18 @@ #define RenderSVGInlineText_h #if ENABLE(SVG) - #include "RenderText.h" +#include "SVGTextLayoutAttributes.h" namespace WebCore { + class RenderSVGInlineText : public RenderText { public: RenderSVGInlineText(Node*, PassRefPtr<StringImpl>); + bool characterStartsNewTextChunk(int position) const; + void storeLayoutAttributes(const SVGTextLayoutAttributes& attributes) { m_attributes = attributes; } + private: virtual const char* renderName() const { return "RenderSVGInlineText"; } @@ -47,8 +51,10 @@ private: virtual bool isSVGInlineText() const { return true; } virtual IntRect localCaretRect(InlineBox*, int caretOffset, int* extraWidthToEndOfLine = 0); - + virtual IntRect linesBoundingBox() const; virtual InlineTextBox* createTextBox(); + + SVGTextLayoutAttributes m_attributes; }; } |