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

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: Rebase better. 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
« no previous file with comments | « Source/core/rendering/RenderTableCaption.h ('k') | Source/core/rendering/RenderTableCol.h » ('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, 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
« no previous file with comments | « Source/core/rendering/RenderTableCaption.h ('k') | Source/core/rendering/RenderTableCol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698