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

Side by Side Diff: Source/WebCore/rendering/RenderTableRow.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
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 25 matching lines...) Expand all
36 const RenderObjectChildList* children() const { return &m_children; } 36 const RenderObjectChildList* children() const { return &m_children; }
37 RenderObjectChildList* children() { return &m_children; } 37 RenderObjectChildList* children() { return &m_children; }
38 38
39 RenderTableSection* section() const { return toRenderTableSection(parent()); } 39 RenderTableSection* section() const { return toRenderTableSection(parent()); }
40 RenderTable* table() const { return toRenderTable(parent()->parent()); } 40 RenderTable* table() const { return toRenderTable(parent()->parent()); }
41 41
42 void updateBeforeAndAfterContent(); 42 void updateBeforeAndAfterContent();
43 void paintOutlineForRowIfNeeded(PaintInfo&, const LayoutPoint&); 43 void paintOutlineForRowIfNeeded(PaintInfo&, const LayoutPoint&);
44 44
45 static RenderTableRow* createAnonymousWithParentRenderer(const RenderObject* ); 45 static RenderTableRow* createAnonymousWithParentRenderer(const RenderObject* );
46 virtual RenderBox* createAnonymousBoxWithSameTypeAs(const RenderObject* pare nt) const OVERRIDE
47 {
48 return createAnonymousWithParentRenderer(parent);
49 }
46 50
47 private: 51 private:
48 virtual RenderObjectChildList* virtualChildren() { return children(); } 52 virtual RenderObjectChildList* virtualChildren() { return children(); }
49 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); } 53 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); }
50 54
51 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Row (anonymous)" : "RenderTableRow"; } 55 virtual const char* renderName() const { return isAnonymous() ? "RenderTable Row (anonymous)" : "RenderTableRow"; }
52 56
53 virtual bool isTableRow() const { return true; } 57 virtual bool isTableRow() const { return true; }
54 58
55 virtual void willBeDestroyed(); 59 virtual void willBeDestroyed();
(...skipping 26 matching lines...) Expand all
82 ASSERT(!object || object->isTableRow()); 86 ASSERT(!object || object->isTableRow());
83 return static_cast<const RenderTableRow*>(object); 87 return static_cast<const RenderTableRow*>(object);
84 } 88 }
85 89
86 // This will catch anyone doing an unnecessary cast. 90 // This will catch anyone doing an unnecessary cast.
87 void toRenderTableRow(const RenderTableRow*); 91 void toRenderTableRow(const RenderTableRow*);
88 92
89 } // namespace WebCore 93 } // namespace WebCore
90 94
91 #endif // RenderTableRow_h 95 #endif // RenderTableRow_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderTableCell.h ('k') | Source/WebCore/rendering/RenderTableSection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698