| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 const BorderValue& borderAdjoiningEndCell(const LayoutTableCell*) const; | 121 const BorderValue& borderAdjoiningEndCell(const LayoutTableCell*) const; |
| 122 | 122 |
| 123 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset, HitTestAction) override; | 123 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer,
const LayoutPoint& accumulatedOffset, HitTestAction) override; |
| 124 | 124 |
| 125 void addOverflowFromCell(const LayoutTableCell*); | 125 void addOverflowFromCell(const LayoutTableCell*); |
| 126 | 126 |
| 127 const char* name() const override { return "LayoutTableRow"; } | 127 const char* name() const override { return "LayoutTableRow"; } |
| 128 | 128 |
| 129 bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const override; | 129 bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const override; |
| 130 | 130 |
| 131 LayoutRect positionByCellSpan() const; |
| 132 |
| 131 private: | 133 private: |
| 132 LayoutObjectChildList* virtualChildren() override { return children(); } | 134 LayoutObjectChildList* virtualChildren() override { return children(); } |
| 133 const LayoutObjectChildList* virtualChildren() const override { return child
ren(); } | 135 const LayoutObjectChildList* virtualChildren() const override { return child
ren(); } |
| 134 | 136 |
| 135 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableRow || LayoutBox::isOfType(type); } | 137 bool isOfType(LayoutObjectType type) const override { return type == LayoutO
bjectTableRow || LayoutBox::isOfType(type); } |
| 136 | 138 |
| 137 void willBeRemovedFromTree() override; | 139 void willBeRemovedFromTree() override; |
| 138 | 140 |
| 139 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; | 141 void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) over
ride; |
| 140 void layout() override; | 142 void layout() override; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 | 189 |
| 188 inline LayoutTableRow* LayoutTableSection::lastRow() const | 190 inline LayoutTableRow* LayoutTableSection::lastRow() const |
| 189 { | 191 { |
| 190 ASSERT(children() == virtualChildren()); | 192 ASSERT(children() == virtualChildren()); |
| 191 return toLayoutTableRow(children()->lastChild()); | 193 return toLayoutTableRow(children()->lastChild()); |
| 192 } | 194 } |
| 193 | 195 |
| 194 } // namespace blink | 196 } // namespace blink |
| 195 | 197 |
| 196 #endif // LayoutTableRow_h | 198 #endif // LayoutTableRow_h |
| OLD | NEW |