| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 IntSize originAdjustmentForScrollbars() const override; | 55 IntSize originAdjustmentForScrollbars() const override; |
| 56 bool hasTopOverflow() const override; | 56 bool hasTopOverflow() const override; |
| 57 bool hasLeftOverflow() const override; | 57 bool hasLeftOverflow() const override; |
| 58 | 58 |
| 59 void paintChildren(const PaintInfo&, const LayoutPoint&) const final; | 59 void paintChildren(const PaintInfo&, const LayoutPoint&) const final; |
| 60 | 60 |
| 61 bool isHorizontalFlow() const; | 61 bool isHorizontalFlow() const; |
| 62 | 62 |
| 63 const OrderIterator& orderIterator() const { return m_orderIterator; } | 63 const OrderIterator& orderIterator() const { return m_orderIterator; } |
| 64 | 64 |
| 65 // Returns -1 if the height of this flexbox is indefinite | |
| 66 LayoutUnit computeDefiniteLogicalWidth(); | |
| 67 LayoutUnit computeDefiniteLogicalHeight(); | |
| 68 | |
| 69 LayoutUnit crossSizeForPercentageResolution(const LayoutBox& child); | 65 LayoutUnit crossSizeForPercentageResolution(const LayoutBox& child); |
| 70 LayoutUnit mainSizeForPercentageResolution(const LayoutBox& child); | 66 LayoutUnit mainSizeForPercentageResolution(const LayoutBox& child); |
| 71 LayoutUnit childLogicalHeightForPercentageResolution(const LayoutBox& child)
; | 67 LayoutUnit childLogicalHeightForPercentageResolution(const LayoutBox& child)
; |
| 72 LayoutUnit childLogicalWidthForPercentageResolution(const LayoutBox& child); | |
| 73 | 68 |
| 74 void clearCachedMainSizeForChild(const LayoutBox& child); | 69 void clearCachedMainSizeForChild(const LayoutBox& child); |
| 75 | 70 |
| 76 LayoutUnit staticMainAxisPositionForPositionedChild(const LayoutBox& child); | 71 LayoutUnit staticMainAxisPositionForPositionedChild(const LayoutBox& child); |
| 77 LayoutUnit staticCrossAxisPositionForPositionedChild(const LayoutBox& child)
; | 72 LayoutUnit staticCrossAxisPositionForPositionedChild(const LayoutBox& child)
; |
| 78 | 73 |
| 79 LayoutUnit staticInlinePositionForPositionedChild(const LayoutBox& child); | 74 LayoutUnit staticInlinePositionForPositionedChild(const LayoutBox& child); |
| 80 LayoutUnit staticBlockPositionForPositionedChild(const LayoutBox& child); | 75 LayoutUnit staticBlockPositionForPositionedChild(const LayoutBox& child); |
| 81 | 76 |
| 82 // Returns true if the position changed. In that case, the child will have t
o be | 77 // Returns true if the position changed. In that case, the child will have t
o be |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 | 201 |
| 207 mutable OrderIterator m_orderIterator; | 202 mutable OrderIterator m_orderIterator; |
| 208 int m_numberOfInFlowChildrenOnFirstLine; | 203 int m_numberOfInFlowChildrenOnFirstLine; |
| 209 }; | 204 }; |
| 210 | 205 |
| 211 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, isFlexibleBox()); | 206 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, isFlexibleBox()); |
| 212 | 207 |
| 213 } // namespace blink | 208 } // namespace blink |
| 214 | 209 |
| 215 #endif // LayoutFlexibleBox_h | 210 #endif // LayoutFlexibleBox_h |
| OLD | NEW |