diff options
Diffstat (limited to 'WebCore/rendering/RenderTableSection.h')
-rw-r--r-- | WebCore/rendering/RenderTableSection.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/WebCore/rendering/RenderTableSection.h b/WebCore/rendering/RenderTableSection.h index 71839d1..5c57714 100644 --- a/WebCore/rendering/RenderTableSection.h +++ b/WebCore/rendering/RenderTableSection.h @@ -35,20 +35,28 @@ namespace WebCore { class RenderTableCell; class RenderTableRow; -class RenderTableSection : public RenderContainer { +class RenderTableSection : public RenderBox { public: RenderTableSection(Node*); ~RenderTableSection(); + virtual RenderObjectChildList* virtualChildren() { return children(); } + virtual const RenderObjectChildList* virtualChildren() const { return children(); } + const RenderObjectChildList* children() const { return &m_children; } + RenderObjectChildList* children() { return &m_children; } + virtual const char* renderName() const { return isAnonymous() ? "RenderTableSection (anonymous)" : "RenderTableSection"; } virtual bool isTableSection() const { return true; } virtual void destroy(); + virtual void layout(); + virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0); + virtual void removeChild(RenderObject* oldChild); - virtual int getBaselineOfFirstLineBox() const; + virtual int firstLineBoxBaseline() const; void addCell(RenderTableCell*, RenderTableRow* row); @@ -99,6 +107,8 @@ public: int outerBorderRight() const { return m_outerBorderRight; } virtual void paint(PaintInfo&, int tx, int ty); + virtual void paintObject(PaintInfo&, int tx, int ty); + virtual void imageChanged(WrappedImagePtr, const IntRect* = 0); int numRows() const { return m_gridRows; } @@ -119,17 +129,16 @@ public: int getBaseline(int row) { return m_grid[row].baseline; } - virtual RenderObject* removeChildNode(RenderObject*, bool fullRemove = true); - virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int x, int y, int tx, int ty, HitTestAction); private: virtual int lineHeight(bool, bool) const { return 0; } - virtual void position(InlineBox*) { } bool ensureRows(int); void clearGrid(); + RenderObjectChildList m_children; + Vector<RowStruct> m_grid; int m_gridRows; Vector<int> m_rowPos; |