| 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 NGConstraintSpaceBuilder_h | 5 #ifndef NGConstraintSpaceBuilder_h |
| 6 #define NGConstraintSpaceBuilder_h | 6 #define NGConstraintSpaceBuilder_h |
| 7 | 7 |
| 8 #include "core/layout/ng/ng_constraint_space.h" | 8 #include "core/layout/ng/ng_constraint_space.h" |
| 9 #include "wtf/Allocator.h" | 9 #include "platform/wtf/Allocator.h" |
| 10 #include "wtf/Optional.h" | 10 #include "platform/wtf/Optional.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class CORE_EXPORT NGConstraintSpaceBuilder final { | 14 class CORE_EXPORT NGConstraintSpaceBuilder final { |
| 15 DISALLOW_NEW(); | 15 DISALLOW_NEW(); |
| 16 | 16 |
| 17 public: | 17 public: |
| 18 NGConstraintSpaceBuilder(const NGConstraintSpace* parent_space); | 18 NGConstraintSpaceBuilder(const NGConstraintSpace* parent_space); |
| 19 | 19 |
| 20 NGConstraintSpaceBuilder(NGWritingMode writing_mode); | 20 NGConstraintSpaceBuilder(NGWritingMode writing_mode); |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 85 |
| 86 NGMarginStrut margin_strut_; | 86 NGMarginStrut margin_strut_; |
| 87 NGLogicalOffset bfc_offset_; | 87 NGLogicalOffset bfc_offset_; |
| 88 std::shared_ptr<NGExclusions> exclusions_; | 88 std::shared_ptr<NGExclusions> exclusions_; |
| 89 WTF::Optional<LayoutUnit> clearance_offset_; | 89 WTF::Optional<LayoutUnit> clearance_offset_; |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace blink | 92 } // namespace blink |
| 93 | 93 |
| 94 #endif // NGConstraintSpaceBuilder | 94 #endif // NGConstraintSpaceBuilder |
| OLD | NEW |