Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h

Issue 2723023003: Revert of [LayoutNG] Move remaining ng_units structs to their own files (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "core/layout/ng/ng_units.h"
9 #include "wtf/Optional.h" 10 #include "wtf/Optional.h"
10 11
11 namespace blink { 12 namespace blink {
12 13
13 class CORE_EXPORT NGConstraintSpaceBuilder final 14 class CORE_EXPORT NGConstraintSpaceBuilder final
14 : public GarbageCollectedFinalized<NGConstraintSpaceBuilder> { 15 : public GarbageCollectedFinalized<NGConstraintSpaceBuilder> {
15 public: 16 public:
16 NGConstraintSpaceBuilder(const NGConstraintSpace* parent_space); 17 NGConstraintSpaceBuilder(const NGConstraintSpace* parent_space);
17 18
18 NGConstraintSpaceBuilder(NGWritingMode writing_mode); 19 NGConstraintSpaceBuilder(NGWritingMode writing_mode);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 86
86 NGMarginStrut margin_strut_; 87 NGMarginStrut margin_strut_;
87 NGLogicalOffset bfc_offset_; 88 NGLogicalOffset bfc_offset_;
88 std::shared_ptr<NGExclusions> exclusions_; 89 std::shared_ptr<NGExclusions> exclusions_;
89 WTF::Optional<LayoutUnit> clearance_offset_; 90 WTF::Optional<LayoutUnit> clearance_offset_;
90 }; 91 };
91 92
92 } // namespace blink 93 } // namespace blink
93 94
94 #endif // NGConstraintSpaceBuilder 95 #endif // NGConstraintSpaceBuilder
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698