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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 return style()->borderEnd(); | 86 return style()->borderEnd(); |
87 | 87 |
88 return style()->borderStart(); | 88 return style()->borderStart(); |
89 } | 89 } |
90 | 90 |
91 const BorderValue& borderAdjoiningStartCell(const RenderTableCell*) const; | 91 const BorderValue& borderAdjoiningStartCell(const RenderTableCell*) const; |
92 const BorderValue& borderAdjoiningEndCell(const RenderTableCell*) const; | 92 const BorderValue& borderAdjoiningEndCell(const RenderTableCell*) const; |
93 | 93 |
94 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) override; | 94 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) override; |
95 | 95 |
| 96 void recomputeOverflow(); |
| 97 |
| 98 private: |
96 void addOverflowFromCell(const RenderTableCell*); | 99 void addOverflowFromCell(const RenderTableCell*); |
97 | 100 |
98 private: | |
99 virtual RenderObjectChildList* virtualChildren() override { return children(
); } | 101 virtual RenderObjectChildList* virtualChildren() override { return children(
); } |
100 virtual const RenderObjectChildList* virtualChildren() const override { retu
rn children(); } | 102 virtual const RenderObjectChildList* virtualChildren() const override { retu
rn children(); } |
101 | 103 |
102 virtual const char* renderName() const override { return (isAnonymous() || i
sPseudoElement()) ? "RenderTableRow (anonymous)" : "RenderTableRow"; } | 104 virtual const char* renderName() const override { return (isAnonymous() || i
sPseudoElement()) ? "RenderTableRow (anonymous)" : "RenderTableRow"; } |
103 | 105 |
104 virtual bool isOfType(RenderObjectType type) const override { return type ==
RenderObjectTableRow || RenderBox::isOfType(type); } | 106 virtual bool isOfType(RenderObjectType type) const override { return type ==
RenderObjectTableRow || RenderBox::isOfType(type); } |
105 | 107 |
106 virtual void willBeRemovedFromTree() override; | 108 virtual void willBeRemovedFromTree() override; |
107 | 109 |
108 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) ov
erride; | 110 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) ov
erride; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 | 154 |
153 inline RenderTableRow* RenderTableSection::lastRow() const | 155 inline RenderTableRow* RenderTableSection::lastRow() const |
154 { | 156 { |
155 ASSERT(children() == virtualChildren()); | 157 ASSERT(children() == virtualChildren()); |
156 return toRenderTableRow(children()->lastChild()); | 158 return toRenderTableRow(children()->lastChild()); |
157 } | 159 } |
158 | 160 |
159 } // namespace blink | 161 } // namespace blink |
160 | 162 |
161 #endif // RenderTableRow_h | 163 #endif // RenderTableRow_h |
OLD | NEW |