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

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

Issue 7833032: Merge 94543 - Style not propagated to anonymous boxes and anonymous (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 3 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 { 111 {
112 if (m_needsCellRecalc) 112 if (m_needsCellRecalc)
113 recalcCells(); 113 recalcCells();
114 } 114 }
115 115
116 bool needsCellRecalc() const { return m_needsCellRecalc; } 116 bool needsCellRecalc() const { return m_needsCellRecalc; }
117 void setNeedsCellRecalc(); 117 void setNeedsCellRecalc();
118 118
119 int getBaseline(int row) { return m_grid[row].baseline; } 119 int getBaseline(int row) { return m_grid[row].baseline; }
120 120
121 protected:
122 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
123
121 private: 124 private:
122 virtual RenderObjectChildList* virtualChildren() { return children(); } 125 virtual RenderObjectChildList* virtualChildren() { return children(); }
123 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); } 126 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); }
124 127
125 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Section (anonymous)" : "RenderTableSection"; } 128 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Section (anonymous)" : "RenderTableSection"; }
126 129
127 virtual bool isTableSection() const { return true; } 130 virtual bool isTableSection() const { return true; }
128 131
129 virtual void willBeDestroyed(); 132 virtual void willBeDestroyed();
130 133
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 ASSERT(!object || object->isTableSection()); 179 ASSERT(!object || object->isTableSection());
177 return static_cast<const RenderTableSection*>(object); 180 return static_cast<const RenderTableSection*>(object);
178 } 181 }
179 182
180 // This will catch anyone doing an unnecessary cast. 183 // This will catch anyone doing an unnecessary cast.
181 void toRenderTableSection(const RenderTableSection*); 184 void toRenderTableSection(const RenderTableSection*);
182 185
183 } // namespace WebCore 186 } // namespace WebCore
184 187
185 #endif // RenderTableSection_h 188 #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