| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; | 108 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; |
| 109 | 109 |
| 110 int firstLineBoxBaseline() const override; | 110 int firstLineBoxBaseline() const override; |
| 111 | 111 |
| 112 void addCell(LayoutTableCell*, LayoutTableRow*); | 112 void addCell(LayoutTableCell*, LayoutTableRow*); |
| 113 | 113 |
| 114 int calcRowLogicalHeight(); | 114 int calcRowLogicalHeight(); |
| 115 void layoutRows(); | 115 void layoutRows(); |
| 116 void computeOverflowFromCells(); | 116 void computeOverflowFromCells(); |
| 117 bool recalcChildOverflowAfterStyleChange(); | 117 bool recalcChildOverflowAfterStyleChange(); |
| 118 void markAllCellWidthsDirty(); |
| 118 | 119 |
| 119 LayoutTable* table() const { return toLayoutTable(parent()); } | 120 LayoutTable* table() const { return toLayoutTable(parent()); } |
| 120 | 121 |
| 121 typedef Vector<LayoutTableCell*, 2> SpanningLayoutTableCells; | 122 typedef Vector<LayoutTableCell*, 2> SpanningLayoutTableCells; |
| 122 | 123 |
| 123 // CellStruct represents the cells that occupy an (N, M) position in the | 124 // CellStruct represents the cells that occupy an (N, M) position in the |
| 124 // table grid. | 125 // table grid. |
| 125 struct CellStruct { | 126 struct CellStruct { |
| 126 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 127 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 127 public: | 128 public: |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 // The use is to disable a painting optimization where we just paint the | 391 // The use is to disable a painting optimization where we just paint the |
| 391 // invalidated cells. | 392 // invalidated cells. |
| 392 bool m_hasMultipleCellLevels; | 393 bool m_hasMultipleCellLevels; |
| 393 }; | 394 }; |
| 394 | 395 |
| 395 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, isTableSection()); | 396 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, isTableSection()); |
| 396 | 397 |
| 397 } // namespace blink | 398 } // namespace blink |
| 398 | 399 |
| 399 #endif // LayoutTableSection_h | 400 #endif // LayoutTableSection_h |
| OLD | NEW |