Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.h

Issue 2316533004: Don't include headers from the layout API from other headers needlessly. (Closed)
Patch Set: The runway sure is slippery today. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 "core/layout/api/LineLayoutBlockFlow.h"
34 #include "core/layout/shapes/Shape.h" 33 #include "core/layout/shapes/Shape.h"
35 #include "core/style/ComputedStyle.h" 34 #include "core/style/ComputedStyle.h"
36 #include "core/style/ShapeValue.h" 35 #include "core/style/ShapeValue.h"
37 #include "platform/geometry/FloatRect.h" 36 #include "platform/geometry/FloatRect.h"
38 #include "platform/geometry/LayoutSize.h" 37 #include "platform/geometry/LayoutSize.h"
39 #include "wtf/PtrUtil.h" 38 #include "wtf/PtrUtil.h"
40 #include <memory> 39 #include <memory>
41 40
42 namespace blink { 41 namespace blink {
43 42
44 class LayoutBox; 43 class LayoutBox;
44 class LineLayoutBlockFlow;
45 class FloatingObject; 45 class FloatingObject;
46 46
47 class ShapeOutsideDeltas final { 47 class ShapeOutsideDeltas final {
48 DISALLOW_NEW(); 48 DISALLOW_NEW();
49 public: 49 public:
50 ShapeOutsideDeltas() 50 ShapeOutsideDeltas()
51 : m_lineOverlapsShape(false) 51 : m_lineOverlapsShape(false)
52 , m_isValid(false) 52 , m_isValid(false)
53 { 53 {
54 } 54 }
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 const LayoutBox& m_layoutBox; 142 const LayoutBox& m_layoutBox;
143 mutable std::unique_ptr<Shape> m_shape; 143 mutable std::unique_ptr<Shape> m_shape;
144 LayoutSize m_referenceBoxLogicalSize; 144 LayoutSize m_referenceBoxLogicalSize;
145 ShapeOutsideDeltas m_shapeOutsideDeltas; 145 ShapeOutsideDeltas m_shapeOutsideDeltas;
146 mutable bool m_isComputingShape; 146 mutable bool m_isComputingShape;
147 }; 147 };
148 148
149 } // namespace blink 149 } // namespace blink
150 #endif 150 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698