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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 unsigned rowIndexForRenderer(const RenderTableRow*) const; | 155 unsigned rowIndexForRenderer(const RenderTableRow*) const; |
156 | 156 |
157 void removeCachedCollapsedBorders(const RenderTableCell*); | 157 void removeCachedCollapsedBorders(const RenderTableCell*); |
158 void setCachedCollapsedBorder(const RenderTableCell*, CollapsedBorderSide, C
ollapsedBorderValue); | 158 void setCachedCollapsedBorder(const RenderTableCell*, CollapsedBorderSide, C
ollapsedBorderValue); |
159 CollapsedBorderValue& cachedCollapsedBorder(const RenderTableCell*, Collapse
dBorderSide); | 159 CollapsedBorderValue& cachedCollapsedBorder(const RenderTableCell*, Collapse
dBorderSide); |
160 | 160 |
161 // distributeExtraLogicalHeightToRows methods return the *consumed* extra lo
gical height. | 161 // distributeExtraLogicalHeightToRows methods return the *consumed* extra lo
gical height. |
162 // FIXME: We may want to introduce a structure holding the in-flux layout in
formation. | 162 // FIXME: We may want to introduce a structure holding the in-flux layout in
formation. |
163 int distributeExtraLogicalHeightToRows(int extraLogicalHeight); | 163 int distributeExtraLogicalHeightToRows(int extraLogicalHeight); |
164 | 164 |
| 165 static RenderTableSection* createAnonymousWithParentRenderer(const RenderObj
ect*); |
| 166 |
165 protected: | 167 protected: |
166 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 168 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
167 | 169 |
168 private: | 170 private: |
169 virtual RenderObjectChildList* virtualChildren() { return children(); } | 171 virtual RenderObjectChildList* virtualChildren() { return children(); } |
170 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } | 172 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } |
171 | 173 |
172 virtual const char* renderName() const { return isAnonymous() ? "RenderTable
Section (anonymous)" : "RenderTableSection"; } | 174 virtual const char* renderName() const { return isAnonymous() ? "RenderTable
Section (anonymous)" : "RenderTableSection"; } |
173 | 175 |
174 virtual bool isTableSection() const { return true; } | 176 virtual bool isTableSection() const { return true; } |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 ASSERT(!object || object->isTableSection()); | 243 ASSERT(!object || object->isTableSection()); |
242 return static_cast<const RenderTableSection*>(object); | 244 return static_cast<const RenderTableSection*>(object); |
243 } | 245 } |
244 | 246 |
245 // This will catch anyone doing an unnecessary cast. | 247 // This will catch anyone doing an unnecessary cast. |
246 void toRenderTableSection(const RenderTableSection*); | 248 void toRenderTableSection(const RenderTableSection*); |
247 | 249 |
248 } // namespace WebCore | 250 } // namespace WebCore |
249 | 251 |
250 #endif // RenderTableSection_h | 252 #endif // RenderTableSection_h |
OLD | NEW |