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

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

Issue 2361373002: [css-grid] Clearing override sizes before running grid's layout logic. (Closed)
Patch Set: Wrapped comments. Created 4 years, 2 months 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 341
342 LayoutUnit m_minContentHeight{-1}; 342 LayoutUnit m_minContentHeight{-1};
343 LayoutUnit m_maxContentHeight{-1}; 343 LayoutUnit m_maxContentHeight{-1};
344 344
345 int m_smallestRowStart; 345 int m_smallestRowStart;
346 int m_smallestColumnStart; 346 int m_smallestColumnStart;
347 347
348 size_t m_autoRepeatColumns{0}; 348 size_t m_autoRepeatColumns{0};
349 size_t m_autoRepeatRows{0}; 349 size_t m_autoRepeatRows{0};
350 350
351 bool m_hasAnyOrthogonalChild; 351 Vector<LayoutBox*> m_orthogonalChildren;
352 352
353 std::unique_ptr<OrderedTrackIndexSet> m_autoRepeatEmptyColumns{nullptr}; 353 std::unique_ptr<OrderedTrackIndexSet> m_autoRepeatEmptyColumns{nullptr};
354 std::unique_ptr<OrderedTrackIndexSet> m_autoRepeatEmptyRows{nullptr}; 354 std::unique_ptr<OrderedTrackIndexSet> m_autoRepeatEmptyRows{nullptr};
355 355
356 Optional<bool> m_hasDefiniteLogicalHeight; 356 Optional<bool> m_hasDefiniteLogicalHeight;
357 }; 357 };
358 358
359 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutGrid, isLayoutGrid()); 359 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutGrid, isLayoutGrid());
360 360
361 } // namespace blink 361 } // namespace blink
362 362
363 #endif // LayoutGrid_h 363 #endif // LayoutGrid_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698