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

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

Issue 2721613003: [LayoutNG] Move remaining ng_units structs to their own files (Closed)
Patch Set: Don't export NGBoxStrut for now 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 NGConstraintSpace_h 5 #ifndef NGConstraintSpace_h
6 #define NGConstraintSpace_h 6 #define NGConstraintSpace_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/layout/ng/ng_units.h" 9 #include "core/layout/ng/geometry/ng_logical_offset.h"
10 #include "core/layout/ng/geometry/ng_logical_size.h"
11 #include "core/layout/ng/geometry/ng_margin_strut.h"
12 #include "core/layout/ng/geometry/ng_physical_size.h"
13 #include "core/layout/ng/ng_exclusion.h"
10 #include "core/layout/ng/ng_writing_mode.h" 14 #include "core/layout/ng/ng_writing_mode.h"
11 #include "platform/heap/Handle.h" 15 #include "platform/heap/Handle.h"
16 #include "platform/text/TextDirection.h"
12 #include "wtf/Optional.h" 17 #include "wtf/Optional.h"
13 #include "wtf/text/WTFString.h" 18 #include "wtf/text/WTFString.h"
14 19
15 namespace blink { 20 namespace blink {
16 21
17 class LayoutBox; 22 class LayoutBox;
18 class NGBoxFragment; 23 class NGBoxFragment;
19 24
20 enum NGFragmentationType { 25 enum NGFragmentationType {
21 kFragmentNone, 26 kFragmentNone,
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 }; 188 };
184 189
185 inline std::ostream& operator<<(std::ostream& stream, 190 inline std::ostream& operator<<(std::ostream& stream,
186 const NGConstraintSpace& value) { 191 const NGConstraintSpace& value) {
187 return stream << value.ToString(); 192 return stream << value.ToString();
188 } 193 }
189 194
190 } // namespace blink 195 } // namespace blink
191 196
192 #endif // NGConstraintSpace_h 197 #endif // NGConstraintSpace_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698