OLD | NEW |
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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 { | 119 { |
120 if (m_needsCellRecalc) | 120 if (m_needsCellRecalc) |
121 recalcCells(); | 121 recalcCells(); |
122 } | 122 } |
123 | 123 |
124 bool needsCellRecalc() const { return m_needsCellRecalc; } | 124 bool needsCellRecalc() const { return m_needsCellRecalc; } |
125 void setNeedsCellRecalc(); | 125 void setNeedsCellRecalc(); |
126 | 126 |
127 LayoutUnit getBaseline(unsigned row) { return m_grid[row].baseline; } | 127 LayoutUnit getBaseline(unsigned row) { return m_grid[row].baseline; } |
128 | 128 |
129 void rowLogicalHeightChanged(unsigned rowIndex); | |
130 | |
131 unsigned rowIndexForRenderer(const RenderTableRow*) const; | |
132 | |
133 protected: | 129 protected: |
134 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 130 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
135 | 131 |
136 private: | 132 private: |
137 virtual RenderObjectChildList* virtualChildren() { return children(); } | 133 virtual RenderObjectChildList* virtualChildren() { return children(); } |
138 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } | 134 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } |
139 | 135 |
140 virtual const char* renderName() const { return isAnonymous() ? "RenderTable
Section (anonymous)" : "RenderTableSection"; } | 136 virtual const char* renderName() const { return isAnonymous() ? "RenderTable
Section (anonymous)" : "RenderTableSection"; } |
141 | 137 |
142 virtual bool isTableSection() const { return true; } | 138 virtual bool isTableSection() const { return true; } |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 ASSERT(!object || object->isTableSection()); | 191 ASSERT(!object || object->isTableSection()); |
196 return static_cast<const RenderTableSection*>(object); | 192 return static_cast<const RenderTableSection*>(object); |
197 } | 193 } |
198 | 194 |
199 // This will catch anyone doing an unnecessary cast. | 195 // This will catch anyone doing an unnecessary cast. |
200 void toRenderTableSection(const RenderTableSection*); | 196 void toRenderTableSection(const RenderTableSection*); |
201 | 197 |
202 } // namespace WebCore | 198 } // namespace WebCore |
203 | 199 |
204 #endif // RenderTableSection_h | 200 #endif // RenderTableSection_h |
OLD | NEW |