| 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 | 250 |
| 251 bool hasSections() const { return m_head || m_foot || m_firstBody; } | 251 bool hasSections() const { return m_head || m_foot || m_firstBody; } |
| 252 | 252 |
| 253 void recalcSectionsIfNeeded() const | 253 void recalcSectionsIfNeeded() const |
| 254 { | 254 { |
| 255 if (m_needsSectionRecalc) | 255 if (m_needsSectionRecalc) |
| 256 recalcSections(); | 256 recalcSections(); |
| 257 } | 257 } |
| 258 | 258 |
| 259 static LayoutTable* createAnonymousWithParentRenderer(const LayoutObject*); | 259 static LayoutTable* createAnonymousWithParentRenderer(const LayoutObject*); |
| 260 virtual RenderBox* createAnonymousBoxWithSameTypeAs(const LayoutObject* pare
nt) const override | 260 virtual LayoutBox* createAnonymousBoxWithSameTypeAs(const LayoutObject* pare
nt) const override |
| 261 { | 261 { |
| 262 return createAnonymousWithParentRenderer(parent); | 262 return createAnonymousWithParentRenderer(parent); |
| 263 } | 263 } |
| 264 | 264 |
| 265 const BorderValue& tableStartBorderAdjoiningCell(const LayoutTableCell*) con
st; | 265 const BorderValue& tableStartBorderAdjoiningCell(const LayoutTableCell*) con
st; |
| 266 const BorderValue& tableEndBorderAdjoiningCell(const LayoutTableCell*) const
; | 266 const BorderValue& tableEndBorderAdjoiningCell(const LayoutTableCell*) const
; |
| 267 | 267 |
| 268 void addCaption(const LayoutTableCaption*); | 268 void addCaption(const LayoutTableCaption*); |
| 269 void removeCaption(const LayoutTableCaption*); | 269 void removeCaption(const LayoutTableCaption*); |
| 270 void addColumn(const LayoutTableCol*); | 270 void addColumn(const LayoutTableCol*); |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 if (m_firstBody) | 360 if (m_firstBody) |
| 361 return m_firstBody; | 361 return m_firstBody; |
| 362 return m_foot; | 362 return m_foot; |
| 363 } | 363 } |
| 364 | 364 |
| 365 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, isTable()); | 365 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTable, isTable()); |
| 366 | 366 |
| 367 } // namespace blink | 367 } // namespace blink |
| 368 | 368 |
| 369 #endif // LayoutTable_h | 369 #endif // LayoutTable_h |
| OLD | NEW |