Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: Source/WebCore/rendering/RenderTableRow.h

Issue 8989014: Revert 99212 - Stop abusing RenderTableSection::needsRecalcCells logic (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 * (C) 1997 Torben Weis (weis@kde.org) 3 * (C) 1997 Torben Weis (weis@kde.org)
4 * (C) 1998 Waldo Bastian (bastian@kde.org) 4 * (C) 1998 Waldo Bastian (bastian@kde.org)
5 * (C) 1999 Lars Knoll (knoll@kde.org) 5 * (C) 1999 Lars Knoll (knoll@kde.org)
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) 6 * (C) 1999 Antti Koivisto (koivisto@kde.org)
7 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual LayoutRect clippedOverflowRectForRepaint(RenderBoxModelObject* repai ntContainer) const; 56 virtual LayoutRect clippedOverflowRectForRepaint(RenderBoxModelObject* repai ntContainer) const;
57 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const Layout Point& pointInContainer, const LayoutPoint& accumulatedOffset, HitTestAction); 57 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const Layout Point& pointInContainer, const LayoutPoint& accumulatedOffset, HitTestAction);
58 58
59 // The only time rows get a layer is when they have transparency. 59 // The only time rows get a layer is when they have transparency.
60 virtual bool requiresLayer() const { return isTransparent() || hasOverflowCl ip() || hasTransform() || hasMask() || hasFilter(); } 60 virtual bool requiresLayer() const { return isTransparent() || hasOverflowCl ip() || hasTransform() || hasMask() || hasFilter(); }
61 61
62 virtual void paint(PaintInfo&, const LayoutPoint&); 62 virtual void paint(PaintInfo&, const LayoutPoint&);
63 63
64 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0); 64 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0);
65 65
66 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle);
66 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); 67 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
67 68
68 RenderObjectChildList m_children; 69 RenderObjectChildList m_children;
69 }; 70 };
70 71
71 inline RenderTableRow* toRenderTableRow(RenderObject* object) 72 inline RenderTableRow* toRenderTableRow(RenderObject* object)
72 { 73 {
73 ASSERT(!object || object->isTableRow()); 74 ASSERT(!object || object->isTableRow());
74 return static_cast<RenderTableRow*>(object); 75 return static_cast<RenderTableRow*>(object);
75 } 76 }
76 77
77 inline const RenderTableRow* toRenderTableRow(const RenderObject* object) 78 inline const RenderTableRow* toRenderTableRow(const RenderObject* object)
78 { 79 {
79 ASSERT(!object || object->isTableRow()); 80 ASSERT(!object || object->isTableRow());
80 return static_cast<const RenderTableRow*>(object); 81 return static_cast<const RenderTableRow*>(object);
81 } 82 }
82 83
83 // This will catch anyone doing an unnecessary cast. 84 // This will catch anyone doing an unnecessary cast.
84 void toRenderTableRow(const RenderTableRow*); 85 void toRenderTableRow(const RenderTableRow*);
85 86
86 } // namespace WebCore 87 } // namespace WebCore
87 88
88 #endif // RenderTableRow_h 89 #endif // RenderTableRow_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderTableCell.cpp ('k') | Source/WebCore/rendering/RenderTableRow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698