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

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_inline_node.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 NGInlineNode_h 5 #ifndef NGInlineNode_h
6 #define NGInlineNode_h 6 #define NGInlineNode_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/layout/ng/ng_layout_input_node.h" 9 #include "core/layout/ng/ng_layout_input_node.h"
10 #include "platform/fonts/FontFallbackPriority.h" 10 #include "platform/fonts/FontFallbackPriority.h"
11 #include "platform/fonts/shaping/ShapeResult.h" 11 #include "platform/fonts/shaping/ShapeResult.h"
12 #include "platform/heap/Handle.h" 12 #include "platform/heap/Handle.h"
13 #include "platform/text/TextDirection.h" 13 #include "platform/text/TextDirection.h"
14 #include "wtf/text/WTFString.h" 14 #include "wtf/text/WTFString.h"
15 #include <unicode/ubidi.h> 15 #include <unicode/ubidi.h>
16 #include <unicode/uscript.h> 16 #include <unicode/uscript.h>
17 17
18 namespace blink { 18 namespace blink {
19 19
20 class ComputedStyle; 20 class ComputedStyle;
21 class LayoutBox;
22 class LayoutObject; 21 class LayoutObject;
23 class NGConstraintSpace; 22 class NGConstraintSpace;
24 class NGFragmentBase; 23 class NGFragmentBase;
25 class NGLayoutAlgorithm; 24 class NGLayoutAlgorithm;
26 class NGLayoutInlineItem; 25 class NGLayoutInlineItem;
27 class NGLayoutInlineItemsBuilder; 26 class NGLayoutInlineItemsBuilder;
28 class NGPhysicalFragment;
29 struct MinAndMaxContentSizes;
30 27
31 // Represents an inline node to be laid out. 28 // Represents an inline node to be laid out.
32 class CORE_EXPORT NGInlineNode : public NGLayoutInputNode { 29 class CORE_EXPORT NGInlineNode : public NGLayoutInputNode {
33 public: 30 public:
34 NGInlineNode(LayoutObject* start_inline, ComputedStyle* block_style); 31 NGInlineNode(LayoutObject* start_inline, ComputedStyle* block_style);
35 ~NGInlineNode() override; 32 ~NGInlineNode() override;
36 33
37 bool Layout(const NGConstraintSpace*, NGFragmentBase**) override; 34 bool Layout(const NGConstraintSpace*, NGFragmentBase**) override;
38 NGInlineNode* NextSibling() override; 35 NGInlineNode* NextSibling() override;
39 36
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 119
123 DEFINE_TYPE_CASTS(NGInlineNode, 120 DEFINE_TYPE_CASTS(NGInlineNode,
124 NGLayoutInputNode, 121 NGLayoutInputNode,
125 node, 122 node,
126 node->Type() == NGLayoutInputNode::kLegacyInline, 123 node->Type() == NGLayoutInputNode::kLegacyInline,
127 node.Type() == NGLayoutInputNode::kLegacyInline); 124 node.Type() == NGLayoutInputNode::kLegacyInline);
128 125
129 } // namespace blink 126 } // namespace blink
130 127
131 #endif // NGInlineNode_h 128 #endif // NGInlineNode_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698