| 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 Apple Inc. All rights reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. |
| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 unsigned& end() { return m_end; } | 53 unsigned& end() { return m_end; } |
| 54 | 54 |
| 55 private: | 55 private: |
| 56 unsigned m_start; | 56 unsigned m_start; |
| 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 : 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 | 67 |
| 68 RenderObject* firstChild() const { ASSERT(children() == virtualChildren());
return children()->firstChild(); } | 68 RenderObject* firstChild() const { ASSERT(children() == virtualChildren());
return children()->firstChild(); } |
| 69 RenderObject* lastChild() const { ASSERT(children() == virtualChildren()); r
eturn children()->lastChild(); } | 69 RenderObject* lastChild() const { ASSERT(children() == virtualChildren()); r
eturn children()->lastChild(); } |
| 70 | 70 |
| 71 const RenderObjectChildList* children() const { return &m_children; } | 71 const RenderObjectChildList* children() const { return &m_children; } |
| 72 RenderObjectChildList* children() { return &m_children; } | 72 RenderObjectChildList* children() { return &m_children; } |
| 73 | 73 |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableSection()); | 291 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableSection()); |
| 292 return static_cast<const RenderTableSection*>(object); | 292 return static_cast<const RenderTableSection*>(object); |
| 293 } | 293 } |
| 294 | 294 |
| 295 // This will catch anyone doing an unnecessary cast. | 295 // This will catch anyone doing an unnecessary cast. |
| 296 void toRenderTableSection(const RenderTableSection*); | 296 void toRenderTableSection(const RenderTableSection*); |
| 297 | 297 |
| 298 } // namespace WebCore | 298 } // namespace WebCore |
| 299 | 299 |
| 300 #endif // RenderTableSection_h | 300 #endif // RenderTableSection_h |
| OLD | NEW |