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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 LayoutPoint flowAwareLocationForChild(RenderBox* child) const; | 115 LayoutPoint flowAwareLocationForChild(RenderBox* child) const; |
116 // FIXME: Supporting layout deltas. | 116 // FIXME: Supporting layout deltas. |
117 void setFlowAwareLocationForChild(RenderBox* child, const LayoutPoint&); | 117 void setFlowAwareLocationForChild(RenderBox* child, const LayoutPoint&); |
118 void adjustAlignmentForChild(RenderBox* child, LayoutUnit); | 118 void adjustAlignmentForChild(RenderBox* child, LayoutUnit); |
119 ItemPosition alignmentForChild(RenderBox* child) const; | 119 ItemPosition alignmentForChild(RenderBox* child) const; |
120 LayoutUnit mainAxisBorderAndPaddingExtentForChild(RenderBox* child) const; | 120 LayoutUnit mainAxisBorderAndPaddingExtentForChild(RenderBox* child) const; |
121 LayoutUnit mainAxisScrollbarExtentForChild(RenderBox* child) const; | 121 LayoutUnit mainAxisScrollbarExtentForChild(RenderBox* child) const; |
122 LayoutUnit preferredMainAxisContentExtentForChild(RenderBox* child, bool has
InfiniteLineLength, bool relayoutChildren = false); | 122 LayoutUnit preferredMainAxisContentExtentForChild(RenderBox* child, bool has
InfiniteLineLength, bool relayoutChildren = false); |
123 bool childPreferredMainAxisContentExtentRequiresLayout(RenderBox* child, boo
l hasInfiniteLineLength) const; | 123 bool childPreferredMainAxisContentExtentRequiresLayout(RenderBox* child, boo
l hasInfiniteLineLength) const; |
124 | 124 |
125 void layoutFlexItems(bool relayoutChildren, Vector<LineContext>&); | 125 void layoutFlexItems(bool relayoutChildren); |
126 LayoutUnit autoMarginOffsetInMainAxis(const OrderedFlexItemList&, LayoutUnit
& availableFreeSpace); | 126 LayoutUnit autoMarginOffsetInMainAxis(const OrderedFlexItemList&, LayoutUnit
& availableFreeSpace); |
127 void updateAutoMarginsInMainAxis(RenderBox* child, LayoutUnit autoMarginOffs
et); | 127 void updateAutoMarginsInMainAxis(RenderBox* child, LayoutUnit autoMarginOffs
et); |
128 bool hasAutoMarginsInCrossAxis(RenderBox* child) const; | 128 bool hasAutoMarginsInCrossAxis(RenderBox* child) const; |
129 bool updateAutoMarginsInCrossAxis(RenderBox* child, LayoutUnit availableAlig
nmentSpace); | 129 bool updateAutoMarginsInCrossAxis(RenderBox* child, LayoutUnit availableAlig
nmentSpace); |
130 void repositionLogicalHeightDependentFlexItems(Vector<LineContext>&); | 130 void repositionLogicalHeightDependentFlexItems(Vector<LineContext>&); |
131 LayoutUnit clientLogicalBottomAfterRepositioning(); | 131 LayoutUnit clientLogicalBottomAfterRepositioning(); |
132 void appendChildFrameRects(ChildFrameRects&); | 132 void appendChildFrameRects(ChildFrameRects&); |
133 void repaintChildrenDuringLayoutIfMoved(const ChildFrameRects&); | 133 void repaintChildrenDuringLayoutIfMoved(const ChildFrameRects&); |
134 | 134 |
135 LayoutUnit availableAlignmentSpaceForChild(LayoutUnit lineCrossAxisExtent, R
enderBox*); | 135 LayoutUnit availableAlignmentSpaceForChild(LayoutUnit lineCrossAxisExtent, R
enderBox*); |
(...skipping 25 matching lines...) Expand all Loading... |
161 | 161 |
162 mutable OrderIterator m_orderIterator; | 162 mutable OrderIterator m_orderIterator; |
163 int m_numberOfInFlowChildrenOnFirstLine; | 163 int m_numberOfInFlowChildrenOnFirstLine; |
164 }; | 164 }; |
165 | 165 |
166 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderFlexibleBox, isFlexibleBox()); | 166 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderFlexibleBox, isFlexibleBox()); |
167 | 167 |
168 } // namespace WebCore | 168 } // namespace WebCore |
169 | 169 |
170 #endif // RenderFlexibleBox_h | 170 #endif // RenderFlexibleBox_h |
OLD | NEW |