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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 virtual void updateLogicalWidth() override; | 304 virtual void updateLogicalWidth() override; |
305 | 305 |
306 LayoutUnit convertStyleLogicalWidthToComputedWidth(const Length& styleLogica
lWidth, LayoutUnit availableWidth); | 306 LayoutUnit convertStyleLogicalWidthToComputedWidth(const Length& styleLogica
lWidth, LayoutUnit availableWidth); |
307 LayoutUnit convertStyleLogicalHeightToComputedHeight(const Length& styleLogi
calHeight); | 307 LayoutUnit convertStyleLogicalHeightToComputedHeight(const Length& styleLogi
calHeight); |
308 | 308 |
309 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro
llbarSizeRelevancy = IgnoreOverlayScrollbarSize) override; | 309 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro
llbarSizeRelevancy = IgnoreOverlayScrollbarSize) override; |
310 | 310 |
311 virtual void addOverflowFromChildren() override; | 311 virtual void addOverflowFromChildren() override; |
312 | 312 |
313 void recalcSections() const; | 313 void recalcSections() const; |
314 void layoutCaption(RenderTableCaption*); | 314 void layoutCaption(RenderTableCaption&); |
315 | 315 |
316 void distributeExtraLogicalHeight(int extraLogicalHeight); | 316 void distributeExtraLogicalHeight(int extraLogicalHeight); |
317 | 317 |
318 mutable Vector<int> m_columnPos; | 318 mutable Vector<int> m_columnPos; |
319 mutable Vector<ColumnStruct> m_columns; | 319 mutable Vector<ColumnStruct> m_columns; |
320 mutable Vector<RenderTableCaption*> m_captions; | 320 mutable Vector<RenderTableCaption*> m_captions; |
321 mutable Vector<RenderTableCol*> m_columnRenderers; | 321 mutable Vector<RenderTableCol*> m_columnRenderers; |
322 | 322 |
323 mutable RenderTableSection* m_head; | 323 mutable RenderTableSection* m_head; |
324 mutable RenderTableSection* m_foot; | 324 mutable RenderTableSection* m_foot; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 if (m_firstBody) | 359 if (m_firstBody) |
360 return m_firstBody; | 360 return m_firstBody; |
361 return m_foot; | 361 return m_foot; |
362 } | 362 } |
363 | 363 |
364 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTable, isTable()); | 364 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTable, isTable()); |
365 | 365 |
366 } // namespace blink | 366 } // namespace blink |
367 | 367 |
368 #endif // RenderTable_h | 368 #endif // RenderTable_h |
OLD | NEW |