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 15 matching lines...) Expand all Loading... |
26 #include "wtf/Vector.h" | 26 #include "wtf/Vector.h" |
27 | 27 |
28 namespace blink { | 28 namespace blink { |
29 | 29 |
30 class LayoutTable; | 30 class LayoutTable; |
31 | 31 |
32 class TableLayoutAlgorithmFixed final : public TableLayoutAlgorithm { | 32 class TableLayoutAlgorithmFixed final : public TableLayoutAlgorithm { |
33 public: | 33 public: |
34 TableLayoutAlgorithmFixed(LayoutTable*); | 34 TableLayoutAlgorithmFixed(LayoutTable*); |
35 | 35 |
36 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit&
maxWidth) override; | 36 void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidt
h) override; |
37 virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUn
it& maxWidth) const override; | 37 void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUnit& maxW
idth) const override; |
38 virtual void layout() override; | 38 void layout() override; |
39 virtual void willChangeTableLayout() override; | 39 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 // TableLayoutAlgorithmFixed_h | 49 #endif // TableLayoutAlgorithmFixed_h |
OLD | NEW |