| 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, 2010 Apple Inc. All rights reserv
ed. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 virtual void computeLogicalWidth(); | 241 virtual void computeLogicalWidth(); |
| 242 | 242 |
| 243 virtual LayoutRect overflowClipRect(const LayoutPoint& location, RenderRegio
n*, OverlayScrollbarSizeRelevancy = IgnoreOverlayScrollbarSize); | 243 virtual LayoutRect overflowClipRect(const LayoutPoint& location, RenderRegio
n*, OverlayScrollbarSizeRelevancy = IgnoreOverlayScrollbarSize); |
| 244 | 244 |
| 245 virtual void addOverflowFromChildren(); | 245 virtual void addOverflowFromChildren(); |
| 246 | 246 |
| 247 void subtractCaptionRect(LayoutRect&) const; | 247 void subtractCaptionRect(LayoutRect&) const; |
| 248 | 248 |
| 249 void recalcCollapsedBorders(); | 249 void recalcCollapsedBorders(); |
| 250 void recalcSections() const; | 250 void recalcSections() const; |
| 251 void adjustLogicalHeightForCaption(RenderBlock*); | 251 void layoutCaption(RenderTableCaption*); |
| 252 | 252 |
| 253 mutable Vector<LayoutUnit> m_columnPos; | 253 mutable Vector<LayoutUnit> m_columnPos; |
| 254 mutable Vector<ColumnStruct> m_columns; | 254 mutable Vector<ColumnStruct> m_columns; |
| 255 | 255 |
| 256 mutable Vector<RenderTableCaption*> m_captions; | 256 mutable Vector<RenderTableCaption*> m_captions; |
| 257 mutable RenderTableSection* m_head; | 257 mutable RenderTableSection* m_head; |
| 258 mutable RenderTableSection* m_foot; | 258 mutable RenderTableSection* m_foot; |
| 259 mutable RenderTableSection* m_firstBody; | 259 mutable RenderTableSection* m_firstBody; |
| 260 | 260 |
| 261 OwnPtr<TableLayout> m_tableLayout; | 261 OwnPtr<TableLayout> m_tableLayout; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 ASSERT(!object || object->isTable()); | 294 ASSERT(!object || object->isTable()); |
| 295 return static_cast<const RenderTable*>(object); | 295 return static_cast<const RenderTable*>(object); |
| 296 } | 296 } |
| 297 | 297 |
| 298 // This will catch anyone doing an unnecessary cast. | 298 // This will catch anyone doing an unnecessary cast. |
| 299 void toRenderTable(const RenderTable*); | 299 void toRenderTable(const RenderTable*); |
| 300 | 300 |
| 301 } // namespace WebCore | 301 } // namespace WebCore |
| 302 | 302 |
| 303 #endif // RenderTable_h | 303 #endif // RenderTable_h |
| OLD | NEW |