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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 if (section()->hasSameDirectionAs(table())) | 82 if (section()->hasSameDirectionAs(table())) |
83 return style()->borderEnd(); | 83 return style()->borderEnd(); |
84 | 84 |
85 return style()->borderStart(); | 85 return style()->borderStart(); |
86 } | 86 } |
87 | 87 |
88 const BorderValue& borderAdjoiningStartCell(const RenderTableCell*) const; | 88 const BorderValue& borderAdjoiningStartCell(const RenderTableCell*) const; |
89 const BorderValue& borderAdjoiningEndCell(const RenderTableCell*) const; | 89 const BorderValue& borderAdjoiningEndCell(const RenderTableCell*) const; |
90 | 90 |
91 private: | 91 private: |
92 virtual RenderObjectChildList* virtualChildren() { return children(); } | 92 virtual RenderObjectChildList* virtualChildren() OVERRIDE { return children(
); } |
93 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } | 93 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE { retu
rn children(); } |
94 | 94 |
95 virtual const char* renderName() const { return (isAnonymous() || isPseudoEl
ement()) ? "RenderTableRow (anonymous)" : "RenderTableRow"; } | 95 virtual const char* renderName() const OVERRIDE { return (isAnonymous() || i
sPseudoElement()) ? "RenderTableRow (anonymous)" : "RenderTableRow"; } |
96 | 96 |
97 virtual bool isTableRow() const { return true; } | 97 virtual bool isTableRow() const OVERRIDE { return true; } |
98 | 98 |
99 virtual void willBeRemovedFromTree() OVERRIDE; | 99 virtual void willBeRemovedFromTree() OVERRIDE; |
100 | 100 |
101 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0); | 101 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OV
ERRIDE; |
102 virtual void layout(); | 102 virtual void layout() OVERRIDE; |
103 virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObjec
t* repaintContainer) const; | 103 virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObjec
t* repaintContainer) const; |
104 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) OVERRIDE; | 104 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) OVERRIDE; |
105 | 105 |
106 virtual LayerType layerTypeRequired() const OVERRIDE | 106 virtual LayerType layerTypeRequired() const OVERRIDE |
107 { | 107 { |
108 if (hasTransform() || hasHiddenBackface() || hasClipPath() || createsGro
up()) | 108 if (hasTransform() || hasHiddenBackface() || hasClipPath() || createsGro
up()) |
109 return NormalLayer; | 109 return NormalLayer; |
110 | 110 |
111 if (hasOverflowClip()) | 111 if (hasOverflowClip()) |
112 return OverflowClipLayer; | 112 return OverflowClipLayer; |
113 | 113 |
114 return NoLayer; | 114 return NoLayer; |
115 } | 115 } |
116 | 116 |
117 virtual void paint(PaintInfo&, const LayoutPoint&); | 117 virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE; |
118 | 118 |
119 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0); | 119 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE; |
120 | 120 |
121 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 121 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE; |
122 | 122 |
123 RenderObjectChildList m_children; | 123 RenderObjectChildList m_children; |
124 unsigned m_rowIndex : 31; | 124 unsigned m_rowIndex : 31; |
125 }; | 125 }; |
126 | 126 |
127 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableRow, isTableRow()); | 127 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableRow, isTableRow()); |
128 | 128 |
129 } // namespace WebCore | 129 } // namespace WebCore |
130 | 130 |
131 #endif // RenderTableRow_h | 131 #endif // RenderTableRow_h |
OLD | NEW |