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

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

Issue 640593002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[css|rendering|clipboard] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch 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/plugins/PluginView.h ('k') | Source/core/rendering/ClipPathOperation.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) 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 13 matching lines...) Expand all
24 #include "core/rendering/TableLayout.h" 24 #include "core/rendering/TableLayout.h"
25 #include "platform/LayoutUnit.h" 25 #include "platform/LayoutUnit.h"
26 #include "platform/Length.h" 26 #include "platform/Length.h"
27 #include "wtf/Vector.h" 27 #include "wtf/Vector.h"
28 28
29 namespace blink { 29 namespace blink {
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 virtual ~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
48 int calcEffectiveLogicalWidth(); 48 int calcEffectiveLogicalWidth();
49 49
50 void insertSpanCell(RenderTableCell*); 50 void insertSpanCell(RenderTableCell*);
51 51
52 struct Layout { 52 struct Layout {
(...skipping 19 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 blink 79 } // namespace blink
80 80
81 #endif // AutoTableLayout_h 81 #endif // AutoTableLayout_h
OLDNEW
« no previous file with comments | « Source/core/plugins/PluginView.h ('k') | Source/core/rendering/ClipPathOperation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698