| OLD | NEW |
| 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 11 matching lines...) Expand all Loading... |
| 22 #define FixedTableLayout_h | 22 #define FixedTableLayout_h |
| 23 | 23 |
| 24 #include "core/rendering/TableLayout.h" | 24 #include "core/rendering/TableLayout.h" |
| 25 #include "platform/Length.h" | 25 #include "platform/Length.h" |
| 26 #include "wtf/Vector.h" | 26 #include "wtf/Vector.h" |
| 27 | 27 |
| 28 namespace blink { | 28 namespace blink { |
| 29 | 29 |
| 30 class RenderTable; | 30 class RenderTable; |
| 31 | 31 |
| 32 class FixedTableLayout FINAL : public TableLayout { | 32 class FixedTableLayout final : public TableLayout { |
| 33 public: | 33 public: |
| 34 FixedTableLayout(RenderTable*); | 34 FixedTableLayout(RenderTable*); |
| 35 | 35 |
| 36 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit&
maxWidth) OVERRIDE; | 36 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit&
maxWidth) override; |
| 37 virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUn
it& maxWidth) const OVERRIDE; | 37 virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUn
it& maxWidth) const override; |
| 38 virtual void layout() OVERRIDE; | 38 virtual void layout() override; |
| 39 virtual void willChangeTableLayout() OVERRIDE; | 39 virtual void willChangeTableLayout() override; |
| 40 | 40 |
| 41 private: | 41 private: |
| 42 int calcWidthArray(); | 42 int calcWidthArray(); |
| 43 | 43 |
| 44 Vector<Length> m_width; | 44 Vector<Length> m_width; |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace blink | 47 } // namespace blink |
| 48 | 48 |
| 49 #endif // FixedTableLayout_h | 49 #endif // FixedTableLayout_h |
| OLD | NEW |