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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 return style()->borderStart(); | 88 return style()->borderStart(); |
89 } | 89 } |
90 | 90 |
91 const BorderValue& borderAdjoiningStartCell(const LayoutTableCell*) const; | 91 const BorderValue& borderAdjoiningStartCell(const LayoutTableCell*) const; |
92 const BorderValue& borderAdjoiningEndCell(const LayoutTableCell*) const; | 92 const BorderValue& borderAdjoiningEndCell(const LayoutTableCell*) const; |
93 | 93 |
94 virtual bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInCo
ntainer, const LayoutPoint& accumulatedOffset, HitTestAction) override; | 94 virtual bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInCo
ntainer, const LayoutPoint& accumulatedOffset, HitTestAction) override; |
95 | 95 |
96 void addOverflowFromCell(const LayoutTableCell*); | 96 void addOverflowFromCell(const LayoutTableCell*); |
97 | 97 |
98 virtual const char* name() const override { return isAnonymous() ? "LayoutTa
bleRow (anonymous)" : "LayoutTableRow"; } | 98 virtual const char* name() const override { return "LayoutTableRow"; } |
99 | 99 |
100 private: | 100 private: |
101 virtual LayoutObjectChildList* virtualChildren() override { return children(
); } | 101 virtual LayoutObjectChildList* virtualChildren() override { return children(
); } |
102 virtual const LayoutObjectChildList* virtualChildren() const override { retu
rn children(); } | 102 virtual const LayoutObjectChildList* virtualChildren() const override { retu
rn children(); } |
103 | 103 |
104 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectTableRow || LayoutBox::isOfType(type); } | 104 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectTableRow || LayoutBox::isOfType(type); } |
105 | 105 |
106 virtual void willBeRemovedFromTree() override; | 106 virtual void willBeRemovedFromTree() override; |
107 | 107 |
108 virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = 0) ov
erride; | 108 virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = 0) ov
erride; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 | 152 |
153 inline LayoutTableRow* LayoutTableSection::lastRow() const | 153 inline LayoutTableRow* LayoutTableSection::lastRow() const |
154 { | 154 { |
155 ASSERT(children() == virtualChildren()); | 155 ASSERT(children() == virtualChildren()); |
156 return toLayoutTableRow(children()->lastChild()); | 156 return toLayoutTableRow(children()->lastChild()); |
157 } | 157 } |
158 | 158 |
159 } // namespace blink | 159 } // namespace blink |
160 | 160 |
161 #endif // LayoutTableRow_h | 161 #endif // LayoutTableRow_h |
OLD | NEW |