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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 isAnonymous() ? "LayoutTa
bleSection (anonymous)" : "LayoutTableSection"; } |
235 | 235 |
236 protected: | 236 protected: |
237 virtual void styleDidChange(StyleDifference, const LayoutStyle* oldStyle) ov
erride; | 237 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle)
override; |
238 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) override; | 238 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) 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); } |
245 | 245 |
246 virtual void willBeRemovedFromTree() override; | 246 virtual void willBeRemovedFromTree() override; |
247 | 247 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 // This map holds the collapsed border values for cells with collapsed borde
rs. | 313 // This map holds the collapsed border values for cells with collapsed borde
rs. |
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 HashMap<pair<const LayoutTableCell*, int>, CollapsedBorderValue> m_cellsColl
apsedBorders; | 315 HashMap<pair<const LayoutTableCell*, int>, CollapsedBorderValue> m_cellsColl
apsedBorders; |
316 }; | 316 }; |
317 | 317 |
318 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, isTableSection()); | 318 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, isTableSection()); |
319 | 319 |
320 } // namespace blink | 320 } // namespace blink |
321 | 321 |
322 #endif // LayoutTableSection_h | 322 #endif // LayoutTableSection_h |
OLD | NEW |