| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 RenderTableRow* previousRow() const; | 43 RenderTableRow* previousRow() const; |
| 44 RenderTableRow* nextRow() const; | 44 RenderTableRow* nextRow() const; |
| 45 | 45 |
| 46 const RenderObjectChildList* children() const { return &m_children; } | 46 const RenderObjectChildList* children() const { return &m_children; } |
| 47 RenderObjectChildList* children() { return &m_children; } | 47 RenderObjectChildList* children() { return &m_children; } |
| 48 | 48 |
| 49 RenderTableSection* section() const { return toRenderTableSection(parent());
} | 49 RenderTableSection* section() const { return toRenderTableSection(parent());
} |
| 50 RenderTable* table() const { return toRenderTable(parent()->parent()); } | 50 RenderTable* table() const { return toRenderTable(parent()->parent()); } |
| 51 | 51 |
| 52 void paintOutlineForRowIfNeeded(PaintInfo&, const LayoutPoint&); | |
| 53 | |
| 54 static RenderTableRow* createAnonymous(Document*); | 52 static RenderTableRow* createAnonymous(Document*); |
| 55 static RenderTableRow* createAnonymousWithParentRenderer(const RenderObject*
); | 53 static RenderTableRow* createAnonymousWithParentRenderer(const RenderObject*
); |
| 56 virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject* pare
nt) const OVERRIDE | 54 virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject* pare
nt) const OVERRIDE |
| 57 { | 55 { |
| 58 return createAnonymousWithParentRenderer(parent); | 56 return createAnonymousWithParentRenderer(parent); |
| 59 } | 57 } |
| 60 | 58 |
| 61 void setRowIndex(unsigned rowIndex) | 59 void setRowIndex(unsigned rowIndex) |
| 62 { | 60 { |
| 63 if (UNLIKELY(rowIndex > maxRowIndex)) | 61 if (UNLIKELY(rowIndex > maxRowIndex)) |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 | 150 |
| 153 inline RenderTableRow* RenderTableSection::lastRow() const | 151 inline RenderTableRow* RenderTableSection::lastRow() const |
| 154 { | 152 { |
| 155 ASSERT(children() == virtualChildren()); | 153 ASSERT(children() == virtualChildren()); |
| 156 return toRenderTableRow(children()->lastChild()); | 154 return toRenderTableRow(children()->lastChild()); |
| 157 } | 155 } |
| 158 | 156 |
| 159 } // namespace blink | 157 } // namespace blink |
| 160 | 158 |
| 161 #endif // RenderTableRow_h | 159 #endif // RenderTableRow_h |
| OLD | NEW |