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

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

Issue 2542203004: blink: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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 NGLayoutAlgorithm_h 5 #ifndef NGLayoutAlgorithm_h
6 #define NGLayoutAlgorithm_h 6 #define NGLayoutAlgorithm_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "wtf/Allocator.h" 10 #include "wtf/Allocator.h"
11 #include "wtf/Noncopyable.h" 11 #include "wtf/Noncopyable.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 struct MinAndMaxContentSizes; 15 struct MinAndMaxContentSizes;
16 class NGBlockNode; 16 class NGBlockNode;
17 class NGConstraintSpace; 17 class NGConstraintSpace;
18 class NGFragmentBase; 18 class NGFragmentBase;
19 class NGPhysicalFragmentBase; 19 class NGPhysicalFragmentBase;
20 class NGPhysicalFragment;
21 20
22 enum NGLayoutStatus { kNotFinished, kChildAlgorithmRequired, kNewFragment }; 21 enum NGLayoutStatus { kNotFinished, kChildAlgorithmRequired, kNewFragment };
23 22
24 // Base class for all LayoutNG algorithms. 23 // Base class for all LayoutNG algorithms.
25 class CORE_EXPORT NGLayoutAlgorithm 24 class CORE_EXPORT NGLayoutAlgorithm
26 : public GarbageCollectedFinalized<NGLayoutAlgorithm> { 25 : public GarbageCollectedFinalized<NGLayoutAlgorithm> {
27 WTF_MAKE_NONCOPYABLE(NGLayoutAlgorithm); 26 WTF_MAKE_NONCOPYABLE(NGLayoutAlgorithm);
28 27
29 public: 28 public:
30 NGLayoutAlgorithm() {} 29 NGLayoutAlgorithm() {}
(...skipping 26 matching lines...) Expand all
57 virtual MinAndMaxState ComputeMinAndMaxContentSizes(MinAndMaxContentSizes*) { 56 virtual MinAndMaxState ComputeMinAndMaxContentSizes(MinAndMaxContentSizes*) {
58 return kNotImplemented; 57 return kNotImplemented;
59 } 58 }
60 59
61 DEFINE_INLINE_VIRTUAL_TRACE() {} 60 DEFINE_INLINE_VIRTUAL_TRACE() {}
62 }; 61 };
63 62
64 } // namespace blink 63 } // namespace blink
65 64
66 #endif // NGLayoutAlgorithm_h 65 #endif // NGLayoutAlgorithm_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698