| 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 | 268 |
| 269 bool hasOverflowingCell() const { return m_overflowingCells.size() || m_forc
eSlowPaintPathWithOverflowingCell; } | 269 bool hasOverflowingCell() const { return m_overflowingCells.size() || m_forc
eSlowPaintPathWithOverflowingCell; } |
| 270 void computeOverflowFromCells(unsigned totalRows, unsigned nEffCols); | 270 void computeOverflowFromCells(unsigned totalRows, unsigned nEffCols); |
| 271 | 271 |
| 272 CellSpan fullTableRowSpan() const { return CellSpan(0, m_grid.size()); } | 272 CellSpan fullTableRowSpan() const { return CellSpan(0, m_grid.size()); } |
| 273 CellSpan fullTableColumnSpan() const { return CellSpan(0, table()->columns()
.size()); } | 273 CellSpan fullTableColumnSpan() const { return CellSpan(0, table()->columns()
.size()); } |
| 274 | 274 |
| 275 // Flip the rect so it aligns with the coordinates used by the rowPos and co
lumnPos vectors. | 275 // Flip the rect so it aligns with the coordinates used by the rowPos and co
lumnPos vectors. |
| 276 LayoutRect logicalRectForWritingModeAndDirection(const LayoutRect&) const; | 276 LayoutRect logicalRectForWritingModeAndDirection(const LayoutRect&) const; |
| 277 | 277 |
| 278 CellSpan dirtiedRows(const LayoutRect& repaintRect) const; | 278 CellSpan dirtiedRows(const LayoutRect& paintInvalidationRect) const; |
| 279 CellSpan dirtiedColumns(const LayoutRect& repaintRect) const; | 279 CellSpan dirtiedColumns(const LayoutRect& paintInvalidationRect) const; |
| 280 | 280 |
| 281 // These two functions take a rectangle as input that has been flipped by lo
gicalRectForWritingModeAndDirection. | 281 // These two functions take a rectangle as input that has been flipped by lo
gicalRectForWritingModeAndDirection. |
| 282 // The returned span of rows or columns is end-exclusive, and empty if start
==end. | 282 // The returned span of rows or columns is end-exclusive, and empty if start
==end. |
| 283 CellSpan spannedRows(const LayoutRect& flippedRect) const; | 283 CellSpan spannedRows(const LayoutRect& flippedRect) const; |
| 284 CellSpan spannedColumns(const LayoutRect& flippedRect) const; | 284 CellSpan spannedColumns(const LayoutRect& flippedRect) const; |
| 285 | 285 |
| 286 void setLogicalPositionForCell(RenderTableCell*, unsigned effectiveColumn) c
onst; | 286 void setLogicalPositionForCell(RenderTableCell*, unsigned effectiveColumn) c
onst; |
| 287 | 287 |
| 288 RenderObjectChildList m_children; | 288 RenderObjectChildList m_children; |
| 289 | 289 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 static const bool needsDestruction = false; | 325 static const bool needsDestruction = false; |
| 326 }; | 326 }; |
| 327 template<> struct VectorTraits<blink::RenderTableSection::RowStruct> : VectorTra
itsBase<blink::RenderTableSection::RowStruct> { | 327 template<> struct VectorTraits<blink::RenderTableSection::RowStruct> : VectorTra
itsBase<blink::RenderTableSection::RowStruct> { |
| 328 static const bool needsDestruction = false; | 328 static const bool needsDestruction = false; |
| 329 }; | 329 }; |
| 330 #endif | 330 #endif |
| 331 | 331 |
| 332 } | 332 } |
| 333 | 333 |
| 334 #endif // RenderTableSection_h | 334 #endif // RenderTableSection_h |
| OLD | NEW |