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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 unsigned m_end; | 57 unsigned m_end; |
58 }; | 58 }; |
59 | 59 |
60 class RenderTableCell; | 60 class RenderTableCell; |
61 class RenderTableRow; | 61 class RenderTableRow; |
62 | 62 |
63 class RenderTableSection FINAL : public RenderBox { | 63 class RenderTableSection FINAL : public RenderBox { |
64 public: | 64 public: |
65 RenderTableSection(Element*); | 65 RenderTableSection(Element*); |
66 virtual ~RenderTableSection(); | 66 virtual ~RenderTableSection(); |
67 virtual void trace(Visitor*) OVERRIDE; | |
68 | 67 |
69 RenderTableRow* firstRow() const; | 68 RenderTableRow* firstRow() const; |
70 RenderTableRow* lastRow() const; | 69 RenderTableRow* lastRow() const; |
71 | 70 |
72 const RenderObjectChildList* children() const { return &m_children; } | 71 const RenderObjectChildList* children() const { return &m_children; } |
73 RenderObjectChildList* children() { return &m_children; } | 72 RenderObjectChildList* children() { return &m_children; } |
74 | 73 |
75 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OV
ERRIDE; | 74 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OV
ERRIDE; |
76 | 75 |
77 virtual int firstLineBoxBaseline() const OVERRIDE; | 76 virtual int firstLineBoxBaseline() const OVERRIDE; |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 // This map holds the collapsed border values for cells with collapsed borde
rs. | 305 // This map holds the collapsed border values for cells with collapsed borde
rs. |
307 // It is held at RenderTableSection level to spare memory consumption by tab
le cells. | 306 // It is held at RenderTableSection level to spare memory consumption by tab
le cells. |
308 HashMap<pair<const RenderTableCell*, int>, CollapsedBorderValue > m_cellsCol
lapsedBorders; | 307 HashMap<pair<const RenderTableCell*, int>, CollapsedBorderValue > m_cellsCol
lapsedBorders; |
309 }; | 308 }; |
310 | 309 |
311 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableSection, isTableSection()); | 310 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableSection, isTableSection()); |
312 | 311 |
313 } // namespace blink | 312 } // namespace blink |
314 | 313 |
315 #endif // RenderTableSection_h | 314 #endif // RenderTableSection_h |
OLD | NEW |