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

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_floating_object.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 NGFloatingObject_h 5 #ifndef NGFloatingObject_h
6 #define NGFloatingObject_h 6 #define NGFloatingObject_h
7 7
8 #include "core/layout/ng/geometry/ng_box_strut.h"
8 #include "core/layout/ng/ng_block_node.h" 9 #include "core/layout/ng/ng_block_node.h"
9 #include "core/layout/ng/ng_constraint_space.h" 10 #include "core/layout/ng/ng_constraint_space.h"
10 #include "core/layout/ng/ng_units.h" 11 #include "core/layout/ng/ng_exclusion.h"
11 #include "core/style/ComputedStyle.h" 12 #include "core/style/ComputedStyle.h"
12 #include "core/style/ComputedStyleConstants.h" 13 #include "core/style/ComputedStyleConstants.h"
13 #include "platform/heap/Handle.h" 14 #include "platform/heap/Handle.h"
14 15
15 namespace blink { 16 namespace blink {
16 17
17 class NGPhysicalFragment; 18 class NGPhysicalFragment;
18 19
19 // Struct that keeps all information needed to position floats in LayoutNG. 20 // Struct that keeps all information needed to position floats in LayoutNG.
20 struct CORE_EXPORT NGFloatingObject 21 struct CORE_EXPORT NGFloatingObject
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 DEFINE_INLINE_TRACE() { 61 DEFINE_INLINE_TRACE() {
61 visitor->trace(space); 62 visitor->trace(space);
62 visitor->trace(original_parent_space); 63 visitor->trace(original_parent_space);
63 visitor->trace(node); 64 visitor->trace(node);
64 } 65 }
65 }; 66 };
66 67
67 } // namespace blink 68 } // namespace blink
68 69
69 #endif // NGFloatingObject_h 70 #endif // NGFloatingObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698