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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 | 69 |
70 | 70 |
71 // Returns the next column or column-group. | 71 // Returns the next column or column-group. |
72 RenderTableCol* nextColumn() const; | 72 RenderTableCol* nextColumn() const; |
73 | 73 |
74 const BorderValue& borderAdjoiningCellStartBorder(const RenderTableCell*) co
nst; | 74 const BorderValue& borderAdjoiningCellStartBorder(const RenderTableCell*) co
nst; |
75 const BorderValue& borderAdjoiningCellEndBorder(const RenderTableCell*) cons
t; | 75 const BorderValue& borderAdjoiningCellEndBorder(const RenderTableCell*) cons
t; |
76 const BorderValue& borderAdjoiningCellBefore(const RenderTableCell*) const; | 76 const BorderValue& borderAdjoiningCellBefore(const RenderTableCell*) const; |
77 const BorderValue& borderAdjoiningCellAfter(const RenderTableCell*) const; | 77 const BorderValue& borderAdjoiningCellAfter(const RenderTableCell*) const; |
78 | 78 |
79 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE; | |
80 | |
81 private: | 79 private: |
82 virtual RenderObjectChildList* virtualChildren() { return children(); } | 80 virtual RenderObjectChildList* virtualChildren() { return children(); } |
83 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } | 81 virtual const RenderObjectChildList* virtualChildren() const { return childr
en(); } |
84 | 82 |
85 virtual const char* renderName() const { return "RenderTableCol"; } | 83 virtual const char* renderName() const { return "RenderTableCol"; } |
86 virtual bool isRenderTableCol() const OVERRIDE { return true; } | 84 virtual bool isRenderTableCol() const OVERRIDE { return true; } |
87 virtual void updateFromElement(); | 85 virtual void updateFromElement(); |
88 virtual void computePreferredLogicalWidths() OVERRIDE { ASSERT_NOT_REACHED()
; } | 86 virtual void computePreferredLogicalWidths() OVERRIDE { ASSERT_NOT_REACHED()
; } |
89 | 87 |
90 virtual void insertedIntoTree() OVERRIDE; | 88 virtual void insertedIntoTree() OVERRIDE; |
(...skipping 25 matching lines...) Expand all Loading... |
116 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isRenderTableCol()); | 114 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isRenderTableCol()); |
117 return static_cast<const RenderTableCol*>(object); | 115 return static_cast<const RenderTableCol*>(object); |
118 } | 116 } |
119 | 117 |
120 // This will catch anyone doing an unnecessary cast. | 118 // This will catch anyone doing an unnecessary cast. |
121 void toRenderTableCol(const RenderTableCol*); | 119 void toRenderTableCol(const RenderTableCol*); |
122 | 120 |
123 } | 121 } |
124 | 122 |
125 #endif | 123 #endif |
OLD | NEW |