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

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

Issue 2561553002: [LayoutNG] Remove unnecessary #includes (Closed)
Patch Set: Let's see if Windows is more happy now. 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 NGInlineLayoutAlgorithm_h 5 #ifndef NGInlineLayoutAlgorithm_h
6 #define NGInlineLayoutAlgorithm_h 6 #define NGInlineLayoutAlgorithm_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/layout/ng/ng_inline_node.h"
10 #include "core/layout/ng/ng_layout_algorithm.h" 9 #include "core/layout/ng/ng_layout_algorithm.h"
11 #include "wtf/RefPtr.h" 10 #include "wtf/RefPtr.h"
12 11
13 namespace blink { 12 namespace blink {
14 13
15 class ComputedStyle; 14 class ComputedStyle;
15 class NGBreakToken;
16 class NGConstraintSpace; 16 class NGConstraintSpace;
17 class NGBreakToken; 17 class NGInlineNode;
18 18
19 // A class for inline layout (e.g. a anonymous block with inline-level children 19 // A class for inline layout (e.g. a anonymous block with inline-level children
20 // only). 20 // only).
21 // 21 //
22 // This algorithm may at some point be merged with NGBlockLayoutAlgorithm in 22 // This algorithm may at some point be merged with NGBlockLayoutAlgorithm in
23 // the future. Currently it exists as its own class to simplify the LayoutNG 23 // the future. Currently it exists as its own class to simplify the LayoutNG
24 // transition period. 24 // transition period.
25 class CORE_EXPORT NGInlineLayoutAlgorithm : public NGLayoutAlgorithm { 25 class CORE_EXPORT NGInlineLayoutAlgorithm : public NGLayoutAlgorithm {
26 public: 26 public:
27 // Default constructor. 27 // Default constructor.
(...skipping 19 matching lines...) Expand all
47 47
48 RefPtr<const ComputedStyle> style_; 48 RefPtr<const ComputedStyle> style_;
49 Member<NGInlineNode> first_child_; 49 Member<NGInlineNode> first_child_;
50 Member<NGConstraintSpace> constraint_space_; 50 Member<NGConstraintSpace> constraint_space_;
51 Member<NGBreakToken> break_token_; 51 Member<NGBreakToken> break_token_;
52 }; 52 };
53 53
54 } // namespace blink 54 } // namespace blink
55 55
56 #endif // NGInlineLayoutAlgorithm_h 56 #endif // NGInlineLayoutAlgorithm_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698