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

Side by Side Diff: Source/core/rendering/style/StyleGridData.h

Issue 333563003: [CSS Grid Layout] Update grid-auto-flow to the new syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Attempt 2 to fix win_blink_rel Created 6 years, 5 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
« no previous file with comments | « Source/core/rendering/style/RenderStyleConstants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All Rights Reserved. 2 * Copyright (C) 2011 Google 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 Vector<GridTrackSize> m_gridTemplateRows; 58 Vector<GridTrackSize> m_gridTemplateRows;
59 59
60 NamedGridLinesMap m_namedGridColumnLines; 60 NamedGridLinesMap m_namedGridColumnLines;
61 NamedGridLinesMap m_namedGridRowLines; 61 NamedGridLinesMap m_namedGridRowLines;
62 62
63 // In order to reconstruct the original named grid line order, we can't rely on NamedGridLinesMap 63 // In order to reconstruct the original named grid line order, we can't rely on NamedGridLinesMap
64 // as it loses the position if multiple grid lines are set on a single track . 64 // as it loses the position if multiple grid lines are set on a single track .
65 OrderedNamedGridLines m_orderedNamedGridColumnLines; 65 OrderedNamedGridLines m_orderedNamedGridColumnLines;
66 OrderedNamedGridLines m_orderedNamedGridRowLines; 66 OrderedNamedGridLines m_orderedNamedGridRowLines;
67 67
68 GridAutoFlow m_gridAutoFlow; 68 unsigned m_gridAutoFlow : GridAutoFlowBits;
69 69
70 GridTrackSize m_gridAutoRows; 70 GridTrackSize m_gridAutoRows;
71 GridTrackSize m_gridAutoColumns; 71 GridTrackSize m_gridAutoColumns;
72 72
73 NamedGridAreaMap m_namedGridArea; 73 NamedGridAreaMap m_namedGridArea;
74 // Because m_namedGridArea doesn't store the unnamed grid areas, we need to keep track 74 // Because m_namedGridArea doesn't store the unnamed grid areas, we need to keep track
75 // of the explicit grid size defined by both named and unnamed grid areas. 75 // of the explicit grid size defined by both named and unnamed grid areas.
76 size_t m_namedGridAreaRowCount; 76 size_t m_namedGridAreaRowCount;
77 size_t m_namedGridAreaColumnCount; 77 size_t m_namedGridAreaColumnCount;
78 78
79 private: 79 private:
80 StyleGridData(); 80 StyleGridData();
81 StyleGridData(const StyleGridData&); 81 StyleGridData(const StyleGridData&);
82 }; 82 };
83 83
84 } // namespace WebCore 84 } // namespace WebCore
85 85
86 #endif // StyleGridData_h 86 #endif // StyleGridData_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/RenderStyleConstants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698