OLD | NEW |
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 NGPhysicalTextFragment_h | 5 #ifndef NGPhysicalTextFragment_h |
6 #define NGPhysicalTextFragment_h | 6 #define NGPhysicalTextFragment_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/layout/ng/ng_block_node.h" | 9 #include "core/layout/ng/ng_block_node.h" |
| 10 #include "core/layout/ng/ng_floating_object.h" |
10 #include "core/layout/ng/ng_inline_node.h" | 11 #include "core/layout/ng/ng_inline_node.h" |
11 #include "core/layout/ng/ng_floating_object.h" | |
12 #include "core/layout/ng/ng_physical_fragment.h" | 12 #include "core/layout/ng/ng_physical_fragment.h" |
13 #include "platform/heap/Handle.h" | 13 #include "platform/heap/Handle.h" |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 | 16 |
17 class CORE_EXPORT NGPhysicalTextFragment final : public NGPhysicalFragment { | 17 class CORE_EXPORT NGPhysicalTextFragment final : public NGPhysicalFragment { |
18 public: | 18 public: |
19 NGPhysicalTextFragment( | 19 NGPhysicalTextFragment( |
20 LayoutObject* layout_object, | 20 LayoutObject* layout_object, |
21 const NGInlineNode* node, | 21 const NGInlineNode* node, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 DEFINE_TYPE_CASTS(NGPhysicalTextFragment, | 61 DEFINE_TYPE_CASTS(NGPhysicalTextFragment, |
62 NGPhysicalFragment, | 62 NGPhysicalFragment, |
63 text, | 63 text, |
64 text->Type() == NGPhysicalFragment::kFragmentText, | 64 text->Type() == NGPhysicalFragment::kFragmentText, |
65 text.Type() == NGPhysicalFragment::kFragmentText); | 65 text.Type() == NGPhysicalFragment::kFragmentText); |
66 | 66 |
67 } // namespace blink | 67 } // namespace blink |
68 | 68 |
69 #endif // NGPhysicalTextFragment_h | 69 #endif // NGPhysicalTextFragment_h |
OLD | NEW |