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

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

Issue 10909089: Merge 126251 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); 199 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
200 200
201 private: 201 private:
202 virtual RenderObjectChildList* virtualChildren() { return children(); } 202 virtual RenderObjectChildList* virtualChildren() { return children(); }
203 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); } 203 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); }
204 204
205 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Section (anonymous)" : "RenderTableSection"; } 205 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Section (anonymous)" : "RenderTableSection"; }
206 206
207 virtual bool isTableSection() const { return true; } 207 virtual bool isTableSection() const { return true; }
208 208
209 virtual void willBeDestroyed(); 209 virtual void willBeRemovedFromTree() OVERRIDE;
210 210
211 virtual void layout(); 211 virtual void layout();
212 212
213 virtual void removeChild(RenderObject* oldChild); 213 virtual void removeChild(RenderObject* oldChild);
214 214
215 virtual void paintCell(RenderTableCell*, PaintInfo&, const LayoutPoint&); 215 virtual void paintCell(RenderTableCell*, PaintInfo&, const LayoutPoint&);
216 virtual void paintObject(PaintInfo&, const LayoutPoint&); 216 virtual void paintObject(PaintInfo&, const LayoutPoint&);
217 217
218 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0); 218 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0);
219 219
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 ASSERT(!object || object->isTableSection()); 283 ASSERT(!object || object->isTableSection());
284 return static_cast<const RenderTableSection*>(object); 284 return static_cast<const RenderTableSection*>(object);
285 } 285 }
286 286
287 // This will catch anyone doing an unnecessary cast. 287 // This will catch anyone doing an unnecessary cast.
288 void toRenderTableSection(const RenderTableSection*); 288 void toRenderTableSection(const RenderTableSection*);
289 289
290 } // namespace WebCore 290 } // namespace WebCore
291 291
292 #endif // RenderTableSection_h 292 #endif // RenderTableSection_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698