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

Side by Side Diff: Source/WebCore/rendering/RenderTableCell.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/RenderTable.h ('k') | Source/WebCore/rendering/RenderTableRow.h » ('j') | 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, 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 virtual LayoutUnit paddingAfter(PaddingOptions = IncludeIntrinsicPadding) co nst; 132 virtual LayoutUnit paddingAfter(PaddingOptions = IncludeIntrinsicPadding) co nst;
133 133
134 void setOverrideHeightFromRowHeight(LayoutUnit); 134 void setOverrideHeightFromRowHeight(LayoutUnit);
135 135
136 virtual void scrollbarsChanged(bool horizontalScrollbarChanged, bool vertica lScrollbarChanged); 136 virtual void scrollbarsChanged(bool horizontalScrollbarChanged, bool vertica lScrollbarChanged);
137 137
138 bool cellWidthChanged() const { return m_cellWidthChanged; } 138 bool cellWidthChanged() const { return m_cellWidthChanged; }
139 void setCellWidthChanged(bool b = true) { m_cellWidthChanged = b; } 139 void setCellWidthChanged(bool b = true) { m_cellWidthChanged = b; }
140 140
141 static RenderTableCell* createAnonymousWithParentRenderer(const RenderObject *); 141 static RenderTableCell* createAnonymousWithParentRenderer(const RenderObject *);
142 virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject* pare nt) const OVERRIDE
143 {
144 return createAnonymousWithParentRenderer(parent);
145 }
142 146
143 protected: 147 protected:
144 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); 148 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
145 149
146 private: 150 private:
147 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Cell (anonymous)" : "RenderTableCell"; } 151 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Cell (anonymous)" : "RenderTableCell"; }
148 152
149 virtual bool isTableCell() const { return true; } 153 virtual bool isTableCell() const { return true; }
150 154
151 virtual void willBeDestroyed(); 155 virtual void willBeDestroyed();
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 ASSERT(!object || object->isTableCell()); 209 ASSERT(!object || object->isTableCell());
206 return static_cast<const RenderTableCell*>(object); 210 return static_cast<const RenderTableCell*>(object);
207 } 211 }
208 212
209 // This will catch anyone doing an unnecessary cast. 213 // This will catch anyone doing an unnecessary cast.
210 void toRenderTableCell(const RenderTableCell*); 214 void toRenderTableCell(const RenderTableCell*);
211 215
212 } // namespace WebCore 216 } // namespace WebCore
213 217
214 #endif // RenderTableCell_h 218 #endif // RenderTableCell_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderTable.h ('k') | Source/WebCore/rendering/RenderTableRow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698