| 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 // border collapsing, missing cells, etc. | 295 // border collapsing, missing cells, etc. |
| 296 // For simplicity, just conservatively assume all table sections are not opa
que. | 296 // For simplicity, just conservatively assume all table sections are not opa
que. |
| 297 bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect&, unsigned) const ov
erride { return false; } | 297 bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect&, unsigned) const ov
erride { return false; } |
| 298 bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const override { r
eturn false; } | 298 bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const override { r
eturn false; } |
| 299 | 299 |
| 300 int paginationStrutForRow(LayoutTableRow*, LayoutUnit logicalOffset) const; | 300 int paginationStrutForRow(LayoutTableRow*, LayoutUnit logicalOffset) const; |
| 301 | 301 |
| 302 void setOffsetForRepeatingHeader(LayoutUnit offset) { m_offsetForRepeatingHe
ader = offset; } | 302 void setOffsetForRepeatingHeader(LayoutUnit offset) { m_offsetForRepeatingHe
ader = offset; } |
| 303 LayoutUnit offsetForRepeatingHeader() const { return m_offsetForRepeatingHea
der; } | 303 LayoutUnit offsetForRepeatingHeader() const { return m_offsetForRepeatingHea
der; } |
| 304 | 304 |
| 305 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, La
youtRect&, VisualRectFlags = DefaultVisualRectFlags) const override; |
| 306 |
| 307 bool hasRepeatingHeaderGroup() const; |
| 308 |
| 305 protected: | 309 protected: |
| 306 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 310 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
| 307 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset, HitTestAction) override; | 311 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset, HitTestAction) override; |
| 308 | 312 |
| 309 private: | 313 private: |
| 310 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableSection || LayoutBox::isOfType(type); } | 314 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableSection || LayoutBox::isOfType(type); } |
| 311 | 315 |
| 312 void willBeRemovedFromTree() override; | 316 void willBeRemovedFromTree() override; |
| 313 | 317 |
| 314 void layout() override; | 318 void layout() override; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 bool m_hasMultipleCellLevels; | 399 bool m_hasMultipleCellLevels; |
| 396 | 400 |
| 397 LayoutUnit m_offsetForRepeatingHeader; | 401 LayoutUnit m_offsetForRepeatingHeader; |
| 398 }; | 402 }; |
| 399 | 403 |
| 400 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, isTableSection()); | 404 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableSection, isTableSection()); |
| 401 | 405 |
| 402 } // namespace blink | 406 } // namespace blink |
| 403 | 407 |
| 404 #endif // LayoutTableSection_h | 408 #endif // LayoutTableSection_h |
| OLD | NEW |