OLD | NEW |
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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 void alignChildren(const Vector<LineContext>&); | 167 void alignChildren(const Vector<LineContext>&); |
168 void applyStretchAlignmentToChild(LayoutBox& child, LayoutUnit lineCrossAxis
Extent); | 168 void applyStretchAlignmentToChild(LayoutBox& child, LayoutUnit lineCrossAxis
Extent); |
169 void flipForRightToLeftColumn(); | 169 void flipForRightToLeftColumn(); |
170 void flipForWrapReverse(const Vector<LineContext>&, LayoutUnit crossAxisStar
tEdge); | 170 void flipForWrapReverse(const Vector<LineContext>&, LayoutUnit crossAxisStar
tEdge); |
171 | 171 |
172 // This is used to cache the preferred size for orthogonal flow children so
we don't have to relayout to get it | 172 // This is used to cache the preferred size for orthogonal flow children so
we don't have to relayout to get it |
173 HashMap<const LayoutObject*, LayoutUnit> m_intrinsicSizeAlongMainAxis; | 173 HashMap<const LayoutObject*, LayoutUnit> m_intrinsicSizeAlongMainAxis; |
174 | 174 |
175 mutable OrderIterator m_orderIterator; | 175 mutable OrderIterator m_orderIterator; |
176 int m_numberOfInFlowChildrenOnFirstLine; | 176 int m_numberOfInFlowChildrenOnFirstLine; |
| 177 bool m_originalAvailableFreeSpaceInitialized; |
| 178 LayoutUnit m_originalAvailableFreeSpace; |
177 }; | 179 }; |
178 | 180 |
179 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, isFlexibleBox()); | 181 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, isFlexibleBox()); |
180 | 182 |
181 } // namespace blink | 183 } // namespace blink |
182 | 184 |
183 #endif // LayoutFlexibleBox_h | 185 #endif // LayoutFlexibleBox_h |
OLD | NEW |