| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 protected: | 238 protected: |
| 239 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; | 239 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; |
| 240 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) OVERRIDE; | 240 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) OVERRIDE; |
| 241 | 241 |
| 242 private: | 242 private: |
| 243 virtual RenderObjectChildList* virtualChildren() OVERRIDE { return children(
); } | 243 virtual RenderObjectChildList* virtualChildren() OVERRIDE { return children(
); } |
| 244 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE { retu
rn children(); } | 244 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE { retu
rn children(); } |
| 245 | 245 |
| 246 virtual const char* renderName() const OVERRIDE { return (isAnonymous() || i
sPseudoElement()) ? "RenderTableSection (anonymous)" : "RenderTableSection"; } | 246 virtual const char* renderName() const OVERRIDE { return (isAnonymous() || i
sPseudoElement()) ? "RenderTableSection (anonymous)" : "RenderTableSection"; } |
| 247 | 247 |
| 248 virtual bool isTableSection() const OVERRIDE { return true; } | 248 virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type ==
RenderObjectTableSection || RenderBox::isOfType(type); } |
| 249 | 249 |
| 250 virtual void willBeRemovedFromTree() OVERRIDE; | 250 virtual void willBeRemovedFromTree() OVERRIDE; |
| 251 | 251 |
| 252 virtual void layout() OVERRIDE; | 252 virtual void layout() OVERRIDE; |
| 253 | 253 |
| 254 virtual void paintObject(PaintInfo&, const LayoutPoint&) OVERRIDE; | 254 virtual void paintObject(PaintInfo&, const LayoutPoint&) OVERRIDE; |
| 255 | 255 |
| 256 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE; | 256 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE; |
| 257 | 257 |
| 258 int borderSpacingForRow(unsigned row) const { return m_grid[row].rowRenderer
? table()->vBorderSpacing() : 0; } | 258 int borderSpacingForRow(unsigned row) const { return m_grid[row].rowRenderer
? table()->vBorderSpacing() : 0; } |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 static const bool needsDestruction = false; | 331 static const bool needsDestruction = false; |
| 332 }; | 332 }; |
| 333 template<> struct VectorTraits<blink::RenderTableSection::RowStruct> : VectorTra
itsBase<blink::RenderTableSection::RowStruct> { | 333 template<> struct VectorTraits<blink::RenderTableSection::RowStruct> : VectorTra
itsBase<blink::RenderTableSection::RowStruct> { |
| 334 static const bool needsDestruction = false; | 334 static const bool needsDestruction = false; |
| 335 }; | 335 }; |
| 336 #endif | 336 #endif |
| 337 | 337 |
| 338 } | 338 } |
| 339 | 339 |
| 340 #endif // RenderTableSection_h | 340 #endif // RenderTableSection_h |
| OLD | NEW |