| 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 NGTextFragment_h | 5 #ifndef NGTextFragment_h |
| 6 #define NGTextFragment_h | 6 #define NGTextFragment_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/layout/ng/ng_fragment_base.h" | 9 #include "core/layout/ng/ng_fragment_base.h" |
| 10 #include "core/layout/ng/ng_physical_text_fragment.h" | 10 #include "core/layout/ng/ng_physical_text_fragment.h" |
| 11 #include "core/style/ComputedStyle.h" | |
| 12 #include "platform/LayoutUnit.h" | |
| 13 #include "platform/heap/Handle.h" | |
| 14 #include "wtf/text/WTFString.h" | |
| 15 | 11 |
| 16 namespace blink { | 12 namespace blink { |
| 17 | 13 |
| 18 class CORE_EXPORT NGTextFragment final : public NGFragmentBase { | 14 class CORE_EXPORT NGTextFragment final : public NGFragmentBase { |
| 19 public: | 15 public: |
| 20 NGTextFragment(NGWritingMode writing_mode, | 16 NGTextFragment(NGWritingMode writing_mode, |
| 21 TextDirection direction, | 17 TextDirection direction, |
| 22 NGPhysicalTextFragment* physical_text_fragment) | 18 NGPhysicalTextFragment* physical_text_fragment) |
| 23 : NGFragmentBase(writing_mode, direction, physical_text_fragment) {} | 19 : NGFragmentBase(writing_mode, direction, physical_text_fragment) {} |
| 24 }; | 20 }; |
| 25 | 21 |
| 26 } // namespace blink | 22 } // namespace blink |
| 27 | 23 |
| 28 #endif // NGTextFragment_h | 24 #endif // NGTextFragment_h |
| OLD | NEW |