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

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

Issue 10264007: Merge 113252 (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
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 unsigned rowIndexForRenderer(const RenderTableRow*) const; 155 unsigned rowIndexForRenderer(const RenderTableRow*) const;
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*);
166
165 protected: 167 protected:
166 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); 168 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
167 169
168 private: 170 private:
169 virtual RenderObjectChildList* virtualChildren() { return children(); } 171 virtual RenderObjectChildList* virtualChildren() { return children(); }
170 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); } 172 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); }
171 173
172 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Section (anonymous)" : "RenderTableSection"; } 174 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Section (anonymous)" : "RenderTableSection"; }
173 175
174 virtual bool isTableSection() const { return true; } 176 virtual bool isTableSection() const { return true; }
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 ASSERT(!object || object->isTableSection()); 243 ASSERT(!object || object->isTableSection());
242 return static_cast<const RenderTableSection*>(object); 244 return static_cast<const RenderTableSection*>(object);
243 } 245 }
244 246
245 // This will catch anyone doing an unnecessary cast. 247 // This will catch anyone doing an unnecessary cast.
246 void toRenderTableSection(const RenderTableSection*); 248 void toRenderTableSection(const RenderTableSection*);
247 249
248 } // namespace WebCore 250 } // namespace WebCore
249 251
250 #endif // RenderTableSection_h 252 #endif // RenderTableSection_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderTableRow.cpp ('k') | Source/WebCore/rendering/RenderTableSection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698