| 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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 // Flip the rect so it aligns with the coordinates used by the rowPos and co
lumnPos vectors. | 299 // Flip the rect so it aligns with the coordinates used by the rowPos and co
lumnPos vectors. |
| 300 LayoutRect logicalRectForWritingModeAndDirection(const LayoutRect&) const; | 300 LayoutRect logicalRectForWritingModeAndDirection(const LayoutRect&) const; |
| 301 | 301 |
| 302 CellSpan dirtiedRows(const LayoutRect& paintInvalidationRect) const; | 302 CellSpan dirtiedRows(const LayoutRect& paintInvalidationRect) const; |
| 303 CellSpan dirtiedColumns(const LayoutRect& paintInvalidationRect) const; | 303 CellSpan dirtiedColumns(const LayoutRect& paintInvalidationRect) const; |
| 304 const HashSet<LayoutTableCell*>& overflowingCells() const { return m_overflo
wingCells; } | 304 const HashSet<LayoutTableCell*>& overflowingCells() const { return m_overflo
wingCells; } |
| 305 bool hasMultipleCellLevels() const { return m_hasMultipleCellLevels; } | 305 bool hasMultipleCellLevels() const { return m_hasMultipleCellLevels; } |
| 306 | 306 |
| 307 const char* name() const override { return "LayoutTableSection"; } | 307 const char* name() const override { return "LayoutTableSection"; } |
| 308 | 308 |
| 309 LayoutRect positionByCellSpan() const; |
| 310 |
| 311 LayoutRect positionOfIdealCell(unsigned row, unsigned col) const; |
| 312 |
| 309 protected: | 313 protected: |
| 310 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 314 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
| 311 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset, HitTestAction) override; | 315 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset, HitTestAction) override; |
| 312 | 316 |
| 313 private: | 317 private: |
| 314 LayoutObjectChildList* virtualChildren() override { return children(); } | 318 LayoutObjectChildList* virtualChildren() override { return children(); } |
| 315 const LayoutObjectChildList* virtualChildren() const override { return child
ren(); } | 319 const LayoutObjectChildList* virtualChildren() const override { return child
ren(); } |
| 316 | 320 |
| 317 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableSection || LayoutBox::isOfType(type); } | 321 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableSection || LayoutBox::isOfType(type); } |
| 318 | 322 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 // Invisible borders are never stored in this map. | 414 // Invisible borders are never stored in this map. |
| 411 using CellsCollapsedBordersMap = HashMap<std::pair<const LayoutTableCell*, i
nt>, CollapsedBorderValue>; | 415 using CellsCollapsedBordersMap = HashMap<std::pair<const LayoutTableCell*, i
nt>, CollapsedBorderValue>; |
| 412 CellsCollapsedBordersMap m_cellsCollapsedBorders; | 416 CellsCollapsedBordersMap m_cellsCollapsedBorders; |
| 413 }; | 417 }; |
| 414 | 418 |
| 415 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, isTableSection()); | 419 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, isTableSection()); |
| 416 | 420 |
| 417 } // namespace blink | 421 } // namespace blink |
| 418 | 422 |
| 419 #endif // LayoutTableSection_h | 423 #endif // LayoutTableSection_h |
| OLD | NEW |