| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NGPhysicalFragment_h | 5 #ifndef NGPhysicalFragment_h |
| 6 #define NGPhysicalFragment_h | 6 #define NGPhysicalFragment_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/layout/ng/geometry/ng_physical_offset.h" | 9 #include "core/layout/ng/geometry/ng_physical_offset.h" |
| 10 #include "core/layout/ng/geometry/ng_physical_size.h" | 10 #include "core/layout/ng/geometry/ng_physical_size.h" |
| 11 #include "core/layout/ng/ng_break_token.h" | 11 #include "core/layout/ng/ng_break_token.h" |
| 12 #include "platform/LayoutUnit.h" | 12 #include "platform/LayoutUnit.h" |
| 13 #include "platform/heap/Handle.h" | 13 #include "platform/heap/Handle.h" |
| 14 #include "wtf/RefPtr.h" | 14 #include "platform/wtf/RefPtr.h" |
| 15 #include "wtf/Vector.h" | 15 #include "platform/wtf/Vector.h" |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 class ComputedStyle; | 19 class ComputedStyle; |
| 20 class LayoutObject; | 20 class LayoutObject; |
| 21 | 21 |
| 22 // The NGPhysicalFragment contains the output geometry from layout. The | 22 // The NGPhysicalFragment contains the output geometry from layout. The |
| 23 // fragment stores all of its information in the physical coordinate system for | 23 // fragment stores all of its information in the physical coordinate system for |
| 24 // use by paint, hit-testing etc. | 24 // use by paint, hit-testing etc. |
| 25 // | 25 // |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 unsigned type_ : 2; | 110 unsigned type_ : 2; |
| 111 unsigned is_placed_ : 1; | 111 unsigned is_placed_ : 1; |
| 112 | 112 |
| 113 private: | 113 private: |
| 114 void Destroy() const; | 114 void Destroy() const; |
| 115 }; | 115 }; |
| 116 | 116 |
| 117 } // namespace blink | 117 } // namespace blink |
| 118 | 118 |
| 119 #endif // NGPhysicalFragment_h | 119 #endif // NGPhysicalFragment_h |
| OLD | NEW |