| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 { | 83 { |
| 84 if (section()->hasSameDirectionAs(table())) | 84 if (section()->hasSameDirectionAs(table())) |
| 85 return style()->borderEnd(); | 85 return style()->borderEnd(); |
| 86 | 86 |
| 87 return style()->borderStart(); | 87 return style()->borderStart(); |
| 88 } | 88 } |
| 89 | 89 |
| 90 const BorderValue& borderAdjoiningStartCell(const LayoutTableCell*) const; | 90 const BorderValue& borderAdjoiningStartCell(const LayoutTableCell*) const; |
| 91 const BorderValue& borderAdjoiningEndCell(const LayoutTableCell*) const; | 91 const BorderValue& borderAdjoiningEndCell(const LayoutTableCell*) const; |
| 92 | 92 |
| 93 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) override; | 93 virtual bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInCo
ntainer, const LayoutPoint& accumulatedOffset, HitTestAction) override; |
| 94 | 94 |
| 95 void addOverflowFromCell(const LayoutTableCell*); | 95 void addOverflowFromCell(const LayoutTableCell*); |
| 96 | 96 |
| 97 virtual const char* name() const override { return isAnonymous() ? "LayoutTa
bleRow (anonymous)" : "LayoutTableRow"; } | 97 virtual const char* name() const override { return isAnonymous() ? "LayoutTa
bleRow (anonymous)" : "LayoutTableRow"; } |
| 98 | 98 |
| 99 private: | 99 private: |
| 100 virtual LayoutObjectChildList* virtualChildren() override { return children(
); } | 100 virtual LayoutObjectChildList* virtualChildren() override { return children(
); } |
| 101 virtual const LayoutObjectChildList* virtualChildren() const override { retu
rn children(); } | 101 virtual const LayoutObjectChildList* virtualChildren() const override { retu
rn children(); } |
| 102 | 102 |
| 103 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectTableRow || LayoutBox::isOfType(type); } | 103 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectTableRow || LayoutBox::isOfType(type); } |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 | 151 |
| 152 inline LayoutTableRow* LayoutTableSection::lastRow() const | 152 inline LayoutTableRow* LayoutTableSection::lastRow() const |
| 153 { | 153 { |
| 154 ASSERT(children() == virtualChildren()); | 154 ASSERT(children() == virtualChildren()); |
| 155 return toLayoutTableRow(children()->lastChild()); | 155 return toLayoutTableRow(children()->lastChild()); |
| 156 } | 156 } |
| 157 | 157 |
| 158 } // namespace blink | 158 } // namespace blink |
| 159 | 159 |
| 160 #endif // LayoutTableRow_h | 160 #endif // LayoutTableRow_h |
| OLD | NEW |