| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 LayoutUnit crossAxisMarginExtentForChild(LayoutBox& child) const; | 122 LayoutUnit crossAxisMarginExtentForChild(LayoutBox& child) const; |
| 123 LayoutUnit crossAxisScrollbarExtent() const; | 123 LayoutUnit crossAxisScrollbarExtent() const; |
| 124 LayoutUnit crossAxisScrollbarExtentForChild(LayoutBox& child) const; | 124 LayoutUnit crossAxisScrollbarExtentForChild(LayoutBox& child) const; |
| 125 LayoutPoint flowAwareLocationForChild(LayoutBox& child) const; | 125 LayoutPoint flowAwareLocationForChild(LayoutBox& child) const; |
| 126 // FIXME: Supporting layout deltas. | 126 // FIXME: Supporting layout deltas. |
| 127 void setFlowAwareLocationForChild(LayoutBox& child, const LayoutPoint&); | 127 void setFlowAwareLocationForChild(LayoutBox& child, const LayoutPoint&); |
| 128 void adjustAlignmentForChild(LayoutBox& child, LayoutUnit); | 128 void adjustAlignmentForChild(LayoutBox& child, LayoutUnit); |
| 129 ItemPosition alignmentForChild(LayoutBox& child) const; | 129 ItemPosition alignmentForChild(LayoutBox& child) const; |
| 130 LayoutUnit mainAxisBorderAndPaddingExtentForChild(LayoutBox& child) const; | 130 LayoutUnit mainAxisBorderAndPaddingExtentForChild(LayoutBox& child) const; |
| 131 LayoutUnit computeInnerFlexBaseSizeForChild(LayoutBox& child, ChildLayoutTyp
e = LayoutIfNeeded); | 131 LayoutUnit computeInnerFlexBaseSizeForChild(LayoutBox& child, ChildLayoutTyp
e = LayoutIfNeeded); |
| 132 bool mainAxisLengthIsIndefinite(LayoutBox& child, const Length& flexBasis) c
onst; | 132 bool mainAxisLengthIsDefinite(LayoutBox& child, const Length& flexBasis) con
st; |
| 133 bool childFlexBaseSizeRequiresLayout(LayoutBox& child) const; | 133 bool childFlexBaseSizeRequiresLayout(LayoutBox& child) const; |
| 134 bool needToStretchChildLogicalHeight(LayoutBox& child) const; | 134 bool needToStretchChildLogicalHeight(LayoutBox& child) const; |
| 135 EOverflow mainAxisOverflowForChild(LayoutBox& child) const; | 135 EOverflow mainAxisOverflowForChild(LayoutBox& child) const; |
| 136 | 136 |
| 137 void layoutFlexItems(bool relayoutChildren, SubtreeLayoutScope&); | 137 void layoutFlexItems(bool relayoutChildren, SubtreeLayoutScope&); |
| 138 LayoutUnit autoMarginOffsetInMainAxis(const OrderedFlexItemList&, LayoutUnit
& availableFreeSpace); | 138 LayoutUnit autoMarginOffsetInMainAxis(const OrderedFlexItemList&, LayoutUnit
& availableFreeSpace); |
| 139 void updateAutoMarginsInMainAxis(LayoutBox& child, LayoutUnit autoMarginOffs
et); | 139 void updateAutoMarginsInMainAxis(LayoutBox& child, LayoutUnit autoMarginOffs
et); |
| 140 bool hasAutoMarginsInCrossAxis(LayoutBox& child) const; | 140 bool hasAutoMarginsInCrossAxis(LayoutBox& child) const; |
| 141 bool updateAutoMarginsInCrossAxis(LayoutBox& child, LayoutUnit availableAlig
nmentSpace); | 141 bool updateAutoMarginsInCrossAxis(LayoutBox& child, LayoutUnit availableAlig
nmentSpace); |
| 142 void repositionLogicalHeightDependentFlexItems(Vector<LineContext>&); | 142 void repositionLogicalHeightDependentFlexItems(Vector<LineContext>&); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 172 | 172 |
| 173 mutable OrderIterator m_orderIterator; | 173 mutable OrderIterator m_orderIterator; |
| 174 int m_numberOfInFlowChildrenOnFirstLine; | 174 int m_numberOfInFlowChildrenOnFirstLine; |
| 175 }; | 175 }; |
| 176 | 176 |
| 177 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, isFlexibleBox()); | 177 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, isFlexibleBox()); |
| 178 | 178 |
| 179 } // namespace blink | 179 } // namespace blink |
| 180 | 180 |
| 181 #endif // LayoutFlexibleBox_h | 181 #endif // LayoutFlexibleBox_h |
| OLD | NEW |