OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2012 Adobe Systems Incorporated. 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
10 * disclaimer. | 10 * disclaimer. |
(...skipping 13 matching lines...) Expand all Loading... |
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF | 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF |
26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
27 * SUCH DAMAGE. | 27 * SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 #ifndef ShapeOutsideInfo_h | 30 #ifndef ShapeOutsideInfo_h |
31 #define ShapeOutsideInfo_h | 31 #define ShapeOutsideInfo_h |
32 | 32 |
33 #include "core/layout/shapes/Shape.h" | 33 #include "core/layout/shapes/Shape.h" |
34 #include "core/style/ComputedStyle.h" | |
35 #include "core/style/ShapeValue.h" | 34 #include "core/style/ShapeValue.h" |
36 #include "platform/geometry/FloatRect.h" | 35 #include "platform/geometry/FloatRect.h" |
37 #include "platform/geometry/LayoutSize.h" | 36 #include "platform/geometry/LayoutSize.h" |
38 #include "wtf/PtrUtil.h" | 37 #include "wtf/PtrUtil.h" |
39 #include <memory> | 38 #include <memory> |
40 | 39 |
41 namespace blink { | 40 namespace blink { |
42 | 41 |
43 class LayoutBox; | 42 class LayoutBox; |
44 class LineLayoutBlockFlow; | 43 class LineLayoutBlockFlow; |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 174 |
176 const LayoutBox& m_layoutBox; | 175 const LayoutBox& m_layoutBox; |
177 mutable std::unique_ptr<Shape> m_shape; | 176 mutable std::unique_ptr<Shape> m_shape; |
178 LayoutSize m_referenceBoxLogicalSize; | 177 LayoutSize m_referenceBoxLogicalSize; |
179 ShapeOutsideDeltas m_shapeOutsideDeltas; | 178 ShapeOutsideDeltas m_shapeOutsideDeltas; |
180 mutable bool m_isComputingShape; | 179 mutable bool m_isComputingShape; |
181 }; | 180 }; |
182 | 181 |
183 } // namespace blink | 182 } // namespace blink |
184 #endif | 183 #endif |
OLD | NEW |