| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 virtual void paint(const PaintInfo&, const LayoutPoint&) override; | 224 virtual void paint(const PaintInfo&, const LayoutPoint&) override; |
| 225 | 225 |
| 226 // Flip the rect so it aligns with the coordinates used by the rowPos and co
lumnPos vectors. | 226 // Flip the rect so it aligns with the coordinates used by the rowPos and co
lumnPos vectors. |
| 227 LayoutRect logicalRectForWritingModeAndDirection(const LayoutRect&) const; | 227 LayoutRect logicalRectForWritingModeAndDirection(const LayoutRect&) const; |
| 228 | 228 |
| 229 CellSpan dirtiedRows(const LayoutRect& paintInvalidationRect) const; | 229 CellSpan dirtiedRows(const LayoutRect& paintInvalidationRect) const; |
| 230 CellSpan dirtiedColumns(const LayoutRect& paintInvalidationRect) const; | 230 CellSpan dirtiedColumns(const LayoutRect& paintInvalidationRect) const; |
| 231 HashSet<LayoutTableCell*>& overflowingCells() { return m_overflowingCells; } | 231 HashSet<LayoutTableCell*>& overflowingCells() { return m_overflowingCells; } |
| 232 bool hasMultipleCellLevels() { return m_hasMultipleCellLevels; } | 232 bool hasMultipleCellLevels() { return m_hasMultipleCellLevels; } |
| 233 | 233 |
| 234 virtual const char* name() const override { return isAnonymous() ? "LayoutTa
bleSection (anonymous)" : "LayoutTableSection"; } | 234 virtual const char* name() const override { return "LayoutTableSection"; } |
| 235 | 235 |
| 236 protected: | 236 protected: |
| 237 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle)
override; | 237 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle)
override; |
| 238 virtual bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInCo
ntainer, const LayoutPoint& accumulatedOffset, HitTestAction) override; | 238 virtual bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInCo
ntainer, const LayoutPoint& accumulatedOffset, HitTestAction) override; |
| 239 | 239 |
| 240 private: | 240 private: |
| 241 virtual LayoutObjectChildList* virtualChildren() override { return children(
); } | 241 virtual LayoutObjectChildList* virtualChildren() override { return children(
); } |
| 242 virtual const LayoutObjectChildList* virtualChildren() const override { retu
rn children(); } | 242 virtual const LayoutObjectChildList* virtualChildren() const override { retu
rn children(); } |
| 243 | 243 |
| 244 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectTableSection || LayoutBox::isOfType(type); } | 244 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectTableSection || LayoutBox::isOfType(type); } |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 // It is held at LayoutTableSection level to spare memory consumption by tab
le cells. | 314 // It is held at LayoutTableSection level to spare memory consumption by tab
le cells. |
| 315 using CellsCollapsedBordersMap = HashMap<pair<const LayoutTableCell*, int>,
CollapsedBorderValue>; | 315 using CellsCollapsedBordersMap = HashMap<pair<const LayoutTableCell*, int>,
CollapsedBorderValue>; |
| 316 CellsCollapsedBordersMap m_cellsCollapsedBorders; | 316 CellsCollapsedBordersMap m_cellsCollapsedBorders; |
| 317 }; | 317 }; |
| 318 | 318 |
| 319 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, isTableSection()); | 319 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, isTableSection()); |
| 320 | 320 |
| 321 } // namespace blink | 321 } // namespace blink |
| 322 | 322 |
| 323 #endif // LayoutTableSection_h | 323 #endif // LayoutTableSection_h |
| OLD | NEW |