| 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 16 matching lines...) Expand all Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |