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

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

Issue 10272008: Merge 113497 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 7 months 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
« no previous file with comments | « Source/WebCore/rendering/RenderTableRow.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 void removeCachedCollapsedBorders(const RenderTableCell*); 157 void removeCachedCollapsedBorders(const RenderTableCell*);
158 void setCachedCollapsedBorder(const RenderTableCell*, CollapsedBorderSide, C ollapsedBorderValue); 158 void setCachedCollapsedBorder(const RenderTableCell*, CollapsedBorderSide, C ollapsedBorderValue);
159 CollapsedBorderValue& cachedCollapsedBorder(const RenderTableCell*, Collapse dBorderSide); 159 CollapsedBorderValue& cachedCollapsedBorder(const RenderTableCell*, Collapse dBorderSide);
160 160
161 // distributeExtraLogicalHeightToRows methods return the *consumed* extra lo gical height. 161 // distributeExtraLogicalHeightToRows methods return the *consumed* extra lo gical height.
162 // FIXME: We may want to introduce a structure holding the in-flux layout in formation. 162 // FIXME: We may want to introduce a structure holding the in-flux layout in formation.
163 int distributeExtraLogicalHeightToRows(int extraLogicalHeight); 163 int distributeExtraLogicalHeightToRows(int extraLogicalHeight);
164 164
165 static RenderTableSection* createAnonymousWithParentRenderer(const RenderObj ect*); 165 static RenderTableSection* createAnonymousWithParentRenderer(const RenderObj ect*);
166 virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject* pare nt) const OVERRIDE
167 {
168 return createAnonymousWithParentRenderer(parent);
169 }
166 170
167 protected: 171 protected:
168 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); 172 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
169 173
170 private: 174 private:
171 virtual RenderObjectChildList* virtualChildren() { return children(); } 175 virtual RenderObjectChildList* virtualChildren() { return children(); }
172 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); } 176 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); }
173 177
174 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Section (anonymous)" : "RenderTableSection"; } 178 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Section (anonymous)" : "RenderTableSection"; }
175 179
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 ASSERT(!object || object->isTableSection()); 247 ASSERT(!object || object->isTableSection());
244 return static_cast<const RenderTableSection*>(object); 248 return static_cast<const RenderTableSection*>(object);
245 } 249 }
246 250
247 // This will catch anyone doing an unnecessary cast. 251 // This will catch anyone doing an unnecessary cast.
248 void toRenderTableSection(const RenderTableSection*); 252 void toRenderTableSection(const RenderTableSection*);
249 253
250 } // namespace WebCore 254 } // namespace WebCore
251 255
252 #endif // RenderTableSection_h 256 #endif // RenderTableSection_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderTableRow.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698