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

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

Issue 613783002: Smaller vtbls in RenderObject (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: RenderObject: Cut down vtbls a bit Created 6 years, 2 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, 2007, 2009, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2013 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 #endif 219 #endif
220 protected: 220 protected:
221 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE; 221 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE;
222 virtual void computePreferredLogicalWidths() OVERRIDE; 222 virtual void computePreferredLogicalWidths() OVERRIDE;
223 223
224 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur rentCompositedLayer, const LayoutPoint& layerOffset, const LayoutRect& container Rect) const OVERRIDE; 224 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur rentCompositedLayer, const LayoutPoint& layerOffset, const LayoutRect& container Rect) const OVERRIDE;
225 225
226 private: 226 private:
227 virtual const char* renderName() const OVERRIDE { return (isAnonymous() || i sPseudoElement()) ? "RenderTableCell (anonymous)" : "RenderTableCell"; } 227 virtual const char* renderName() const OVERRIDE { return (isAnonymous() || i sPseudoElement()) ? "RenderTableCell (anonymous)" : "RenderTableCell"; }
228 228
229 virtual bool isTableCell() const OVERRIDE { return true; } 229 virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectTableCell || RenderBlockFlow::isOfType(type); }
230 230
231 virtual void willBeRemovedFromTree() OVERRIDE; 231 virtual void willBeRemovedFromTree() OVERRIDE;
232 232
233 virtual void updateLogicalWidth() OVERRIDE; 233 virtual void updateLogicalWidth() OVERRIDE;
234 234
235 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) OV ERRIDE; 235 virtual void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint&) OV ERRIDE;
236 virtual void paintMask(PaintInfo&, const LayoutPoint&) OVERRIDE; 236 virtual void paintMask(PaintInfo&, const LayoutPoint&) OVERRIDE;
237 237
238 virtual bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, InlineFlowBox*) const OVERRIDE; 238 virtual bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, InlineFlowBox*) const OVERRIDE;
239 239
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 312
313 inline RenderTableCell* RenderTableRow::lastCell() const 313 inline RenderTableCell* RenderTableRow::lastCell() const
314 { 314 {
315 ASSERT(children() == virtualChildren()); 315 ASSERT(children() == virtualChildren());
316 return toRenderTableCell(children()->lastChild()); 316 return toRenderTableCell(children()->lastChild());
317 } 317 }
318 318
319 } // namespace blink 319 } // namespace blink
320 320
321 #endif // RenderTableCell_h 321 #endif // RenderTableCell_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698