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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 virtual LayoutUnit paddingBefore(PaddingOptions = IncludeIntrinsicPadding) c
onst; | 131 virtual LayoutUnit paddingBefore(PaddingOptions = IncludeIntrinsicPadding) c
onst; |
132 virtual LayoutUnit paddingAfter(PaddingOptions = IncludeIntrinsicPadding) co
nst; | 132 virtual LayoutUnit paddingAfter(PaddingOptions = IncludeIntrinsicPadding) co
nst; |
133 | 133 |
134 void setOverrideHeightFromRowHeight(LayoutUnit); | 134 void setOverrideHeightFromRowHeight(LayoutUnit); |
135 | 135 |
136 virtual void scrollbarsChanged(bool horizontalScrollbarChanged, bool vertica
lScrollbarChanged); | 136 virtual void scrollbarsChanged(bool horizontalScrollbarChanged, bool vertica
lScrollbarChanged); |
137 | 137 |
138 bool cellWidthChanged() const { return m_cellWidthChanged; } | 138 bool cellWidthChanged() const { return m_cellWidthChanged; } |
139 void setCellWidthChanged(bool b = true) { m_cellWidthChanged = b; } | 139 void setCellWidthChanged(bool b = true) { m_cellWidthChanged = b; } |
140 | 140 |
| 141 static RenderTableCell* createAnonymousWithParentRenderer(const RenderObject
*); |
| 142 |
141 protected: | 143 protected: |
142 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 144 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
143 | 145 |
144 private: | 146 private: |
145 virtual const char* renderName() const { return isAnonymous() ? "RenderTable
Cell (anonymous)" : "RenderTableCell"; } | 147 virtual const char* renderName() const { return isAnonymous() ? "RenderTable
Cell (anonymous)" : "RenderTableCell"; } |
146 | 148 |
147 virtual bool isTableCell() const { return true; } | 149 virtual bool isTableCell() const { return true; } |
148 | 150 |
149 virtual void willBeDestroyed(); | 151 virtual void willBeDestroyed(); |
150 | 152 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 ASSERT(!object || object->isTableCell()); | 205 ASSERT(!object || object->isTableCell()); |
204 return static_cast<const RenderTableCell*>(object); | 206 return static_cast<const RenderTableCell*>(object); |
205 } | 207 } |
206 | 208 |
207 // This will catch anyone doing an unnecessary cast. | 209 // This will catch anyone doing an unnecessary cast. |
208 void toRenderTableCell(const RenderTableCell*); | 210 void toRenderTableCell(const RenderTableCell*); |
209 | 211 |
210 } // namespace WebCore | 212 } // namespace WebCore |
211 | 213 |
212 #endif // RenderTableCell_h | 214 #endif // RenderTableCell_h |
OLD | NEW |