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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 { | 111 { |
112 if (m_needsCellRecalc) | 112 if (m_needsCellRecalc) |
113 recalcCells(); | 113 recalcCells(); |
114 } | 114 } |
115 | 115 |
116 bool needsCellRecalc() const { return m_needsCellRecalc; } | 116 bool needsCellRecalc() const { return m_needsCellRecalc; } |
117 void setNeedsCellRecalc(); | 117 void setNeedsCellRecalc(); |
118 | 118 |
119 int getBaseline(int row) { return m_grid[row].baseline; } | 119 int getBaseline(int row) { return m_grid[row].baseline; } |
120 | 120 |
| 121 protected: |
| 122 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
| 123 |
121 private: | 124 private: |
122 virtual RenderObjectChildList* virtualChildren() { return children(); } | 125 virtual RenderObjectChildList* virtualChildren() { return children(); } |
123 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } | 126 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } |
124 | 127 |
125 virtual const char* renderName() const { return isAnonymous() ? "RenderTable
Section (anonymous)" : "RenderTableSection"; } | 128 virtual const char* renderName() const { return isAnonymous() ? "RenderTable
Section (anonymous)" : "RenderTableSection"; } |
126 | 129 |
127 virtual bool isTableSection() const { return true; } | 130 virtual bool isTableSection() const { return true; } |
128 | 131 |
129 virtual void willBeDestroyed(); | 132 virtual void willBeDestroyed(); |
130 | 133 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 ASSERT(!object || object->isTableSection()); | 179 ASSERT(!object || object->isTableSection()); |
177 return static_cast<const RenderTableSection*>(object); | 180 return static_cast<const RenderTableSection*>(object); |
178 } | 181 } |
179 | 182 |
180 // This will catch anyone doing an unnecessary cast. | 183 // This will catch anyone doing an unnecessary cast. |
181 void toRenderTableSection(const RenderTableSection*); | 184 void toRenderTableSection(const RenderTableSection*); |
182 | 185 |
183 } // namespace WebCore | 186 } // namespace WebCore |
184 | 187 |
185 #endif // RenderTableSection_h | 188 #endif // RenderTableSection_h |
OLD | NEW |