| 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 NGExclusion_h | 5 #ifndef NGExclusion_h |
| 6 #define NGExclusion_h | 6 #define NGExclusion_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/layout/ng/geometry/ng_logical_rect.h" | 9 #include "core/layout/ng/geometry/ng_logical_rect.h" |
| 10 #include "wtf/Vector.h" | 10 #include "platform/wtf/Vector.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 // Struct that represents NG exclusion. | 14 // Struct that represents NG exclusion. |
| 15 struct CORE_EXPORT NGExclusion { | 15 struct CORE_EXPORT NGExclusion { |
| 16 // Type of NG exclusion. | 16 // Type of NG exclusion. |
| 17 enum Type { | 17 enum Type { |
| 18 // Undefined exclusion type. | 18 // Undefined exclusion type. |
| 19 // At this moment it's also used to represent CSS3 exclusion. | 19 // At this moment it's also used to represent CSS3 exclusion. |
| 20 kExclusionTypeUndefined = 0, | 20 kExclusionTypeUndefined = 0, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 const NGExclusion* last_right_float; // Owned by storage. | 66 const NGExclusion* last_right_float; // Owned by storage. |
| 67 | 67 |
| 68 NGExclusions& operator=(const NGExclusions& other); | 68 NGExclusions& operator=(const NGExclusions& other); |
| 69 | 69 |
| 70 void Add(const NGExclusion& exclusion); | 70 void Add(const NGExclusion& exclusion); |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 } // namespace blink | 73 } // namespace blink |
| 74 | 74 |
| 75 #endif // NGExclusion_h | 75 #endif // NGExclusion_h |
| OLD | NEW |