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, 2010 Apple Inc. All rights reserv
ed. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 Apple Inc. All rights reserv
ed. |
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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 return 0; | 220 return 0; |
221 return slowColElement(col, startEdge, endEdge); | 221 return slowColElement(col, startEdge, endEdge); |
222 } | 222 } |
223 | 223 |
224 bool needsSectionRecalc() const { return m_needsSectionRecalc; } | 224 bool needsSectionRecalc() const { return m_needsSectionRecalc; } |
225 void setNeedsSectionRecalc() | 225 void setNeedsSectionRecalc() |
226 { | 226 { |
227 if (documentBeingDestroyed()) | 227 if (documentBeingDestroyed()) |
228 return; | 228 return; |
229 m_needsSectionRecalc = true; | 229 m_needsSectionRecalc = true; |
230 setNeedsLayoutAndFullPaintInvalidation(); | 230 setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::TableCh
anged); |
231 } | 231 } |
232 | 232 |
233 LayoutTableSection* sectionAbove(const LayoutTableSection*, SkipEmptySection
sValue = DoNotSkipEmptySections) const; | 233 LayoutTableSection* sectionAbove(const LayoutTableSection*, SkipEmptySection
sValue = DoNotSkipEmptySections) const; |
234 LayoutTableSection* sectionBelow(const LayoutTableSection*, SkipEmptySection
sValue = DoNotSkipEmptySections) const; | 234 LayoutTableSection* sectionBelow(const LayoutTableSection*, SkipEmptySection
sValue = DoNotSkipEmptySections) const; |
235 | 235 |
236 LayoutTableCell* cellAbove(const LayoutTableCell*) const; | 236 LayoutTableCell* cellAbove(const LayoutTableCell*) const; |
237 LayoutTableCell* cellBelow(const LayoutTableCell*) const; | 237 LayoutTableCell* cellBelow(const LayoutTableCell*) const; |
238 LayoutTableCell* cellBefore(const LayoutTableCell*) const; | 238 LayoutTableCell* cellBefore(const LayoutTableCell*) const; |
239 LayoutTableCell* cellAfter(const LayoutTableCell*) const; | 239 LayoutTableCell* cellAfter(const LayoutTableCell*) const; |
240 | 240 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 if (m_firstBody) | 361 if (m_firstBody) |
362 return m_firstBody; | 362 return m_firstBody; |
363 return m_foot; | 363 return m_foot; |
364 } | 364 } |
365 | 365 |
366 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, isTable()); | 366 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, isTable()); |
367 | 367 |
368 } // namespace blink | 368 } // namespace blink |
369 | 369 |
370 #endif // LayoutTable_h | 370 #endif // LayoutTable_h |
OLD | NEW |