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, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 */ | 19 */ |
20 | 20 |
21 #ifndef TableLayoutAlgorithmAuto_h | 21 #ifndef TableLayoutAlgorithmAuto_h |
22 #define TableLayoutAlgorithmAuto_h | 22 #define TableLayoutAlgorithmAuto_h |
23 | 23 |
24 #include "core/layout/TableLayoutAlgorithm.h" | 24 #include "core/layout/TableLayoutAlgorithm.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 "platform/wtf/Vector.h" |
28 | 28 |
29 namespace blink { | 29 namespace blink { |
30 | 30 |
31 class LayoutTable; | 31 class LayoutTable; |
32 class LayoutTableCell; | 32 class LayoutTableCell; |
33 | 33 |
34 enum CellsToProcess { kAllCells, kNonEmptyCells, kEmptyCells }; | 34 enum CellsToProcess { kAllCells, kNonEmptyCells, kEmptyCells }; |
35 | 35 |
36 enum DistributionMode { kExtraWidth, kInitialWidth, kLeftoverWidth }; | 36 enum DistributionMode { kExtraWidth, kInitialWidth, kLeftoverWidth }; |
37 | 37 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 Vector<Layout, 4> layout_struct_; | 94 Vector<Layout, 4> layout_struct_; |
95 Vector<LayoutTableCell*, 4> span_cells_; | 95 Vector<LayoutTableCell*, 4> span_cells_; |
96 bool has_percent_ : 1; | 96 bool has_percent_ : 1; |
97 mutable bool effective_logical_width_dirty_ : 1; | 97 mutable bool effective_logical_width_dirty_ : 1; |
98 LayoutUnit scaled_width_from_percent_columns_; | 98 LayoutUnit scaled_width_from_percent_columns_; |
99 }; | 99 }; |
100 | 100 |
101 } // namespace blink | 101 } // namespace blink |
102 | 102 |
103 #endif // TableLayoutAlgorithmAuto | 103 #endif // TableLayoutAlgorithmAuto |
OLD | NEW |