| 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, 2007, 2009, 2013 Apple Inc. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2013 Apple Inc. |
| 8 * All rights reserved. | 8 * All rights reserved. |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 // FIXME: For now we just assume the cell has the same block flow direction as | 220 // FIXME: For now we just assume the cell has the same block flow direction as |
| 221 // the table. It's likely we'll create an extra anonymous LayoutBlock to | 221 // the table. It's likely we'll create an extra anonymous LayoutBlock to |
| 222 // handle mixing directionality anyway, in which case we can lock the block | 222 // handle mixing directionality anyway, in which case we can lock the block |
| 223 // flow directionality of the cells to the table's directionality. | 223 // flow directionality of the cells to the table's directionality. |
| 224 LayoutUnit paddingBefore() const override; | 224 LayoutUnit paddingBefore() const override; |
| 225 LayoutUnit paddingAfter() const override; | 225 LayoutUnit paddingAfter() const override; |
| 226 | 226 |
| 227 void setOverrideLogicalContentHeightFromRowHeight(LayoutUnit); | 227 void setOverrideLogicalContentHeightFromRowHeight(LayoutUnit); |
| 228 | 228 |
| 229 void scrollbarsChanged(bool horizontalScrollbarChanged, | 229 void scrollbarsChanged(bool horizontalScrollbarChanged, |
| 230 bool verticalScrollbarChanged) override; | 230 bool verticalScrollbarChanged, |
| 231 ScrollbarChangeContext = Layout) override; |
| 231 | 232 |
| 232 bool cellWidthChanged() const { return m_cellWidthChanged; } | 233 bool cellWidthChanged() const { return m_cellWidthChanged; } |
| 233 void setCellWidthChanged(bool b = true) { m_cellWidthChanged = b; } | 234 void setCellWidthChanged(bool b = true) { m_cellWidthChanged = b; } |
| 234 | 235 |
| 235 static LayoutTableCell* createAnonymous(Document*); | 236 static LayoutTableCell* createAnonymous(Document*); |
| 236 static LayoutTableCell* createAnonymousWithParent(const LayoutObject*); | 237 static LayoutTableCell* createAnonymousWithParent(const LayoutObject*); |
| 237 LayoutBox* createAnonymousBoxWithSameTypeAs( | 238 LayoutBox* createAnonymousBoxWithSameTypeAs( |
| 238 const LayoutObject* parent) const override { | 239 const LayoutObject* parent) const override { |
| 239 return createAnonymousWithParent(parent); | 240 return createAnonymousWithParent(parent); |
| 240 } | 241 } |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 return toLayoutTableCell(firstChild()); | 467 return toLayoutTableCell(firstChild()); |
| 467 } | 468 } |
| 468 | 469 |
| 469 inline LayoutTableCell* LayoutTableRow::lastCell() const { | 470 inline LayoutTableCell* LayoutTableRow::lastCell() const { |
| 470 return toLayoutTableCell(lastChild()); | 471 return toLayoutTableCell(lastChild()); |
| 471 } | 472 } |
| 472 | 473 |
| 473 } // namespace blink | 474 } // namespace blink |
| 474 | 475 |
| 475 #endif // LayoutTableCell_h | 476 #endif // LayoutTableCell_h |
| OLD | NEW |