| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 bool isHorizontalFlow() const; | 59 bool isHorizontalFlow() const; |
| 60 | 60 |
| 61 const OrderIterator& orderIterator() const { return m_orderIterator; } | 61 const OrderIterator& orderIterator() const { return m_orderIterator; } |
| 62 | 62 |
| 63 // Returns -1 if the height of this flexbox is indefinite | 63 // Returns -1 if the height of this flexbox is indefinite |
| 64 LayoutUnit computeDefiniteLogicalWidth(); | 64 LayoutUnit computeDefiniteLogicalWidth(); |
| 65 LayoutUnit computeDefiniteLogicalHeight(); | 65 LayoutUnit computeDefiniteLogicalHeight(); |
| 66 | 66 |
| 67 LayoutUnit crossSizeForPercentageResolution(const LayoutBox& child); | 67 LayoutUnit crossSizeForPercentageResolution(const LayoutBox& child); |
| 68 LayoutUnit mainSizeForPercentageResolution(const LayoutBox& child); |
| 68 LayoutUnit childLogicalHeightForPercentageResolution(const LayoutBox& child)
; | 69 LayoutUnit childLogicalHeightForPercentageResolution(const LayoutBox& child)
; |
| 69 LayoutUnit childLogicalWidthForPercentageResolution(const LayoutBox& child); | 70 LayoutUnit childLogicalWidthForPercentageResolution(const LayoutBox& child); |
| 70 | 71 |
| 71 void clearCachedMainSizeForChild(const LayoutBox& child); | 72 void clearCachedMainSizeForChild(const LayoutBox& child); |
| 72 protected: | 73 protected: |
| 73 void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit&
maxLogicalWidth) const override; | 74 void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit&
maxLogicalWidth) const override; |
| 74 | 75 |
| 75 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 76 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
| 76 void removeChild(LayoutObject*) override; | 77 void removeChild(LayoutObject*) override; |
| 77 | 78 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 194 |
| 194 mutable OrderIterator m_orderIterator; | 195 mutable OrderIterator m_orderIterator; |
| 195 int m_numberOfInFlowChildrenOnFirstLine; | 196 int m_numberOfInFlowChildrenOnFirstLine; |
| 196 }; | 197 }; |
| 197 | 198 |
| 198 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, isFlexibleBox()); | 199 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFlexibleBox, isFlexibleBox()); |
| 199 | 200 |
| 200 } // namespace blink | 201 } // namespace blink |
| 201 | 202 |
| 202 #endif // LayoutFlexibleBox_h | 203 #endif // LayoutFlexibleBox_h |
| OLD | NEW |