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, 2013 Apple Inc. All rights reserv
ed. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2013 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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 private: | 320 private: |
321 LayoutObjectChildList* virtualChildren() override { return children(); } | 321 LayoutObjectChildList* virtualChildren() override { return children(); } |
322 const LayoutObjectChildList* virtualChildren() const override { return child
ren(); } | 322 const LayoutObjectChildList* virtualChildren() const override { return child
ren(); } |
323 | 323 |
324 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableSection || LayoutBox::isOfType(type); } | 324 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableSection || LayoutBox::isOfType(type); } |
325 | 325 |
326 void willBeRemovedFromTree() override; | 326 void willBeRemovedFromTree() override; |
327 | 327 |
328 void layout() override; | 328 void layout() override; |
329 | 329 |
330 void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override; | 330 void imageChanged(bool, WrappedImagePtr, const IntRect* = nullptr) override; |
331 | 331 |
332 int borderSpacingForRow(unsigned row) const { return m_grid[row].rowLayoutOb
ject ? table()->vBorderSpacing() : 0; } | 332 int borderSpacingForRow(unsigned row) const { return m_grid[row].rowLayoutOb
ject ? table()->vBorderSpacing() : 0; } |
333 | 333 |
334 void ensureRows(unsigned); | 334 void ensureRows(unsigned); |
335 | 335 |
336 bool rowHasOnlySpanningCells(unsigned); | 336 bool rowHasOnlySpanningCells(unsigned); |
337 unsigned calcRowHeightHavingOnlySpanningCells(unsigned, int&, unsigned, unsi
gned&, Vector<int>&); | 337 unsigned calcRowHeightHavingOnlySpanningCells(unsigned, int&, unsigned, unsi
gned&, Vector<int>&); |
338 void updateRowsHeightHavingOnlySpanningCells(LayoutTableCell*, struct Spanni
ngRowsHeight&, unsigned&, Vector<int>&); | 338 void updateRowsHeightHavingOnlySpanningCells(LayoutTableCell*, struct Spanni
ngRowsHeight&, unsigned&, Vector<int>&); |
339 | 339 |
340 void populateSpanningRowsHeightFromCell(LayoutTableCell*, struct SpanningRow
sHeight&); | 340 void populateSpanningRowsHeightFromCell(LayoutTableCell*, struct SpanningRow
sHeight&); |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 // Invisible borders are never stored in this map. | 417 // Invisible borders are never stored in this map. |
418 using CellsCollapsedBordersMap = HashMap<std::pair<const LayoutTableCell*, i
nt>, CollapsedBorderValue>; | 418 using CellsCollapsedBordersMap = HashMap<std::pair<const LayoutTableCell*, i
nt>, CollapsedBorderValue>; |
419 CellsCollapsedBordersMap m_cellsCollapsedBorders; | 419 CellsCollapsedBordersMap m_cellsCollapsedBorders; |
420 }; | 420 }; |
421 | 421 |
422 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, isTableSection()); | 422 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, isTableSection()); |
423 | 423 |
424 } // namespace blink | 424 } // namespace blink |
425 | 425 |
426 #endif // LayoutTableSection_h | 426 #endif // LayoutTableSection_h |
OLD | NEW |