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

Side by Side Diff: Source/core/layout/LayoutTableCol.h

Issue 1231363003: Fix virtual/override/final usage in Source/core/layout/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/layout/LayoutTableCell.h ('k') | Source/core/layout/LayoutTableRow.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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 72
73 // Returns the next column or column-group. 73 // Returns the next column or column-group.
74 LayoutTableCol* nextColumn() const; 74 LayoutTableCol* nextColumn() const;
75 75
76 const BorderValue& borderAdjoiningCellStartBorder(const LayoutTableCell*) co nst; 76 const BorderValue& borderAdjoiningCellStartBorder(const LayoutTableCell*) co nst;
77 const BorderValue& borderAdjoiningCellEndBorder(const LayoutTableCell*) cons t; 77 const BorderValue& borderAdjoiningCellEndBorder(const LayoutTableCell*) cons t;
78 const BorderValue& borderAdjoiningCellBefore(const LayoutTableCell*) const; 78 const BorderValue& borderAdjoiningCellBefore(const LayoutTableCell*) const;
79 const BorderValue& borderAdjoiningCellAfter(const LayoutTableCell*) const; 79 const BorderValue& borderAdjoiningCellAfter(const LayoutTableCell*) const;
80 80
81 virtual const char* name() const override { return "LayoutTableCol"; } 81 const char* name() const override { return "LayoutTableCol"; }
82 82
83 private: 83 private:
84 virtual LayoutObjectChildList* virtualChildren() override { return children( ); } 84 LayoutObjectChildList* virtualChildren() override { return children(); }
85 virtual const LayoutObjectChildList* virtualChildren() const override { retu rn children(); } 85 const LayoutObjectChildList* virtualChildren() const override { return child ren(); }
86 86
87 virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutTableCol || LayoutBox::isOfType(type); } 87 bool isOfType(LayoutObjectType type) const override { return type == LayoutO bjectLayoutTableCol || LayoutBox::isOfType(type); }
88 virtual void updateFromElement() override; 88 void updateFromElement() override;
89 virtual void computePreferredLogicalWidths() override { ASSERT_NOT_REACHED() ; } 89 void computePreferredLogicalWidths() override { ASSERT_NOT_REACHED(); }
90 90
91 virtual void insertedIntoTree() override; 91 void insertedIntoTree() override;
92 virtual void willBeRemovedFromTree() override; 92 void willBeRemovedFromTree() override;
93 93
94 virtual bool isChildAllowed(LayoutObject*, const ComputedStyle&) const overr ide; 94 bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override;
95 virtual bool canHaveChildren() const override; 95 bool canHaveChildren() const override;
96 virtual DeprecatedPaintLayerType layerTypeRequired() const override { return NoDeprecatedPaintLayer; } 96 DeprecatedPaintLayerType layerTypeRequired() const override { return NoDepre catedPaintLayer; }
97 97
98 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo delObject* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const override; 98 LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObjec t* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const ov erride;
99 virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) overrid e; 99 void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override;
100 100
101 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; 101 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override ;
102 102
103 LayoutTable* table() const; 103 LayoutTable* table() const;
104 104
105 LayoutObjectChildList m_children; 105 LayoutObjectChildList m_children;
106 unsigned m_span; 106 unsigned m_span;
107 }; 107 };
108 108
109 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableCol, isLayoutTableCol()); 109 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableCol, isLayoutTableCol());
110 110
111 } 111 }
112 112
113 #endif 113 #endif
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutTableCell.h ('k') | Source/core/layout/LayoutTableRow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698