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

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

Powered by Google App Engine
This is Rietveld 408576698