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

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

Issue 129173004: Update rendering classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 11 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/RenderTableCell.h ('k') | Source/core/rendering/RenderTableRow.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, 2009 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved.
8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 // Returns the next column or column-group. 71 // Returns the next column or column-group.
72 RenderTableCol* nextColumn() const; 72 RenderTableCol* nextColumn() const;
73 73
74 const BorderValue& borderAdjoiningCellStartBorder(const RenderTableCell*) co nst; 74 const BorderValue& borderAdjoiningCellStartBorder(const RenderTableCell*) co nst;
75 const BorderValue& borderAdjoiningCellEndBorder(const RenderTableCell*) cons t; 75 const BorderValue& borderAdjoiningCellEndBorder(const RenderTableCell*) cons t;
76 const BorderValue& borderAdjoiningCellBefore(const RenderTableCell*) const; 76 const BorderValue& borderAdjoiningCellBefore(const RenderTableCell*) const;
77 const BorderValue& borderAdjoiningCellAfter(const RenderTableCell*) const; 77 const BorderValue& borderAdjoiningCellAfter(const RenderTableCell*) const;
78 78
79 private: 79 private:
80 virtual RenderObjectChildList* virtualChildren() { return children(); } 80 virtual RenderObjectChildList* virtualChildren() OVERRIDE { return children( ); }
81 virtual const RenderObjectChildList* virtualChildren() const { return childr en(); } 81 virtual const RenderObjectChildList* virtualChildren() const OVERRIDE { retu rn children(); }
82 82
83 virtual const char* renderName() const { return "RenderTableCol"; } 83 virtual const char* renderName() const OVERRIDE { return "RenderTableCol"; }
84 virtual bool isRenderTableCol() const OVERRIDE { return true; } 84 virtual bool isRenderTableCol() const OVERRIDE { return true; }
85 virtual void updateFromElement(); 85 virtual void updateFromElement() OVERRIDE;
86 virtual void computePreferredLogicalWidths() OVERRIDE { ASSERT_NOT_REACHED() ; } 86 virtual void computePreferredLogicalWidths() OVERRIDE { ASSERT_NOT_REACHED() ; }
87 87
88 virtual void insertedIntoTree() OVERRIDE; 88 virtual void insertedIntoTree() OVERRIDE;
89 virtual void willBeRemovedFromTree() OVERRIDE; 89 virtual void willBeRemovedFromTree() OVERRIDE;
90 90
91 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const; 91 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const OVERRIDE;
92 virtual bool canHaveChildren() const; 92 virtual bool canHaveChildren() const OVERRIDE;
93 virtual LayerType layerTypeRequired() const OVERRIDE { return NoLayer; } 93 virtual LayerType layerTypeRequired() const OVERRIDE { return NoLayer; }
94 94
95 virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObjec t* repaintContainer) const OVERRIDE; 95 virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObjec t* repaintContainer) const OVERRIDE;
96 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0); 96 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE;
97 97
98 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); 98 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE;
99 99
100 RenderTable* table() const; 100 RenderTable* table() const;
101 101
102 RenderObjectChildList m_children; 102 RenderObjectChildList m_children;
103 unsigned m_span; 103 unsigned m_span;
104 }; 104 };
105 105
106 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableCol, isRenderTableCol()); 106 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableCol, isRenderTableCol());
107 107
108 } 108 }
109 109
110 #endif 110 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTableCell.h ('k') | Source/core/rendering/RenderTableRow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698