diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
commit | 635860845790a19bf50bbc51ba8fb66a96dde068 (patch) | |
tree | ef6ad9ff73a5b57f65249d4232a202fa77e6a140 /WebCore/rendering/RenderTableRow.h | |
parent | 8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (diff) | |
download | external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.zip external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.gz external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.bz2 |
auto import from //depot/cupcake/@136594
Diffstat (limited to 'WebCore/rendering/RenderTableRow.h')
-rw-r--r-- | WebCore/rendering/RenderTableRow.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/WebCore/rendering/RenderTableRow.h b/WebCore/rendering/RenderTableRow.h index 99482be..79d32d8 100644 --- a/WebCore/rendering/RenderTableRow.h +++ b/WebCore/rendering/RenderTableRow.h @@ -35,29 +35,29 @@ class RenderTableRow : public RenderContainer { public: RenderTableRow(Node*); + RenderTableSection* section() const { return static_cast<RenderTableSection*>(parent()); } + RenderTable* table() const { return static_cast<RenderTable*>(parent()->parent()); } + +private: virtual const char* renderName() const { return isAnonymous() ? "RenderTableRow (anonymous)" : "RenderTableRow"; } virtual bool isTableRow() const { return true; } virtual void destroy(); - RenderTableSection* section() const { return static_cast<RenderTableSection*>(parent()); } - RenderTable* table() const { return static_cast<RenderTable*>(parent()->parent()); } - virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0); - virtual int lineHeight(bool firstLine, bool isRootLineBox = false) const { return 0; } + virtual int lineHeight(bool, bool) const { return 0; } virtual void position(InlineBox*) { } virtual void layout(); - virtual IntRect absoluteClippedOverflowRect(); + virtual IntRect clippedOverflowRectForRepaint(RenderBox* repaintContainer); virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int x, int y, int tx, int ty, HitTestAction); // The only time rows get a layer is when they have transparency. - virtual bool requiresLayer() { return isTransparent() || hasOverflowClip(); } + virtual bool requiresLayer() const { return isTransparent() || hasOverflowClip(); } virtual void paint(PaintInfo&, int tx, int ty); - virtual void imageChanged(WrappedImagePtr); + virtual void imageChanged(WrappedImagePtr, const IntRect* = 0); -protected: virtual void styleWillChange(RenderStyle::Diff, const RenderStyle* newStyle); }; |