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

Side by Side Diff: Source/WebCore/rendering/RenderTableCell.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
« no previous file with comments | « Source/WebCore/rendering/RenderTable.cpp ('k') | Source/WebCore/rendering/RenderTableCell.cpp » ('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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 virtual LayoutUnit paddingBefore(PaddingOptions = IncludeIntrinsicPadding) c onst; 131 virtual LayoutUnit paddingBefore(PaddingOptions = IncludeIntrinsicPadding) c onst;
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 *);
142
141 protected: 143 protected:
142 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); 144 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
143 145
144 private: 146 private:
145 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Cell (anonymous)" : "RenderTableCell"; } 147 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Cell (anonymous)" : "RenderTableCell"; }
146 148
147 virtual bool isTableCell() const { return true; } 149 virtual bool isTableCell() const { return true; }
148 150
149 virtual void willBeDestroyed(); 151 virtual void willBeDestroyed();
150 152
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 ASSERT(!object || object->isTableCell()); 205 ASSERT(!object || object->isTableCell());
204 return static_cast<const RenderTableCell*>(object); 206 return static_cast<const RenderTableCell*>(object);
205 } 207 }
206 208
207 // This will catch anyone doing an unnecessary cast. 209 // This will catch anyone doing an unnecessary cast.
208 void toRenderTableCell(const RenderTableCell*); 210 void toRenderTableCell(const RenderTableCell*);
209 211
210 } // namespace WebCore 212 } // namespace WebCore
211 213
212 #endif // RenderTableCell_h 214 #endif // RenderTableCell_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderTable.cpp ('k') | Source/WebCore/rendering/RenderTableCell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698