OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 bool m_gridIsDirty; | 206 bool m_gridIsDirty; |
207 Vector<LayoutUnit> m_rowPositions; | 207 Vector<LayoutUnit> m_rowPositions; |
208 Vector<LayoutUnit> m_columnPositions; | 208 Vector<LayoutUnit> m_columnPositions; |
209 HashMap<const LayoutBox*, GridCoordinate> m_gridItemCoordinate; | 209 HashMap<const LayoutBox*, GridCoordinate> m_gridItemCoordinate; |
210 OrderIterator m_orderIterator; | 210 OrderIterator m_orderIterator; |
211 Vector<LayoutBox*> m_gridItemsOverflowingGridArea; | 211 Vector<LayoutBox*> m_gridItemsOverflowingGridArea; |
212 HashMap<const LayoutBox*, size_t> m_gridItemsIndexesMap; | 212 HashMap<const LayoutBox*, size_t> m_gridItemsIndexesMap; |
213 | 213 |
214 LayoutUnit m_minContentHeight { -1 }; | 214 LayoutUnit m_minContentHeight { -1 }; |
215 LayoutUnit m_maxContentHeight { -1 }; | 215 LayoutUnit m_maxContentHeight { -1 }; |
| 216 |
| 217 int m_smallestRowStart; |
| 218 int m_smallestColumnStart; |
216 }; | 219 }; |
217 | 220 |
218 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutGrid, isLayoutGrid()); | 221 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutGrid, isLayoutGrid()); |
219 | 222 |
220 } // namespace blink | 223 } // namespace blink |
221 | 224 |
222 #endif // LayoutGrid_h | 225 #endif // LayoutGrid_h |
OLD | NEW |