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_fragment.h" | 8 #include "core/layout/ng/ng_constraint_space.h" |
9 #include "core/layout/ng/ng_units.h" | 9 #include "core/layout/ng/ng_units.h" |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 | 12 |
13 class CORE_EXPORT NGConstraintSpaceBuilder final | 13 class CORE_EXPORT NGConstraintSpaceBuilder final |
14 : public GarbageCollectedFinalized<NGConstraintSpaceBuilder> { | 14 : public GarbageCollectedFinalized<NGConstraintSpaceBuilder> { |
15 public: | 15 public: |
16 NGConstraintSpaceBuilder(const NGConstraintSpace* parent_space); | 16 NGConstraintSpaceBuilder(const NGConstraintSpace* parent_space); |
17 | 17 |
18 NGConstraintSpaceBuilder(NGWritingMode writing_mode); | 18 NGConstraintSpaceBuilder(NGWritingMode writing_mode); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 unsigned fragmentation_type_ : 2; | 60 unsigned fragmentation_type_ : 2; |
61 unsigned is_new_fc_ : 1; | 61 unsigned is_new_fc_ : 1; |
62 unsigned text_direction_ : 1; | 62 unsigned text_direction_ : 1; |
63 | 63 |
64 std::shared_ptr<NGExclusions> exclusions_; | 64 std::shared_ptr<NGExclusions> exclusions_; |
65 }; | 65 }; |
66 | 66 |
67 } // namespace blink | 67 } // namespace blink |
68 | 68 |
69 #endif // NGConstraintSpaceBuilder | 69 #endif // NGConstraintSpaceBuilder |
OLD | NEW |