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 { | 82 { |
83 if (section()->hasSameDirectionAs(table())) | 83 if (section()->hasSameDirectionAs(table())) |
84 return style()->borderEnd(); | 84 return style()->borderEnd(); |
85 | 85 |
86 return style()->borderStart(); | 86 return style()->borderStart(); |
87 } | 87 } |
88 | 88 |
89 const BorderValue& borderAdjoiningStartCell(const RenderTableCell*) const; | 89 const BorderValue& borderAdjoiningStartCell(const RenderTableCell*) const; |
90 const BorderValue& borderAdjoiningEndCell(const RenderTableCell*) const; | 90 const BorderValue& borderAdjoiningEndCell(const RenderTableCell*) const; |
91 | 91 |
92 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE; | |
93 | |
94 private: | 92 private: |
95 virtual RenderObjectChildList* virtualChildren() { return children(); } | 93 virtual RenderObjectChildList* virtualChildren() { return children(); } |
96 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } | 94 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } |
97 | 95 |
98 virtual const char* renderName() const { return (isAnonymous() || isPseudoEl
ement()) ? "RenderTableRow (anonymous)" : "RenderTableRow"; } | 96 virtual const char* renderName() const { return (isAnonymous() || isPseudoEl
ement()) ? "RenderTableRow (anonymous)" : "RenderTableRow"; } |
99 | 97 |
100 virtual bool isTableRow() const { return true; } | 98 virtual bool isTableRow() const { return true; } |
101 | 99 |
102 virtual void willBeRemovedFromTree() OVERRIDE; | 100 virtual void willBeRemovedFromTree() OVERRIDE; |
103 | 101 |
(...skipping 25 matching lines...) Expand all Loading... |
129 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableRow()); | 127 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableRow()); |
130 return static_cast<const RenderTableRow*>(object); | 128 return static_cast<const RenderTableRow*>(object); |
131 } | 129 } |
132 | 130 |
133 // This will catch anyone doing an unnecessary cast. | 131 // This will catch anyone doing an unnecessary cast. |
134 void toRenderTableRow(const RenderTableRow*); | 132 void toRenderTableRow(const RenderTableRow*); |
135 | 133 |
136 } // namespace WebCore | 134 } // namespace WebCore |
137 | 135 |
138 #endif // RenderTableRow_h | 136 #endif // RenderTableRow_h |
OLD | NEW |