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 24 matching lines...) Expand all Loading... |
35 : m_table(table) | 35 : m_table(table) |
36 { | 36 { |
37 } | 37 } |
38 | 38 |
39 virtual ~TableLayout() { } | 39 virtual ~TableLayout() { } |
40 | 40 |
41 virtual void computePreferredLogicalWidths(LayoutUnit& minWidth, LayoutUnit&
maxWidth) = 0; | 41 virtual void computePreferredLogicalWidths(LayoutUnit& minWidth, LayoutUnit&
maxWidth) = 0; |
42 virtual void layout() = 0; | 42 virtual void layout() = 0; |
43 | 43 |
44 protected: | 44 protected: |
| 45 const static int tableMaxWidth = 15000; |
| 46 |
45 RenderTable* m_table; | 47 RenderTable* m_table; |
46 }; | 48 }; |
47 | 49 |
48 } // namespace WebCore | 50 } // namespace WebCore |
49 | 51 |
50 #endif // TableLayout_h | 52 #endif // TableLayout_h |
OLD | NEW |