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

Side by Side Diff: Source/core/rendering/RenderTableRow.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderTableCol.cpp ('k') | Source/core/rendering/RenderTableRow.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, 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 { 82 {
83 if (section()->hasSameDirectionAs(table())) 83 if (section()->hasSameDirectionAs(table()))
84 return style()->borderEnd(); 84 return style()->borderEnd();
85 85
86 return style()->borderStart(); 86 return style()->borderStart();
87 } 87 }
88 88
89 const BorderValue& borderAdjoiningStartCell(const RenderTableCell*) const; 89 const BorderValue& borderAdjoiningStartCell(const RenderTableCell*) const;
90 const BorderValue& borderAdjoiningEndCell(const RenderTableCell*) const; 90 const BorderValue& borderAdjoiningEndCell(const RenderTableCell*) const;
91 91
92 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE;
93
94 private: 92 private:
95 virtual RenderObjectChildList* virtualChildren() { return children(); } 93 virtual RenderObjectChildList* virtualChildren() { return children(); }
96 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); } 94 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); }
97 95
98 virtual const char* renderName() const { return (isAnonymous() || isPseudoEl ement()) ? "RenderTableRow (anonymous)" : "RenderTableRow"; } 96 virtual const char* renderName() const { return (isAnonymous() || isPseudoEl ement()) ? "RenderTableRow (anonymous)" : "RenderTableRow"; }
99 97
100 virtual bool isTableRow() const { return true; } 98 virtual bool isTableRow() const { return true; }
101 99
102 virtual void willBeRemovedFromTree() OVERRIDE; 100 virtual void willBeRemovedFromTree() OVERRIDE;
103 101
(...skipping 25 matching lines...) Expand all
129 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableRow()); 127 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableRow());
130 return static_cast<const RenderTableRow*>(object); 128 return static_cast<const RenderTableRow*>(object);
131 } 129 }
132 130
133 // This will catch anyone doing an unnecessary cast. 131 // This will catch anyone doing an unnecessary cast.
134 void toRenderTableRow(const RenderTableRow*); 132 void toRenderTableRow(const RenderTableRow*);
135 133
136 } // namespace WebCore 134 } // namespace WebCore
137 135
138 #endif // RenderTableRow_h 136 #endif // RenderTableRow_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTableCol.cpp ('k') | Source/core/rendering/RenderTableRow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698