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 12 matching lines...) Expand all Loading... |
23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
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 <memory> |
33 #include "core/layout/shapes/Shape.h" | 34 #include "core/layout/shapes/Shape.h" |
34 #include "core/style/ShapeValue.h" | 35 #include "core/style/ShapeValue.h" |
35 #include "platform/geometry/FloatRect.h" | 36 #include "platform/geometry/FloatRect.h" |
36 #include "platform/geometry/LayoutSize.h" | 37 #include "platform/geometry/LayoutSize.h" |
37 #include "wtf/PtrUtil.h" | 38 #include "wtf/PtrUtil.h" |
38 #include <memory> | |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
42 class LayoutBox; | 42 class LayoutBox; |
43 class LineLayoutBlockFlow; | 43 class LineLayoutBlockFlow; |
44 class FloatingObject; | 44 class FloatingObject; |
45 | 45 |
46 class ShapeOutsideDeltas final { | 46 class ShapeOutsideDeltas final { |
47 DISALLOW_NEW(); | 47 DISALLOW_NEW(); |
48 | 48 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 | 174 |
175 const LayoutBox& m_layoutBox; | 175 const LayoutBox& m_layoutBox; |
176 mutable std::unique_ptr<Shape> m_shape; | 176 mutable std::unique_ptr<Shape> m_shape; |
177 LayoutSize m_referenceBoxLogicalSize; | 177 LayoutSize m_referenceBoxLogicalSize; |
178 ShapeOutsideDeltas m_shapeOutsideDeltas; | 178 ShapeOutsideDeltas m_shapeOutsideDeltas; |
179 mutable bool m_isComputingShape; | 179 mutable bool m_isComputingShape; |
180 }; | 180 }; |
181 | 181 |
182 } // namespace blink | 182 } // namespace blink |
183 #endif | 183 #endif |
OLD | NEW |