| 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 22 matching lines...) Expand all Loading... |
| 33 #include "core/layout/api/LineLayoutBlockFlow.h" | 33 #include "core/layout/api/LineLayoutBlockFlow.h" |
| 34 #include "core/layout/shapes/Shape.h" | 34 #include "core/layout/shapes/Shape.h" |
| 35 #include "core/style/ComputedStyle.h" | 35 #include "core/style/ComputedStyle.h" |
| 36 #include "core/style/ShapeValue.h" | 36 #include "core/style/ShapeValue.h" |
| 37 #include "platform/geometry/FloatRect.h" | 37 #include "platform/geometry/FloatRect.h" |
| 38 #include "platform/geometry/LayoutSize.h" | 38 #include "platform/geometry/LayoutSize.h" |
| 39 #include "wtf/OwnPtr.h" | 39 #include "wtf/OwnPtr.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class LayoutBlockFlow; | |
| 44 class LayoutBox; | 43 class LayoutBox; |
| 45 class FloatingObject; | 44 class FloatingObject; |
| 46 | 45 |
| 47 class ShapeOutsideDeltas final { | 46 class ShapeOutsideDeltas final { |
| 48 DISALLOW_NEW(); | 47 DISALLOW_NEW(); |
| 49 public: | 48 public: |
| 50 ShapeOutsideDeltas() | 49 ShapeOutsideDeltas() |
| 51 : m_lineOverlapsShape(false) | 50 : m_lineOverlapsShape(false) |
| 52 , m_isValid(false) | 51 , m_isValid(false) |
| 53 { | 52 { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 140 |
| 142 const LayoutBox& m_layoutBox; | 141 const LayoutBox& m_layoutBox; |
| 143 mutable OwnPtr<Shape> m_shape; | 142 mutable OwnPtr<Shape> m_shape; |
| 144 LayoutSize m_referenceBoxLogicalSize; | 143 LayoutSize m_referenceBoxLogicalSize; |
| 145 ShapeOutsideDeltas m_shapeOutsideDeltas; | 144 ShapeOutsideDeltas m_shapeOutsideDeltas; |
| 146 mutable bool m_isComputingShape; | 145 mutable bool m_isComputingShape; |
| 147 }; | 146 }; |
| 148 | 147 |
| 149 } // namespace blink | 148 } // namespace blink |
| 150 #endif | 149 #endif |
| OLD | NEW |