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 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 const BorderValue& borderAdjoiningCellStartBorder(const RenderTableCell*) co
nst; | 79 const BorderValue& borderAdjoiningCellStartBorder(const RenderTableCell*) co
nst; |
80 const BorderValue& borderAdjoiningCellEndBorder(const RenderTableCell*) cons
t; | 80 const BorderValue& borderAdjoiningCellEndBorder(const RenderTableCell*) cons
t; |
81 const BorderValue& borderAdjoiningCellBefore(const RenderTableCell*) const; | 81 const BorderValue& borderAdjoiningCellBefore(const RenderTableCell*) const; |
82 const BorderValue& borderAdjoiningCellAfter(const RenderTableCell*) const; | 82 const BorderValue& borderAdjoiningCellAfter(const RenderTableCell*) const; |
83 | 83 |
84 private: | 84 private: |
85 virtual RenderObjectChildList* virtualChildren() OVERRIDE { return children(
); } | 85 virtual RenderObjectChildList* virtualChildren() OVERRIDE { return children(
); } |
86 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE { retu
rn children(); } | 86 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE { retu
rn children(); } |
87 | 87 |
88 virtual const char* renderName() const OVERRIDE { return "RenderTableCol"; } | 88 virtual const char* renderName() const OVERRIDE { return "RenderTableCol"; } |
89 virtual bool isRenderTableCol() const OVERRIDE { return true; } | 89 virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type ==
RenderObjectRenderTableCol || RenderBox::isOfType(type); } |
90 virtual void updateFromElement() OVERRIDE; | 90 virtual void updateFromElement() OVERRIDE; |
91 virtual void computePreferredLogicalWidths() OVERRIDE { ASSERT_NOT_REACHED()
; } | 91 virtual void computePreferredLogicalWidths() OVERRIDE { ASSERT_NOT_REACHED()
; } |
92 | 92 |
93 virtual void insertedIntoTree() OVERRIDE; | 93 virtual void insertedIntoTree() OVERRIDE; |
94 virtual void willBeRemovedFromTree() OVERRIDE; | 94 virtual void willBeRemovedFromTree() OVERRIDE; |
95 | 95 |
96 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const OVERRIDE; | 96 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const OVERRIDE; |
97 virtual bool canHaveChildren() const OVERRIDE; | 97 virtual bool canHaveChildren() const OVERRIDE; |
98 virtual LayerType layerTypeRequired() const OVERRIDE { return NoLayer; } | 98 virtual LayerType layerTypeRequired() const OVERRIDE { return NoLayer; } |
99 | 99 |
100 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t OVERRIDE; | 100 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t OVERRIDE; |
101 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE; | 101 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE; |
102 | 102 |
103 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; | 103 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; |
104 | 104 |
105 RenderTable* table() const; | 105 RenderTable* table() const; |
106 | 106 |
107 RenderObjectChildList m_children; | 107 RenderObjectChildList m_children; |
108 unsigned m_span; | 108 unsigned m_span; |
109 }; | 109 }; |
110 | 110 |
111 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableCol, isRenderTableCol()); | 111 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableCol, isRenderTableCol()); |
112 | 112 |
113 } | 113 } |
114 | 114 |
115 #endif | 115 #endif |
OLD | NEW |