diff options
Diffstat (limited to 'WebCore/rendering/EllipsisBox.h')
-rw-r--r-- | WebCore/rendering/EllipsisBox.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/WebCore/rendering/EllipsisBox.h b/WebCore/rendering/EllipsisBox.h index dbb30cd..9dbd27f 100644 --- a/WebCore/rendering/EllipsisBox.h +++ b/WebCore/rendering/EllipsisBox.h @@ -26,15 +26,15 @@ namespace WebCore { +class HitTestRequest; class HitTestResult; -struct HitTestRequest; - class EllipsisBox : public InlineBox { public: EllipsisBox(RenderObject* obj, const AtomicString& ellipsisStr, InlineFlowBox* parent, - int width, int y, int height, int baseline, bool firstLine, InlineBox* markupBox) - : InlineBox(obj, 0, y, width, height, baseline, firstLine, true, false, false, 0, 0, parent) + int width, int height, int y, bool firstLine, InlineBox* markupBox) + : InlineBox(obj, 0, y, width, firstLine, true, false, false, 0, 0, parent) + , m_height(height) , m_str(ellipsisStr) , m_markupBox(markupBox) { @@ -44,6 +44,9 @@ public: virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int x, int y, int tx, int ty); private: + virtual int height() const { return m_height; } + + int m_height; AtomicString m_str; InlineBox* m_markupBox; }; |