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

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.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 NGPhysicalBoxFragment_h 5 #ifndef NGPhysicalBoxFragment_h
6 #define NGPhysicalBoxFragment_h 6 #define NGPhysicalBoxFragment_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/layout/ng/geometry/ng_logical_offset.h"
10 #include "core/layout/ng/geometry/ng_margin_strut.h"
9 #include "core/layout/ng/ng_physical_fragment.h" 11 #include "core/layout/ng/ng_physical_fragment.h"
10 #include "core/layout/ng/ng_units.h"
11 #include "platform/heap/Handle.h" 12 #include "platform/heap/Handle.h"
12 #include "wtf/Optional.h" 13 #include "wtf/Optional.h"
13 14
14 namespace blink { 15 namespace blink {
15 16
16 struct NGFloatingObject; 17 struct NGFloatingObject;
17 18
18 class CORE_EXPORT NGPhysicalBoxFragment final : public NGPhysicalFragment { 19 class CORE_EXPORT NGPhysicalBoxFragment final : public NGPhysicalFragment {
19 public: 20 public:
20 // This modifies the passed-in children vector. 21 // This modifies the passed-in children vector.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 55
55 DEFINE_TYPE_CASTS(NGPhysicalBoxFragment, 56 DEFINE_TYPE_CASTS(NGPhysicalBoxFragment,
56 NGPhysicalFragment, 57 NGPhysicalFragment,
57 fragment, 58 fragment,
58 fragment->Type() == NGPhysicalFragment::kFragmentBox, 59 fragment->Type() == NGPhysicalFragment::kFragmentBox,
59 fragment.Type() == NGPhysicalFragment::kFragmentBox); 60 fragment.Type() == NGPhysicalFragment::kFragmentBox);
60 61
61 } // namespace blink 62 } // namespace blink
62 63
63 #endif // NGPhysicalBoxFragment_h 64 #endif // NGPhysicalBoxFragment_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698