| 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 | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2013 Apple Inc. All rights |
| 8 * reserved. | 8 * 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 const LayoutObject* parent) const override { | 289 const LayoutObject* parent) const override { |
| 290 return createAnonymousWithParent(parent); | 290 return createAnonymousWithParent(parent); |
| 291 } | 291 } |
| 292 | 292 |
| 293 void paint(const PaintInfo&, const LayoutPoint&) const override; | 293 void paint(const PaintInfo&, const LayoutPoint&) const override; |
| 294 | 294 |
| 295 // Flip the rect so it aligns with the coordinates used by the rowPos and | 295 // Flip the rect so it aligns with the coordinates used by the rowPos and |
| 296 // columnPos vectors. | 296 // columnPos vectors. |
| 297 LayoutRect logicalRectForWritingModeAndDirection(const LayoutRect&) const; | 297 LayoutRect logicalRectForWritingModeAndDirection(const LayoutRect&) const; |
| 298 | 298 |
| 299 CellSpan dirtiedRows(const LayoutRect& paintInvalidationRect) const; | 299 CellSpan dirtiedRows(const LayoutRect& visualRect) const; |
| 300 CellSpan dirtiedEffectiveColumns( | 300 CellSpan dirtiedEffectiveColumns(const LayoutRect& visualRect) const; |
| 301 const LayoutRect& paintInvalidationRect) const; | |
| 302 const HashSet<LayoutTableCell*>& overflowingCells() const { | 301 const HashSet<LayoutTableCell*>& overflowingCells() const { |
| 303 return m_overflowingCells; | 302 return m_overflowingCells; |
| 304 } | 303 } |
| 305 bool hasMultipleCellLevels() const { return m_hasMultipleCellLevels; } | 304 bool hasMultipleCellLevels() const { return m_hasMultipleCellLevels; } |
| 306 | 305 |
| 307 const char* name() const override { return "LayoutTableSection"; } | 306 const char* name() const override { return "LayoutTableSection"; } |
| 308 | 307 |
| 309 // Whether a section has opaque background depends on many factors, e.g. | 308 // Whether a section has opaque background depends on many factors, e.g. |
| 310 // border spacing, border collapsing, missing cells, etc. For simplicity, | 309 // border spacing, border collapsing, missing cells, etc. For simplicity, |
| 311 // just conservatively assume all table sections are not opaque. | 310 // just conservatively assume all table sections are not opaque. |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 bool m_hasMultipleCellLevels; | 472 bool m_hasMultipleCellLevels; |
| 474 | 473 |
| 475 LayoutUnit m_offsetForRepeatingHeader; | 474 LayoutUnit m_offsetForRepeatingHeader; |
| 476 }; | 475 }; |
| 477 | 476 |
| 478 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, isTableSection()); | 477 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, isTableSection()); |
| 479 | 478 |
| 480 } // namespace blink | 479 } // namespace blink |
| 481 | 480 |
| 482 #endif // LayoutTableSection_h | 481 #endif // LayoutTableSection_h |
| OLD | NEW |