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

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_text_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"
12 10
13 namespace blink { 11 namespace blink {
14 12
15 class ComputedStyle; 13 class NGBreakToken;
16 class NGConstraintSpace; 14 class NGConstraintSpace;
17 class NGBreakToken; 15 class NGInlineNode;
18 16
19 // A class for text layout. This takes a NGInlineNode which consists only 17 // A class for text layout. This takes a NGInlineNode which consists only
20 // non-atomic inlines and produces NGTextFragments. 18 // non-atomic inlines and produces NGTextFragments.
21 // 19 //
22 // Unlike other layout algorithms this takes a NGInlineNode as its input instead 20 // Unlike other layout algorithms this takes a NGInlineNode as its input instead
23 // of the ComputedStyle as it operates over multiple inlines with different 21 // of the ComputedStyle as it operates over multiple inlines with different
24 // style. 22 // style.
25 class CORE_EXPORT NGTextLayoutAlgorithm : public NGLayoutAlgorithm { 23 class CORE_EXPORT NGTextLayoutAlgorithm : public NGLayoutAlgorithm {
26 public: 24 public:
27 // Default constructor. 25 // Default constructor.
(...skipping 12 matching lines...) Expand all
40 38
41 private: 39 private:
42 Member<NGInlineNode> inline_box_; 40 Member<NGInlineNode> inline_box_;
43 Member<NGConstraintSpace> constraint_space_; 41 Member<NGConstraintSpace> constraint_space_;
44 Member<NGBreakToken> break_token_; 42 Member<NGBreakToken> break_token_;
45 }; 43 };
46 44
47 } // namespace blink 45 } // namespace blink
48 46
49 #endif // NGInlineLayoutAlgorithm_h 47 #endif // NGInlineLayoutAlgorithm_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698