Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutGrid.h

Issue 1529083006: [css-grid] Initial support for implicit grid before explicit grid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to fix Windows build Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698