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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 const BorderValue& borderAdjoiningCellStartBorder(const RenderTableCell*) co
nst; | 77 const BorderValue& borderAdjoiningCellStartBorder(const RenderTableCell*) co
nst; |
78 const BorderValue& borderAdjoiningCellEndBorder(const RenderTableCell*) cons
t; | 78 const BorderValue& borderAdjoiningCellEndBorder(const RenderTableCell*) cons
t; |
79 const BorderValue& borderAdjoiningCellBefore(const RenderTableCell*) const; | 79 const BorderValue& borderAdjoiningCellBefore(const RenderTableCell*) const; |
80 const BorderValue& borderAdjoiningCellAfter(const RenderTableCell*) const; | 80 const BorderValue& borderAdjoiningCellAfter(const RenderTableCell*) const; |
81 | 81 |
82 private: | 82 private: |
83 virtual RenderObjectChildList* virtualChildren() override { return children(
); } | 83 virtual RenderObjectChildList* virtualChildren() override { return children(
); } |
84 virtual const RenderObjectChildList* virtualChildren() const override { retu
rn children(); } | 84 virtual const RenderObjectChildList* virtualChildren() const override { retu
rn children(); } |
85 | 85 |
86 virtual const char* renderName() const override { return "RenderTableCol"; } | 86 virtual const char* renderName() const override { return "RenderTableCol"; } |
87 virtual bool isRenderTableCol() const override { return true; } | 87 virtual bool isOfType(RenderObjectType type) const override { return type ==
RenderObjectRenderTableCol || RenderBox::isOfType(type); } |
88 virtual void updateFromElement() override; | 88 virtual void updateFromElement() override; |
89 virtual void computePreferredLogicalWidths() override { ASSERT_NOT_REACHED()
; } | 89 virtual void computePreferredLogicalWidths() override { ASSERT_NOT_REACHED()
; } |
90 | 90 |
91 virtual void insertedIntoTree() override; | 91 virtual void insertedIntoTree() override; |
92 virtual void willBeRemovedFromTree() override; | 92 virtual void willBeRemovedFromTree() override; |
93 | 93 |
94 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override; | 94 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override; |
95 virtual bool canHaveChildren() const override; | 95 virtual bool canHaveChildren() const override; |
96 virtual LayerType layerTypeRequired() const override { return NoLayer; } | 96 virtual LayerType layerTypeRequired() const override { return NoLayer; } |
97 | 97 |
98 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t override; | 98 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t override; |
99 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) override; | 99 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) override; |
100 | 100 |
101 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov
erride; | 101 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov
erride; |
102 | 102 |
103 RenderTable* table() const; | 103 RenderTable* table() const; |
104 | 104 |
105 RenderObjectChildList m_children; | 105 RenderObjectChildList m_children; |
106 unsigned m_span; | 106 unsigned m_span; |
107 }; | 107 }; |
108 | 108 |
109 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableCol, isRenderTableCol()); | 109 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableCol, isRenderTableCol()); |
110 | 110 |
111 } | 111 } |
112 | 112 |
113 #endif | 113 #endif |
OLD | NEW |