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

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

Issue 137943002: Update more core classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2002 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2002 Lars Knoll (knoll@kde.org)
3 * (C) 2002 Dirk Mueller (mueller@kde.org) 3 * (C) 2002 Dirk Mueller (mueller@kde.org)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License. 8 * version 2 of the License.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 16 matching lines...) Expand all
27 #include "wtf/Vector.h" 27 #include "wtf/Vector.h"
28 28
29 namespace WebCore { 29 namespace WebCore {
30 30
31 class RenderTable; 31 class RenderTable;
32 class RenderTableCell; 32 class RenderTableCell;
33 33
34 class AutoTableLayout FINAL : public TableLayout { 34 class AutoTableLayout FINAL : public TableLayout {
35 public: 35 public:
36 AutoTableLayout(RenderTable*); 36 AutoTableLayout(RenderTable*);
37 ~AutoTableLayout(); 37 virtual ~AutoTableLayout();
38 38
39 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) OVERRIDE; 39 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) OVERRIDE;
40 virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUn it& maxWidth) const OVERRIDE; 40 virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUn it& maxWidth) const OVERRIDE;
41 virtual void layout() OVERRIDE; 41 virtual void layout() OVERRIDE;
42 virtual void willChangeTableLayout() OVERRIDE { } 42 virtual void willChangeTableLayout() OVERRIDE { }
43 43
44 private: 44 private:
45 void fullRecalc(); 45 void fullRecalc();
46 void recalcColumn(unsigned effCol); 46 void recalcColumn(unsigned effCol);
47 47
(...skipping 24 matching lines...) Expand all
72 72
73 Vector<Layout, 4> m_layoutStruct; 73 Vector<Layout, 4> m_layoutStruct;
74 Vector<RenderTableCell*, 4> m_spanCells; 74 Vector<RenderTableCell*, 4> m_spanCells;
75 bool m_hasPercent : 1; 75 bool m_hasPercent : 1;
76 mutable bool m_effectiveLogicalWidthDirty : 1; 76 mutable bool m_effectiveLogicalWidthDirty : 1;
77 }; 77 };
78 78
79 } // namespace WebCore 79 } // namespace WebCore
80 80
81 #endif // AutoTableLayout_h 81 #endif // AutoTableLayout_h
OLDNEW
« no previous file with comments | « Source/core/loader/appcache/ApplicationCache.h ('k') | Source/core/rendering/CompositedLayerMapping.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698