| 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, 2007, 2009 Apple Inc. All rights reserv
ed. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 virtual LayoutUnit paddingRight() const OVERRIDE; | 149 virtual LayoutUnit paddingRight() const OVERRIDE; |
| 150 | 150 |
| 151 // FIXME: For now we just assume the cell has the same block flow direction
as the table. It's likely we'll | 151 // FIXME: For now we just assume the cell has the same block flow direction
as the table. It's likely we'll |
| 152 // create an extra anonymous RenderBlock to handle mixing directionality any
way, in which case we can lock | 152 // create an extra anonymous RenderBlock to handle mixing directionality any
way, in which case we can lock |
| 153 // the block flow directionality of the cells to the table's directionality. | 153 // the block flow directionality of the cells to the table's directionality. |
| 154 virtual LayoutUnit paddingBefore() const OVERRIDE; | 154 virtual LayoutUnit paddingBefore() const OVERRIDE; |
| 155 virtual LayoutUnit paddingAfter() const OVERRIDE; | 155 virtual LayoutUnit paddingAfter() const OVERRIDE; |
| 156 | 156 |
| 157 void setOverrideLogicalContentHeightFromRowHeight(LayoutUnit); | 157 void setOverrideLogicalContentHeightFromRowHeight(LayoutUnit); |
| 158 | 158 |
| 159 virtual void scrollbarsChanged(bool horizontalScrollbarChanged, bool vertica
lScrollbarChanged); | 159 virtual void scrollbarsChanged(bool horizontalScrollbarChanged, bool vertica
lScrollbarChanged) OVERRIDE; |
| 160 | 160 |
| 161 bool cellWidthChanged() const { return m_cellWidthChanged; } | 161 bool cellWidthChanged() const { return m_cellWidthChanged; } |
| 162 void setCellWidthChanged(bool b = true) { m_cellWidthChanged = b; } | 162 void setCellWidthChanged(bool b = true) { m_cellWidthChanged = b; } |
| 163 | 163 |
| 164 static RenderTableCell* createAnonymous(Document*); | 164 static RenderTableCell* createAnonymous(Document*); |
| 165 static RenderTableCell* createAnonymousWithParentRenderer(const RenderObject
*); | 165 static RenderTableCell* createAnonymousWithParentRenderer(const RenderObject
*); |
| 166 virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject* pare
nt) const OVERRIDE | 166 virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject* pare
nt) const OVERRIDE |
| 167 { | 167 { |
| 168 return createAnonymousWithParentRenderer(parent); | 168 return createAnonymousWithParentRenderer(parent); |
| 169 } | 169 } |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 unsigned m_hasRowSpan: 1; | 286 unsigned m_hasRowSpan: 1; |
| 287 int m_intrinsicPaddingBefore; | 287 int m_intrinsicPaddingBefore; |
| 288 int m_intrinsicPaddingAfter; | 288 int m_intrinsicPaddingAfter; |
| 289 }; | 289 }; |
| 290 | 290 |
| 291 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableCell, isTableCell()); | 291 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableCell, isTableCell()); |
| 292 | 292 |
| 293 } // namespace WebCore | 293 } // namespace WebCore |
| 294 | 294 |
| 295 #endif // RenderTableCell_h | 295 #endif // RenderTableCell_h |
| OLD | NEW |