Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(989)

Side by Side Diff: Source/WebCore/rendering/RenderTableCell.h

Issue 8989014: Revert 99212 - Stop abusing RenderTableSection::needsRecalcCells logic (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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, 2007, 2009 Apple Inc. All rights reserv ed. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserv ed.
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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 virtual LayoutUnit paddingAfter(bool includeIntrinsicPadding = true) const; 147 virtual LayoutUnit paddingAfter(bool includeIntrinsicPadding = true) const;
148 148
149 void setOverrideHeightFromRowHeight(LayoutUnit); 149 void setOverrideHeightFromRowHeight(LayoutUnit);
150 150
151 virtual void scrollbarsChanged(bool horizontalScrollbarChanged, bool vertica lScrollbarChanged); 151 virtual void scrollbarsChanged(bool horizontalScrollbarChanged, bool vertica lScrollbarChanged);
152 152
153 bool cellWidthChanged() const { return m_cellWidthChanged; } 153 bool cellWidthChanged() const { return m_cellWidthChanged; }
154 void setCellWidthChanged(bool b = true) { m_cellWidthChanged = b; } 154 void setCellWidthChanged(bool b = true) { m_cellWidthChanged = b; }
155 155
156 protected: 156 protected:
157 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle);
157 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); 158 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
158 159
159 private: 160 private:
160 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Cell (anonymous)" : "RenderTableCell"; } 161 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Cell (anonymous)" : "RenderTableCell"; }
161 162
162 virtual bool isTableCell() const { return true; } 163 virtual bool isTableCell() const { return true; }
163 164
164 virtual void willBeDestroyed(); 165 virtual void willBeDestroyed();
165 166
166 virtual void computeLogicalWidth(); 167 virtual void computeLogicalWidth();
(...skipping 26 matching lines...) Expand all
193 ASSERT(!object || object->isTableCell()); 194 ASSERT(!object || object->isTableCell());
194 return static_cast<const RenderTableCell*>(object); 195 return static_cast<const RenderTableCell*>(object);
195 } 196 }
196 197
197 // This will catch anyone doing an unnecessary cast. 198 // This will catch anyone doing an unnecessary cast.
198 void toRenderTableCell(const RenderTableCell*); 199 void toRenderTableCell(const RenderTableCell*);
199 200
200 } // namespace WebCore 201 } // namespace WebCore
201 202
202 #endif // RenderTableCell_h 203 #endif // RenderTableCell_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698